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.3.tar.gz
(95.2 kB
view hashes)
Built Distributions
Close
Hashes for vina-1.2.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d174d3297415920b890ebd7145f3a3d37c1870a1a9ff45d60398458c2739344c |
|
MD5 | 748e81f39d9db4c74693e7ca1c301c98 |
|
BLAKE2b-256 | f7cc69e5945da82138634660da9bc4c97dd352b1c31b30076c1024b8c3e5b91e |
Close
Hashes for vina-1.2.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb11b04a86a0efbeb0727881e2a2e1f08accd78afbdf37086587083ce19e8e03 |
|
MD5 | ee4b4247f977bc3d92c72a06dba09390 |
|
BLAKE2b-256 | ade039afb0bd5c13c221bf70eb1a507e93e116a722b3e456864f314231842815 |
Close
Hashes for vina-1.2.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf1711bed3be3540cc4fde81affe2ea99d675a80e7b4b0358cb284810878b709 |
|
MD5 | f9c87cc3dc1447921f4dc7b6af55fc80 |
|
BLAKE2b-256 | f8b71c41934f30021ffa0a63aa697dee3ad7b6b4921c8ae742d4588dca6302a6 |
Close
Hashes for vina-1.2.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 896996d1ef2a3d883c4d58b43b8c9f0189bee971c62506920c6452e78bc09576 |
|
MD5 | 8d1480d6b55a73dd7d9cc8b17e0f5d1b |
|
BLAKE2b-256 | b738bfefa1b8dc19640c29fe0d84f5d6565f38850798a6b4c8f6a8e9e71b6424 |
Close
Hashes for vina-1.2.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73b9a9f1791e030550f553b28a80431c7231e7e7122b99deac0e4d96e17c7587 |
|
MD5 | b1169d34cbf6afd532af14057da2fd7d |
|
BLAKE2b-256 | 626b8af631e953220390c8d738ca64e74470a6c5cecfff6a1a3a119f307538d2 |
Close
Hashes for vina-1.2.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaa6c5e6e16aca1b8609eee93a7a6d0ad39e76016a3b00741f167556ad6217a8 |
|
MD5 | 03c168eaf15bd39acafb20e3f88e7d91 |
|
BLAKE2b-256 | 54444df0385f72c40c23e828e1474daa48d385d3445939ffffa6c9dc04beb918 |
Close
Hashes for vina-1.2.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8343e1a9350c584c3db9c66eb33850ce91e1a41005a79066e46a353f19009bf |
|
MD5 | 8d71dbfc2157a6bb54b0054efc9055c6 |
|
BLAKE2b-256 | 21925a10697fc4450c82390e647473a2d06c37301fea2a0fc0bd35179c0397b6 |
Close
Hashes for vina-1.2.3-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 540348c2a2789c6571ea4cbfc4f5a9a4acff01ec6e43d172bff5d44ebbe47926 |
|
MD5 | eab492abea74cd6a89da8bea4ae7d0a0 |
|
BLAKE2b-256 | 86a43154dd3a3c0191de3cb8377dee5691b252084aa20093d1a5ab2f630f6995 |