Brian Petersen afde99ab90 Containerizing work
Still needs some work but the basic structure is there and working.
Will clean up and create a test/prod yml.
Also need to create a pass for redis

Needs basic testing to make sure all parts are working as well :)
2021-11-18 11:51:14 -05:00
2021-07-07 10:41:44 -05:00
2021-11-18 11:51:14 -05:00
2021-08-16 20:52:51 -05:00
2021-10-12 11:59:15 -04:00
2021-11-18 11:51:14 -05:00
2021-11-18 11:51:14 -05:00
2021-08-22 16:10:27 +02:00
2020-11-16 18:01:44 -05:00
2021-08-16 20:52:51 -05:00
2021-11-18 11:51:14 -05:00
2021-11-18 11:51:14 -05:00
2020-11-18 16:16:08 -05:00
2021-11-18 11:51:14 -05:00
2021-11-18 11:51:14 -05:00

D-SCRIPT

D-SCRIPT Architecture

D-SCRIPT PyPI Documentation Status License Code style: black

D-SCRIPT is a deep learning method for predicting a physical interaction between two proteins given just their sequences. It generalizes well to new species and is robust to limitations in training data size. Its design reflects the intuition that for two proteins to physically interact, a subset of amino acids from each protein should be in con-tact with the other. The intermediate stages of D-SCRIPT directly implement this intuition, with the penultimate stage in D-SCRIPT being a rough estimate of the inter-protein contact map of the protein dimer. This structurally-motivated design enhances the interpretability of the results and, since structure is more conserved evolutionarily than sequence, improves generalizability across species.

Running Web Server

  • Navigate to D-SCRIPT/server and create the current dscript_web conda environment with
$ conda env create -f web_environment.yml
  • Activate the created conda environment with
$ conda activate dscript_web
  • Build the front end:
$ cd frontend
$ npm install
$ npm run build
$ cd ..
  • Run redis-server in a separate tab (note: should still run from the server directory and in the dscript_web environment).

  • Run celery -A server worker -l info in a separate tab (same note as above)

  • Launch the server with

$ python manage.py runserver

For development, the server can be access at http://localhost:8000/, and the admin panel at http://localhost:8000/admin.

########

Docker

Local Setup

  1. Run python manage.py runserver 0.0.0.0:8000 gunicorn -w 1 -b 0.0.0.0:80 server.wsgi
Description
No description provided
Readme MIT 161 MiB
Languages
Python 69.5%
Jupyter Notebook 29.7%
Shell 0.8%