Code for our paper [Deep Learning Model for Flexible and Efficient Protein-Ligand Docking]()
git clone https://github.com/MatthewMasters/EDM-Dock
cd EDM-Dock
conda env create -f environment.yaml -n edm-dock
conda activate edm-dock
python setup.py install
dataset_path/
sys1/
protein.pdb
ligand.sdf
box.csv
sys2/
protein.pdb
ligand.sdf
box.csv
...
The box.csv
file defines the binding site box and should have six comma-seperated values:
center_x, center_y, center_z, width_x, width_y, width_z
python scripts/prepare.py --dataset_path [dataset_path]
Since DGSOL does not have an MIT license, it's code is included in a seperate repository (https://github.com/MatthewMasters/DGSOL.git).
Once you have downloaded DGSOL independently, update the path at the top of edmdock/utils/dock.py
to reflect the path on your system.
Remember to rebuild the package by issuing the command python setup.py install
.
By default this will run the docking including the minimization process.
You can turn off minimization for much faster docking, however it may generate unrealistic molecular structures by editing the last line in runs/paper_baseline/config.yml
.
python scripts/dock.py --run_path runs/paper_baseline --dataset_path [dataset_path]
The final docked poses are saved in the folder runs/paper_baseline/results
as [ID]_docked.pdb
.
python scripts/prepare.py --dataset_path [dataset_path]
An example can be found at runs/paper_baseline/config.yml
python scripts/train.py --config_path [config_path]
Under Review