Python interface to AutoDock Vina
Project description
AutoDock Vina - Python API
Requirements
You need, at a minimum (requirements):
- Python (>=3.5)
- Numpy
- SWIG
- Boost-cpp
- Sphinx (documentation)
- Sphinx_rtd_theme (documentation)
Installation (from source)
I highly recommand you to install the Anaconda distribution (https://www.continuum.io/downloads) if you want a clean python environnment with nearly all the prerequisites already installed. To install everything properly, you just have to do this:
$ conda create -n vina python=3
$ conda activate vina
$ conda install -c conda-forge numpy swig boost-cpp sphinx sphinx_rtd_theme
Finally, we can install the Vina
package
$ git clone https://github.com/ccsb-scripps/AutoDock-Vina
$ cd AutoDock-Vina
$ git checkout boost-python
$ cd build/python
$ python setup.py build install
Quick tutorial
#!/usr/bin/env python
from vina import Vina
v = Vina()
v.set_receptor(rigid_pdbqt_filename="protein.pdbqt")
v.set_ligand_from_file('ligand.pdbqt')
v.compute_vina_maps(center=[0., 0., 0.], box_size=[30, 30, 30])
print(v.score())
print(v.optimize())
v.dock(exhaustiveness=32)
v.write_poses(pdbqt_filename="docking_results.pdbqt")
Full documentation
The installation instructions, documentation and tutorials can be found on readthedocs.org.
Citations
- Trott, O., & Olson, A. J. (2010). AutoDock Vina: improving the speed and accuracy of docking with a new scoring function, efficient optimization, and multithreading. Journal of computational chemistry, 31(2), 455-461.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vina-1.2.0.dev2.tar.gz
(96.8 kB
view hashes)
Built Distributions
Close
Hashes for vina-1.2.0.dev2-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00ba07b727cc5f329d53e99854af35024aab5dbc6ca392ab1077a04ea4a62779 |
|
MD5 | 6afa5c1792d4497ce6b66bb7b36201bc |
|
BLAKE2b-256 | 0ddafb2e77a0ed444d8793ae049def528970d0023e77f15943c43c295cf84ce5 |
Close
Hashes for vina-1.2.0.dev2-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74bbacec91ce24753add0eb3a9ba68214b4802b858c3fa06f9125f80e7833e6d |
|
MD5 | 38e49daab5c3efd361fa1f77d05c7f78 |
|
BLAKE2b-256 | dee8711c1d10772b88643d0e719fac613e9e01238de77052923fff2a481a3c16 |
Close
Hashes for vina-1.2.0.dev2-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 142fddc8c9a7503e7fbc2944163191aba5f7ab4ac9bf2aec5dee0c5246e35a19 |
|
MD5 | 735cd56ea067c4b46cd3f0206f10c800 |
|
BLAKE2b-256 | 6cf821c97cb833a1a013dc71bfef7da52a1c07d273176caace2922dfb9823155 |
Close
Hashes for vina-1.2.0.dev2-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a9480f80cea93bb307d53c060c7f41eaae8f3fdb0ed7c222abb3777c53f726e |
|
MD5 | f38a06f79e4fe23598bc19f896e718ea |
|
BLAKE2b-256 | adefda5d5c8e3484cfc368970b2d5e5ed0fe8f7a673f92cdc66f81158279c46b |
Close
Hashes for vina-1.2.0.dev2-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 805fd2b8a5cd197a6f5361c86aebbf6d9d4c2ae3c8b79148d8cd853440b2125f |
|
MD5 | 7e7b1300b9d50ab8230476e4b3515164 |
|
BLAKE2b-256 | fbda7c0ed22f912dfd7a00018fadd5da7a74db4a73fd63c2d8a815e1853ff1fa |