Coder Social home page Coder Social logo

bhklab / predictio-webapp Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 18.35 MB

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.

License: Apache License 2.0

HTML 0.32% JavaScript 48.89% R 29.03% Python 19.45% Shell 1.97% CSS 0.35%

predictio-webapp's Introduction

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 https://predictio.ca/

Setup Instructions

  • Clone the repo
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 to view it in the browser.

Dependencies

  • React
  • React-Route
  • Body-parser

Dev Dependenices

  • Eslint

Database Generation

python scripts/generate_seed_files.py
  • To create tables and seed the database, run the following command:
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.

predictio-webapp's People

Contributors

deventorum avatar mnakano avatar parinaznasr avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

parinaznasr

predictio-webapp's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.