Python module to automatically generate a grid box around a ligand present in a pdb file.
To use this project, pip install the module on your device using the command below:
pip install dgbg
from dgbg import dgbg
box = dgbg.binding_box('ex_file_path.pdb')
ligand_data = box.get_ligand_data('ligand_ID', 'chain_ID')
centroid, box_size = box.create_box(spacing=0.375, padding=np.array([0, 0, 0]))
# Visualize using the following commands in Jupyter Notebook.
result = box.show_result(centroid, box_size)
result
-
General example use case.
-
Adjusting grid box after generation.
-
Integration with DeepChem and its docking functionality.
-
Integration with AutoDock Vina.
-
Multiple identical ligands on the same protein chain.
-
Git Clone Repository
git clone [email protected]:ujamshed/dgbg.git
-
Create Virtual Environment
python3 -m venv .venv
-
Activate Virtual Environment
source .venv/bin/activate
-
Install Project Dependencies
pip install -r requirements.txt
This software uses the following open source packages: