This is a simple mutation detection project for CSS 383, Bioinformatics. This can simulate the radiation dosage, and provide more information on how to treat the patient. This is a simple web application that uses Flask, and a few other libraries to run. Here is documentation on setup and usage.
It should take a few milliseconds at first to fetch all the images, but after that, it should cache the website and run normally depending on your internet connection.
-
Open the base directory to this project in a *NIX-based OS
-
Load in a new python envrionment (Optional but best practice to mitigate conflicting deps)
python3 -m venv venv
-
Source the new virtual environment (Optional but best practice to mitigate conflicting deps)
source venv/bin/activate
-
Install requirements using
pip3 install -r requirements.txt
-
To run the app, use
flask run
orpython3 run.py
-
Make sure port 5000 is open
-
Open the browser and navigate to the link provided in the terminal, should be http://127.0.0.1:5000/
-
Wait for the application to load (it should take a few seconds, but after, it will cache all the images and their features to cookies, and it will run normally)
-
Open the base directory to this project in a *NIX-based OS
-
Make sure the file has executable permissions
chmod +x setup.sh
-
Make sure port 5000 is open
-
Run the script
./setup.sh
orbash setup.sh
-
Open the browser and navigate to the link provided in the terminal, should be http://127.0.0.1:5000/
-
Wait for the application to load (it should take a few seconds, but after, it will cache all the images and their features to cookies, and it will run normally)