Skip to main content

Docking grid box generator for Autodock4 and Vina

Project description

Docking Grid Box Generator (DGBG)

Python module to automatically generate a grid box around a ligand present in a pdb file.

Preview

screenshot

Table of contents

Installation

(Back to top)

To use this project, pip install the module on your device using the command below:

pip install dgbg

Usage

(Back to top)

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

Examples

(Back to top)

  1. General example use case.

  2. Adjusting grid box after generation.

  3. Integration with DeepChem and its docking functionality.

  4. Integration with AutoDock Vina.

  5. Multiple identical ligands on the same protein chain.

Development

(Back to top)

  1. Git Clone Repository git clone git@github.com:ujamshed/dgbg.git

  2. Create Virtual Environment python3 -m venv .venv

  3. Activate Virtual Environment source .venv/bin/activate

  4. Install Project Dependencies pip install -r requirements.txt

Acknowledgements

This software uses the following open source packages:

License

(Back to top)

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dgbg-0.0.2.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file dgbg-0.0.2.tar.gz.

File metadata

  • Download URL: dgbg-0.0.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for dgbg-0.0.2.tar.gz
Algorithm Hash digest
SHA256 07da0f045bc1518ff306f6ef12096405563bf3585390d0dcaa249a8da890889c
MD5 f03c146ce1f03c11fafcd2b3b6279a37
BLAKE2b-256 d9480f623c5bfa2dc6a7c3978605377fdc0ca6a6b360e61437ccffeecda88ca5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page