https://github.com/bhklab/predictio-webapp
An web application that allows users to explore gene signatures in immunotherapy studies of ICB-treated patients, and to obtain gene signature predictions using molecular data of their own studies of ICB-treated patients.
https://github.com/bhklab/predictio-webapp
Last synced: about 2 months ago
JSON representation
An web application that allows users to explore gene signatures in immunotherapy studies of ICB-treated patients, and to obtain gene signature predictions using molecular data of their own studies of ICB-treated patients.
- Host: GitHub
- URL: https://github.com/bhklab/predictio-webapp
- Owner: bhklab
- License: apache-2.0
- Created: 2020-11-25T16:00:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-28T16:43:38.000Z (about 2 years ago)
- Last Synced: 2025-03-27T14:04:48.721Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 17.9 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PredictIO Webapp
PredictIO is an web application that allows users to explore gene signatures in 19 immunotherapy studies of ICB-treated patients, and to obtain gene signature predictions using molecular data of their own studies of ICB-treated patients.
The latest version can be found at
## Setup Instructions
- Clone the repo
```bash
git clone https://github.com/bhklab/PredictIO-webapp.git
cd IOdb
```- In the project directory, install all the server dependencies using `pip install -r requirements.txt
- In the project directory, install all client dependencies `npm i`
- Install Redis in your local environment (`brew install redis` for Homebrew installation)
- Start Redis server by running `redis-server`
- Start Flask backend by running `flask run`
- Navigate to client directory (`cd client`) and start the client by running `npm start` (development mode)
- Open [http://localhost:3000](http://localhost:3000) to view it in the browser.## Dependencies
- React
- React-Route
- Body-parser## Dev Dependenices
- Eslint
## Database Generation
- Download raw_data directory from [https://codeocean.com/capsule/6711882/tree](https://codeocean.com/capsule/6711882/tree) capsule
- Run data generation script which would create CSV files for the database tables```bash
python scripts/generate_seed_files.py
```- To create tables and seed the database, run the following command:
```bash
flask seed-database
```
This command will run db/seed_database.py with app context. Modify the file if necessary.## Build Instructions
### `cd client && npm build`
Builds the app for production to the `build` folder.
It correctly bundles React in production mode and optimizes the build for the best performance.## Server
- To be determined.