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.dev3.tar.gz
(96.8 kB
view hashes)
Built Distributions
Close
Hashes for vina-1.2.0.dev3-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e461f0795b9e11eb59c776fa7e378e67345efe0b546cb65e3147b567bc11c1b |
|
MD5 | 038ecff20095deecad6f2e04877c54af |
|
BLAKE2b-256 | d1701a2f0da0771a37585dc33443bdc7ab3c948d51f8578d5841fd66976530fc |
Close
Hashes for vina-1.2.0.dev3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 456b0109c9c5084d2bbbaa22ee2e004e71b4d499da021e97d9610d4e9a97ba5a |
|
MD5 | 583513c09a11f894090be96223402586 |
|
BLAKE2b-256 | 709483b571b9527aab9e3450b6fd5b15f7b54a535bb68f9bd3624e85acdc1926 |
Close
Hashes for vina-1.2.0.dev3-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5af6c86dec19fd554c156120d9b7319276ceb43d20b19d406a0e1f6563f71db |
|
MD5 | 290a5d97a9d0ea4738df862f9ce9c64c |
|
BLAKE2b-256 | 0e3bed3aa0e7adaba4e26fe48ce32d2839a5251af95aae2ac6d9a406448c07c3 |
Close
Hashes for vina-1.2.0.dev3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5233583d9cb47b7d39e08884bf4d017ad0fe1bd2c0708ee3c7fdf136a1b6db27 |
|
MD5 | 114cbfd4cf9b64c754c4331a18e96ad1 |
|
BLAKE2b-256 | c84e34dded18a60101b73a7a96ac79fcff12242932ebe038f9bf7a834d7c1c09 |
Close
Hashes for vina-1.2.0.dev3-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e630b4b4c6d5d5522d82be8fabce490889d3f72ed34c9b78c88d87bf7859f9ee |
|
MD5 | f790b19b65e82cf33ad6382d01ab183c |
|
BLAKE2b-256 | f70154329a73849d5970c711f9f91f81d37296161276b19cb25b324a4d82a474 |
Close
Hashes for vina-1.2.0.dev3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 362a5db25f54f88fd379ad7176a5829734f9728f059878bf92e2bd05775b4c86 |
|
MD5 | df320ed48e2d6251a5925df1af339f63 |
|
BLAKE2b-256 | 230ce75acacb985d7725507ec6d5a5bf989ab641a9c7f5f12947c1d893517bd5 |
Close
Hashes for vina-1.2.0.dev3-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7a4fcee689205a66fa1e4cdbf1bff747b562438a60df9e80e8216154a5bc1df |
|
MD5 | 53e391e76ab16e20a5e01ae72cd03b7f |
|
BLAKE2b-256 | 4e51e4c68b9df6d4f28806b770ab34d303ad6ce890379e9336a429ea86b5b646 |
Close
Hashes for vina-1.2.0.dev3-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 045f9c9ddc434de80b9a3f403dbf39042ff7404ccdc7be59a068c0f7c9d1763b |
|
MD5 | 559ca0403f93856ee346984fa4245a42 |
|
BLAKE2b-256 | 66d8f56c2410307115f0176b636dd41875aa6ae683079ff58b914cdd8c6c9ae9 |