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.5.tar.gz
(89.5 kB
view hashes)
Built Distributions
Close
Hashes for vina-1.2.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fe097696e5a4e94d2791d5cf1ce81f197873f4bf35559e1042656fef4f5cd3c |
|
MD5 | c59ea277c94a349961657561719aebe2 |
|
BLAKE2b-256 | cd8c620ea7e4d2cc0bc1fe0a70cc10f8ee0751adee73f0b31b810e4d6bcc99ee |
Close
Hashes for vina-1.2.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd968770b9b5b8896e281ede21dd0a6c918f3413772f3ea0e00adab4c3f76599 |
|
MD5 | 8e1202e8b3a729fa7a1c5f7520179c6e |
|
BLAKE2b-256 | 79f029b81bc04c4b9a0298c1a2119e242e51fde98720023f9ee0c9dfafc7541d |
Close
Hashes for vina-1.2.5-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30a3a54549e80c3a5e7b3fd5f18024eeaedba86f5a689bf71ddb3f030162ede8 |
|
MD5 | cad60683223db7aa0d8657c82277166d |
|
BLAKE2b-256 | 0c0aee19f0eb7cfe988f4477d8bea34676d0c21a4809a7a33263eada843fb013 |
Close
Hashes for vina-1.2.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5182340adf1bb1ec859b899278b19f5f89403d3aa04f05408a7cabd2eca669fe |
|
MD5 | d626eeac623bb1a859b46ab96d83907c |
|
BLAKE2b-256 | da02cc109dce0207afa17c36ffe1eea226cc463e9033fd82dfbd42b91a80d0bc |
Close
Hashes for vina-1.2.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed14215e375a053d7fcccd93b52a83626ab10901ce670c4323fabfb20a8c74cd |
|
MD5 | de0bc3aa7054cbc064f2cd382da0ff5e |
|
BLAKE2b-256 | afeca58ad83298c0cca43a0bd07bd4298b9a9a2fcf161bb800fb647f4873a5a6 |
Close
Hashes for vina-1.2.5-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37cd6f55a325b3b1b51176f2e3eaddbcf55a90853c3b474830c1eafb0f42052c |
|
MD5 | ce739876c85185c4eedfe3efe233af5c |
|
BLAKE2b-256 | 0835b75cb68d631ced9f30b847ef7fd4e05da9de9ad929d1ac0d3970c46033ad |
Close
Hashes for vina-1.2.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbf0970904094dc5113feae4ef76532ab71c9efdf0fee8ea23895e683dcb9dec |
|
MD5 | 0aadae40a491555bd1c01c0ac651f8b1 |
|
BLAKE2b-256 | c0369e1235a16e1293b924baa487e743e28a6ba7728040e0a7a5709bd196b5a0 |
Close
Hashes for vina-1.2.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a5fe5d2a771cdf3c7f451c7994bca34ae20fd3fbe5cf7741ea7854c8bf3f27b |
|
MD5 | e1679676fd8e0d4ea7d34dde48a55d87 |
|
BLAKE2b-256 | fbf7a21535839e5f551748f2fb8b15970c515cdcaeeb64357abc61d5deeacb2a |
Close
Hashes for vina-1.2.5-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7ec691f14d8446f4d454fb44684c0152beb906d24d310f07f7f8dbca5cd6921 |
|
MD5 | 474995d74ac953dacb65329fa7fd66be |
|
BLAKE2b-256 | dff729e03ef647e774783d9506752320cb0b47a272ed835c11dbd67cffc81a90 |
Close
Hashes for vina-1.2.5-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e17d04f37608fcabf7694b21783db352cca69d5f95dddfa3cbd0ba831b69320f |
|
MD5 | 6a31bc3b84fc08d63e56ba3877beb360 |
|
BLAKE2b-256 | 605b228f50081f99c89e74aad2e78a8a426f9b2335d1dbd7f4b88af9ba9aea24 |
Close
Hashes for vina-1.2.5-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f063965fb478aa015291de2db9a7d6faeb49cc0954ab46057bdbc28dc353052 |
|
MD5 | e4c2be73c316f6c35536cd082587deaa |
|
BLAKE2b-256 | 72ee5fc4f7548f89228b78c13cbddae210f5bde972564d8ddc3a0637ed2f0e35 |
Close
Hashes for vina-1.2.5-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47a61d90d9abea816f83cf87814d618a2aa7aa11f1f742ed4b67e924b94c8204 |
|
MD5 | 8d84dbbd5b56f4cbf56ffea37f2f8450 |
|
BLAKE2b-256 | 959cfc96bbb6b8ad7e0c2aeedaa7e16ad211337985b9727484f7f52f92cde8d5 |