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.2.tar.gz
(96.8 kB
view hashes)
Built Distributions
Close
Hashes for vina-1.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe3a04d1591ca18f1143e5aa59b4280bfaa4fcacdb60908dcf8fca23b1132a84 |
|
MD5 | 81b238b9b767d2427415ebf5b410db0c |
|
BLAKE2b-256 | aee3264e0d52b81a77136a4266a0d447e2ea78be4d4ce494caea4b4845dafd2a |
Close
Hashes for vina-1.2.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc58a605ec2e572fc9e376fd5bd1384213d3dce8ee08903d2cfa0cdcc70b43cb |
|
MD5 | ee8a79711c2bce00a0d0719c91c3d262 |
|
BLAKE2b-256 | c43a45790b007a35734a01260f6cb8cc5cf17559368e6e9aa505baae94533d10 |
Close
Hashes for vina-1.2.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 659d1bbcc0fa6927b69971d90596fa136f88589007b19fdafba08e40b587024b |
|
MD5 | f3382e5054eb2ad480434e7331827ca3 |
|
BLAKE2b-256 | 1838d197002b15b4190d005da557c00dd96af320c0fb49c5b1a9130d01a90e1c |
Close
Hashes for vina-1.2.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0cc597efa323a82077f74abe4646eae495f676b4e2081d3a749a6a466cea044 |
|
MD5 | c2f27ff803c008e4a2f699ed0167b6fa |
|
BLAKE2b-256 | 5cdde9c0a77eca5c3de7dbfbc21fa962f1ca9a8c08056367b39be74e69026afc |
Close
Hashes for vina-1.2.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d8bc9f77caf75acefc56532b246806ebd4d046d3016c19a98c5773c0f8e89a4 |
|
MD5 | 3b6c58ce29ee3164294d7a1f709cd1e4 |
|
BLAKE2b-256 | 16b92c19ed0837fa7210edebb4f9aae7d41f1771da518a8a6d545f7c75cfb487 |
Close
Hashes for vina-1.2.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30ec6aedbbb5e0aa337d1bdc6fcf0fb1f3635d1db6dad9b3414db8929f2a1222 |
|
MD5 | e3f503266ba1db648f08cc900056d2b7 |
|
BLAKE2b-256 | 9184742a0f19f5109a527128ac33eb52c7048441585b13d4703f78f004a11f1f |
Close
Hashes for vina-1.2.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc6a9816bf20f89d900774b4d4652ec4126e50fe1e7d650ca8e965084fd5b8e9 |
|
MD5 | a953eb1535ddd94277144c260f7e219e |
|
BLAKE2b-256 | 0cc0a2d790b2f8eb2904db7600d563d282e6cb72d29662dbde295136645bcb15 |
Close
Hashes for vina-1.2.2-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a4fd9fb6e10c80893309a5425c13b9647348ac45d671e52da58ef1a44f3c8d9 |
|
MD5 | e3821e64e58e362932b8baf0682758c9 |
|
BLAKE2b-256 | 7846c3e56d61d5adea668e7d089838fb9a7132176793e888f1b6eab516966cdd |