Skip to main content

DSDP: Deep Site and Docking Pose

DSDP is a blind docking strategy accelerated by GPUs, developed by Gao Group. For the site prediction part, several modifications are introduced to PUResNet program. The pose sampling part is similar as AutoDock Vina combined with a number of modifications.

This package is a python wrapper for DSDP.

Installation

Please set up the python environment by Anaconda.

Create a new environment by DSDP.yaml :

conda env create -f DSDP.yml

The DSDP.yaml looks like:

name: DSDP

channels:
  - pytorch
  - nvidia
  - defaults
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - conda-forge

dependencies:
  - python=3.9.0
  - pip
  - pytorch==2.4.0
  - pytorch-cuda==12.1
  - openbabel=3.1.1
  - pip:
      - dsdp
      - tqdm==4.66.2
      - scikit-image==0.24.0

Activate the environment

conda activate DSDP

Now, DSDP is availabel. To check whether DSDP is successfully installed, you can run the following code:

    DSDP test

Dataset

After DSDP test, the files in test_data are the example inputs.

For each complex you want to predict, you need a directory containing the ligand and protein file. For example:

DSDP_dataset
└───name1
    │   name1_protein.pdbqt
    │   name1_ligand.pdbqt
└───name2
    │   name2_protein.pdbqt
    │   name2_ligand.pdbqt
...

Input files of DSDP are pdbqt format, which can be generated by AutoDock Tools or OpenBabel.

Run DSDP

DSDP is an integrated docking program developed for blind docking, which can also be used for redocking task. We support pdbqt input format in DSDP. You can generate it from pdb file by AutoDock Tools.

Blind docking

For blind docking task, run:

DSDP blind -i ./test_data -o ./blind_results --exhaustiveness 384 --search_depth 40 --top_n 1
usage: DSDP blind [-h] -i DATASET_PATH -o O [--site_path SITE_PATH] [--exhaustiveness EXHAUSTIVENESS] [--search_depth SEARCH_DEPTH]
                  [--top_n TOP_N]

optional arguments:
  -h, --help            show this help message and exit
  -i DATASET_PATH, --dataset_path DATASET_PATH
                        Path to the dataset file, please put the pdbqt documents of protein and ligand to one folder
  -o O, --output_path O
                        Output path of the results
  --site_path SITE_PATH
                        Path to the predicted sites
  --exhaustiveness EXHAUSTIVENESS
                        Number of sampling threads
  --search_depth SEARCH_DEPTH
                        Number of sampling steps
  --top_n TOP_N         Top N results are exported

Redocking

For redocking task, run:

DSDP redock --ligand ./test_data/1a2b/1a2b_ligand.pdbqt --protein ./test_data/1a2b/1a2b_protein.pdbqt --box_min 2.241 20.008 21.314 --box_max 24.744 35.470 38.495 --exhaustiveness 384 --search_depth 40 --top_n 1  --out ./1a2b_redock.pdbqt --log ./1a2b_redock.log

Note: the box information (minima and maxima along x y z axis) of redocking needs to be provided by users. The box information of this example is only suitable for 1a2b protein.

usage: DSDP redock [-h] --ligand LIGAND --protein PROTEIN --box_min x_min y_min z_min --box_max x_max y_max z_max
                   [--exhaustiveness EXHAUSTIVENESS] [--search_depth SEARCH_DEPTH] [--top_n TOP_N] [--out OUT] [--log LOG]

optional arguments:
  -h, --help            show this help message and exit
  --ligand LIGAND       File name of ligand
  --protein PROTEIN     File name of protein
  --box_min x_min y_min z_min
                        x y z minima of box
  --box_max x_max y_max z_max
                        x y z maxima of box
  --exhaustiveness EXHAUSTIVENESS
                        Number of sampling threads, default 384
  --search_depth SEARCH_DEPTH
                        Number of sampling steps, default 40
  --top_n TOP_N         Top N results are exported, default 10
  --out OUT             Output file name of redocking, default 'OUT.pdbqt'
  --log LOG             Log file name of redocking, default 'OUT.log'

Metadata

Release files for dsdp 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dsdp 1.0
File Size Uploaded
dsdp-1.0.tar.gz 51.9 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for dsdp 1.0
File Interpreter ABI Platform
dsdp-1.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
dsdp-1.0-cp39-cp39-manylinux_2_34_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.34+ x86-64 Details

Total release size: 156.8 MB

Release files / dsdp-1.0.tar.gz

Download URL dsdp-1.0.tar.gz
Size 51.9 MB
Tags Source
SHA-256 checksum
How to use checksums
f39de42362e3aa38483db35b470a3ba75d7de21522d19b7b6263a465233ed7a6
BLAKE2b-256 checksum
How to use checksums
68563bb3bbc8f6623b7537388cfbac6631535ef0b59d422722362bd2e7926f65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.0

Release files / dsdp-1.0-cp39-cp39-win_amd64.whl

Download URL dsdp-1.0-cp39-cp39-win_amd64.whl
Size 52.2 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
1874f55ab4c27cd095becddbad5a01874bcb60e7093736a7b13b91af8c568957
BLAKE2b-256 checksum
How to use checksums
9e306c6f30687234a0d67d82a595d1ee0eb8f3bb91146166de0ddb5b2b03364b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.0

Release files / dsdp-1.0-cp39-cp39-manylinux_2_34_x86_64.whl

Download URL dsdp-1.0-cp39-cp39-manylinux_2_34_x86_64.whl
Size 52.8 MB
Tags CPython 3.9 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
1bff4027f005bc65687fed9c267491f36dc68bb713b6b3d4fc800b62428b8110
BLAKE2b-256 checksum
How to use checksums
08eba721267af2eabcadf2f8d2712170bf52c66efe469e99b08bd91cff9f063a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.0

Release history Release notifications | RSS feed

This release

1.0 This release

3 release files

0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page