Skip to content

Your one-stop solution for protein-ligand docking. This pipeline simplifies molecular docking, helping researchers study protein-ligand interactions efficiently. It offers clear instructions and customizable options for easy virtual screening. Simplify drug discovery, explore confidently!

License

gautammalik-git/AutoDockPipeline

Repository files navigation

AutoDockPipeline

Your one-stop solution for protein-ligand docking. This pipeline simplifies molecular docking of library of ligands against a protien, helping researchers study protein-ligand interactions efficiently. It offers clear instructions and customizable options for easy virtual screening.

Simplify drug discovery, explore confidently!


About AutoDock

This pipeline is built upon AutoDock4
AutoDock consists of two main programs:

  • AutoGrid: Pre-calculates the grids describing the target protein for use in the docking process.
  • AutoDock: Facilitates the docking of the ligand to a grid representation of the target protein.

Installing AutoDock4 on CPU

To install AutoDock4, visit AutoDock website.

  1. Download the AutoDock4 sofware compatible with your system.
  2. Follow the Readme file to install the software.
  3. Make sure to download the MGLtools tar file compatible with your system, which is essential for running both AutoDock GUI (ADT) and AutoDock4. It is available on their website.

For Mac users:

ADT is currently unavailable for Macs equipped with Apple Silicon chips. Consequently, this pipeline does not support AutoGrid calculations. However, AutoDock remains compatible with Macs featuring Apple Silicon chips. By installing AutoDock GPU, users can run AutoDock on macs and also enhance its performance speed.

Installing AutoDock-GPU

To install AutoGrid, follow the same steps as described above. For faster docking on systems with GPUs, install AutoDock-GPU.

  1. To compile AutoDock-GPU, simply navigate to this GitHub page and follow the provided instructions.
  2. I've created a dedicated repository for AutoDock-GPU, covering the setup process and the entire pipeline. If you're using AutoDock-GPU, you can find more information here.

Organizing Files and Setting up Repository

To ensure clarity, create a new directory and move the AutoDock and MGLTools tar files there. Follow these steps:

Navigate to the directory containing these tar files.

mkdir AutoDock
cp <autodock-tar.gz> <mgltools-tar.gz> ./AutoDock
cd AutoDock
tar xfz <autodock-tar.gz>
tar xfz <mgltools-tar.gz>

Now, create another directory named 'Repository'.

mkdir Repository && cp ./<autodock-directory>/autogrid ./Repository && cp ./<autodock-directory>/autodock ./Repository && cp -r <mgltools-directory> ./Repository

Copy these Python files into the Repository as well:

cp ./<mgltools-directory>/MGLToolsPckgs/AutoDockTools/Utilities24/prepare_*4.py ./Repository

Replace <autodock-tar.gz> and <mgltools-tar.gz> with the names of the AutoDock and MGLTools tar files you downloaded from the website. Similarly, replace <autodock-directory> and <mgltools-directory> with the directories you extracted from the respective tar files.

'Repository' serves as the primary directory. It must be present in your working directory whenever docking is conducted.

Pre-Docking Steps

Ensure Python2 and Python3 are installed on your system.

  1. Create a directory containing all your ligand PDB files and your protein PDB file.
  2. Add 'Repository' in your current working directory (cwd).
  3. Copy all the Python scripts provided in this repository to your cwd.
  4. Extract the binidng pocket out from the protein PDB file-
python3 targeted_site.py <protein_name> <ligand_name_as_mentioned_in_pdb_file> <CHAIN_ID_for_ligand>

For example:
python3 targeted_site.py 7k15.pdb VRJ A

This will give 7k15_site.pdb as output.

  1. Get the Centroid of the extracted binding site:
python3 Centroid.py <bind_site>

For example:
python3 Centroid.py 7k15site.pdb

This will print out the <x,y,z> coordinated.

Docking

  1. Export path:
export PATH=<PATH_TO_CWD>/Repository/<mgltools-directory>/bin:$PATH

Replace <PATH_TO_CWD> with the path of your working directory. You can get it using command 'pwd' in your terminal.

  1. Perform docking:

Make sure you are in the working directory with the ligand PDB files, protein PDB file, 'Repository' and all the python scripts attached with this github repository.

python3 centroid_lig1.py <prot_name> <x,y,z>

This initiates the docking process for the ligands located in the current working directory (cwd) with the specified protein.

If you want to run single protein-ligand docking:

python2 dock_centroid.py <prot_name> <ligand_name> <x,y,z>

For example:
python2 dock_centroid.py 7k15.pdb VRJ.pdb 1.9392312138728325,-8.92228901734104,18.28384393063584

This will generate a new directory named '7k15a_VRJ'. Within this directory, you'll find all the input and output files produced during the docking."

Ligand Filteration

Binding Energy Filteration

1.Now, we aim to obtain the binding energy values of the docked ligands. Typically, we seek to compare these values against a gold standard. This code will provide the binding energy values within the specified range. For instance, selecting '-7' as the argument will retrieve the names of the complexes with binding energies ranging from -7.0 to -7.99.

python3 binding_energy_write.py <binding_energy_range>

You'll receive a file named 'Energy.txt' containing all the binding energies within the specified range.

If you want to specify digits after decimals, you can use the code

python3 binding_energy_decimal_write.py <binding_energy_range> <digit_after_decimal>
  1. We're now prepared to transfer all ligands along with their corresponding docking directories into a new directory to facilitate further analysis. To accomplish this, follow these steps:
python3 full_dir.py

This will relocate the directories listed in the 'Energy.txt' file. Hence, you can transfer the directories corresponding to the specified binding energies using the 'binding_energy_write.py' script followed by 'full_dir.py'.

Conclusion

I suggest using AutoDock-GPU for its faster performance over the CPU version. You can check out my other repository for the AutoDock GPU pipeline, which includes more filtration options as well. Thank you for exploring my repository! I hope you find it valuable for your research or projects. If you have any questions, feedback, or suggestions for improvement, please don't hesitate to reach out or open an issue. I welcome contributions from the community to enhance and expand this project. Happy docking!

About

Your one-stop solution for protein-ligand docking. This pipeline simplifies molecular docking, helping researchers study protein-ligand interactions efficiently. It offers clear instructions and customizable options for easy virtual screening. Simplify drug discovery, explore confidently!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages