Coder Social home page Coder Social logo

p9-project's Introduction

P9 Project

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.

Prerequisites

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)

Installation

To install p9, follow these steps:

Windows:

  1. Open cmd or PowerShell and run command:
git clone https://github.com/icedandreas/P9-Project.git
  1. Change to project directory:
cd p9

Installing the dependencies

  1. 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
  1. Activated the conda enviroment that you just created, if it's not done automatically after creation:
conda activate env_name
  1. 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

Run the migrations

  1. To position the working directory in the backend/ folder (assuming you are in the same terminal instance from the start) run:
cd backend
  1. Run the migrations
python manage.py migrate

Using p9

  1. 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
  1. To build and run the frontend (client) application open another cmd or PowerShell instance and position the working directory in the frontend/ folder under the root folder of the project and run:
npm run dev

Contributing to p9

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.

Contributors

License

This project is not meant to be used or developed by anybody other than the contributors listed here.

p9-project's People

Contributors

furiousdom avatar dependabot[bot] avatar icedandreas avatar

Watchers

James Cloos avatar

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.