A user-friendly web application for your genetic risk score of Crohn's Disease!
Visit this repository for the CrohnsPred model for Genetic Risk prediction of Crohn's Disease.
The project is written in python
. The following third party packages are required to ensure full project functionality:
- torch >= 2.2
- pandas
- numpy
- flask
- npm
- vue.js 3
- vue-cli
- axios
- Chart.js
- d3.js
- bootstrap
- babel
- gsap
All necessary imports, libraries and modules are specified at frontend/package.json and frontend/package-lock.json file.
Download all the files in this repository into a local directory 'WebApp' and keep the same directory structure.
Open two terminals at the 'WebApp' directory.
On one run cd backend.
Then run python app.py or python3 app.py based on your python version. This activates the backend!
On one other terminal run cd frontend.
Then run npm run serve or npm run dev. This activates the frontend!
- Open a web page at http://localhost:8080/, and test our website!
To enable prediction, the input .vcf data must include:
- Chromosome (column 'chrom'): an Integer
- Position (column 'pos'): an Integer
- SNP name (column 'rsid' or 'ID'): as a string 'rsXXYY...'
- Reference Allele (column 'ref'): a character (A/C/T/G) or string
- ALternative Allele (column 'alt'): a character (A/C/T/G) or string
The model output will contain a value in the range [0,1], wether a higher risk has not been detected or otherwise.
-
Belfiore Asia (ec21414)
CID:210471618
BSc Computer Science and Mathematics, Queen Mary University of London