CompassDock 🧭
Navigating Future Drugs with CompassDock 🧭
The CompassDock framework is a comprehensive and accurate assessment approach for deep learning-based molecular docking. It evaluates key factors such as the physical and chemical properties, bioactivity favorability of ligands, strain energy, number of protein-ligand steric clashes, binding affinity, and protein-ligand interaction types.
Quickstart for CompassDock
conda create --name CompassDock python=3.11 -c conda-forge
conda install -c ostrokach-forge reduce
conda install -c conda-forge openbabel
conda install -c conda-forge datamol
pip install compassdock
pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.3.0+cu121.html
pip install "fair-esm @ git+https://github.com/asarigun/esm.git"
pip install "dllogger @ git+https://github.com/NVIDIA/dllogger.git"
pip install "openfold @ git+https://github.com/asarigun/openfold.git"
from compassdock import CompassDock
cd = CompassDock()
cd.recursive_compassdocking(
protein_path = 'example/proteins/1a46_protein_processed.pdb',
protein_sequence = None,
ligand_description = 'CCCCC(NC(=O)CCC(=O)O)P(=O)(O)OC1=CC=CC=C1',
complex_name = 'complex_1',
molecule_name = 'molecule_1',
out_dir = 'results',
compass_all = False)
results = cd.results()
print(results)
Protein Sequance - Ligand Docking
from compassdock import CompassDock
# Initialize CompassDock
cd = CompassDock()
# Perform docking using the provided protein and ligand information
cd.recursive_compassdocking(
protein_path = None,
protein_sequence = 'GIQSYCTPPYSVLQDPPQPVV',
ligand_description = 'CCCCC(NC(=O)CCC(=O)O)P(=O)(O)OC1=CC=CC=C1',
complex_name = 'complex_1',
molecule_name = 'molecule_1',
out_dir = 'results',
compass_all = False,
max_redocking_step = 1)
# Retrieve and print the docking results
results = cd.results()
print(results)
More examples can be found in !
CompassDock 🧭 in Fine-Tuning Mode
For instructions on how to use Fine-Tuning Mode, please refer to the previous branch
Citation
Please cite the following paper if you use this code/repository in your research:
@article{sarigun2024compass,
title={CompassDock: Comprehensive Accurate Assessment Approach for Deep Learning-Based Molecular Docking in Inference and Fine-Tuning},
author={Sarigun, Ahmet and Franke, Vedran and Uyar, Bora and Akalin, Altuna},
journal={arXiv preprint arXiv:2406.06841},
year={2024}
}
Acknowledgements
We extend our deepest gratitude to the following teams for open-sourcing their valuable Repos:
- DiffDock Team (version 2023 & 2024),
- AA-score Team,
- PoseCheck Team
Metadata
Release files for compassdock 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| compassdock-0.1.4.tar.gz | 212.0 kB | Without provenance | Details for compassdock-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| compassdock-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for compassdock-0.1.4-py3-none-any.whl |
Total release size: 467.5 kB
Release files / compassdock-0.1.4.tar.gz
| Download URL | compassdock-0.1.4.tar.gz |
|---|---|
| Size | 212.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b49ba6492750ee8781744803eba6a35488c786792d16e98f74302e4a10b3a68d
|
|
BLAKE2b-256 checksum How to use checksums |
525516aabe3df6b37832e9cd40b327297e2e41cf084c62b048ffa3cb8c14949b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.10
|
Release files / compassdock-0.1.4-py3-none-any.whl
| Download URL | compassdock-0.1.4-py3-none-any.whl |
|---|---|
| Size | 255.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd6bc132cc26dd3a33cabf3dee8981a45cf79d46081953116e1342077bb4f8d6
|
|
BLAKE2b-256 checksum How to use checksums |
88a51b00799434e27b83f4cf9e60f5f1f4c94417438fce0f0478600ed7955b45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.10
|
Security for compassdock 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.