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.dev1.tar.gz
(96.5 kB
view hashes)
Built Distributions
Close
Hashes for vina-1.2.0.dev1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ae157de69954f67fdda28d2b0524a8a854dff0671bb1755c6fb373c7c119ac6 |
|
MD5 | bf4efe772cf475def4635ddb42c06a3c |
|
BLAKE2b-256 | 5dc0aff0c9b85adbe113a8a2df0e0cbd6e45c1451b7a4b9b189a03dd5377db63 |
Close
Hashes for vina-1.2.0.dev1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5d2feb78bb93ee98bb6d9b0e5ae8f789720f820d8b6cd87b70d425988db98bd |
|
MD5 | 482960ae079a4ea52f5808ba11627b68 |
|
BLAKE2b-256 | 376c10654eb8819b330617e4b4de6ba4a96b5508a7d0e16fb87558e5b97f1452 |
Close
Hashes for vina-1.2.0.dev1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e885698e248527acae726c3ca71ec26a3fe009e486ce5fd274be6735594f74f7 |
|
MD5 | 3876739644891cb81b7738283f21bf30 |
|
BLAKE2b-256 | eb0e31ded1b1819b8b6870080f39656de2eb4a18fa4e10ddd6c6b969b20feb0a |
Close
Hashes for vina-1.2.0.dev1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64483b6ee4ef16e5329245a1e84e4a228d90457710731360d5e3a0c59fe1da9a |
|
MD5 | 7cc54dd7b01123155f73e953a0736f95 |
|
BLAKE2b-256 | 2bcf38c09815725ee59d57a97345ff63f628a5f682e2601c515d729c01d8e423 |
Close
Hashes for vina-1.2.0.dev1-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1c714e5c1c56edf6be50c857890995a1ca65aaf8015dada56de9612ad0a340c |
|
MD5 | 536c9c8180bd928ac3351587a7fca0de |
|
BLAKE2b-256 | eb1b58e638ccd7320e0b3a32465dafefcf2ffbe66565c43b02303a4d1cc45098 |