P9 project is a system for drug discovery. The intention is to have the user give a specific protein as input and get candidate drugs in the form of small molecules. The candidates are produced by our algorithm which capitalizes on the idea that similar drugs interact with similar molecules and vice versa.
Make sure to have a folder named data
in the root of the project with the next file
- full_database.xml
The file needs to be obtained through DrugBank, otherwise you won't be able to populate the database.
Before you begin, ensure you have met the following requirements:
- You have a Windows 10 machine. It may work on both Linux and macOS but they are not supported.
- You have installed Git for Windows
- You have installed Anaconda 3, and have it in the path
- You have installed Node.js (version >=12.14.1)
To install p9, follow these steps:
Windows:
- Open
cmd
orPowerShell
and run command:
git clone https://github.com/icedandreas/P9-Project.git
- Change to project directory:
cd p9
- Create an Anaconda environment with python version 3.7 by running (replace
env_name
with the name that you want):
conda create -n env_name python=3.7
- Activated the conda enviroment that you just created, if it's not done automatically after creation:
conda activate env_name
- Install dependencies (make sure the conda environment created in step 1 is activated)
pip install tensorflow==2.3.*
pip install --pre deepchem
conda install -y -c conda-forge rdkit
pip install django django-rest-framework django-cors-headers lxml xmltodict psycopg2
- To position the working directory in the
backend/
folder (assuming you are in the same terminal instance from the start) run:
cd backend
- Run the migrations
python manage.py migrate
- To build and run the backend (server) application (assuming you are in the same terminal instance from the start) you can just run:
python manage.py runserver
- To build and run the frontend (client) application open another
cmd
orPowerShell
instance and position the working directory in thefrontend/
folder under the root folder of the project and run:
npm run dev
Pull requests are not welcome as this is a university project and as such can't be developed by anybody other than the contributors listed here.
- @Andreas Hald
- @Dominik Tabak
- Alexandr Dyachenko
- Christian Galasz Nielsen
This project is not meant to be used or developed by anybody other than the contributors listed here.