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/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.
Metadata
Release files for vina 1.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vina-1.2.7.tar.gz | 89.2 kB | Without provenance | Details for vina-1.2.7.tar.gz |
Built distributions (wheels)
Total release size: 69.2 MB
Release files / vina-1.2.7.tar.gz
| Download URL | vina-1.2.7.tar.gz |
|---|---|
| Size | 89.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79e5288d10207b85f20adac3dd6f4708eac761c2d8070fbad76ff997cf48e4f9
|
|
BLAKE2b-256 checksum How to use checksums |
d22a6746ef5e57b1c643e9fb24ad9e4fa520add7338736d50954e0fbc12ae52e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / vina-1.2.7-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | vina-1.2.7-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 7.0 MB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
a8e1ab100e6a6537b6f47d103843af41e391b1cd0afbe87c6e4d4f2f78d5a2f0
|
|
BLAKE2b-256 checksum How to use checksums |
afeb667b855ff38962edcce7ad32007765e9cebe9e7d5d4ea3e6f901231eb9a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / vina-1.2.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | vina-1.2.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 6.9 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a6e46560e50e693fb29883b82be8d9a4d74207b4464cfedf2bd5235192f4eb3d
|
|
BLAKE2b-256 checksum How to use checksums |
361f45ee007da0d3dc791c3dc7143f038221360f3305aa9152acb0fbacb26139
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / vina-1.2.7-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | vina-1.2.7-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 7.0 MB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
43edeaba01f22b96211a71516fbb2ee73815781679eca4805df750770868adef
|
|
BLAKE2b-256 checksum How to use checksums |
a04ca1a2cf6c99d4c8564172191cf662f81fa8460cb8c583d4d3e52e5db907dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / vina-1.2.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | vina-1.2.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 6.8 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
46edb24ad831f586c68bd582f9c0675fb1abf5e49b7e317336b5c1b26949c7de
|
|
BLAKE2b-256 checksum How to use checksums |
b489b8cab012500fa7fcb1d868ddf23a42a66953dae8a4cce49105ec64f8d436
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / vina-1.2.7-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | vina-1.2.7-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 7.0 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
ec7fb0a7f177166827ee25020ccc19b4702c9a77c54dbe07ff8ff661dc8a8fb1
|
|
BLAKE2b-256 checksum How to use checksums |
ba1c7fa31f9d1c74979978effde7ba765bd8961cbae202911705cfeb98e4b1ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / vina-1.2.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | vina-1.2.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 6.8 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
cfde01eae3b2163bd8b6e421659f0fabaa47794e868fcd0d29d9ed8292504d85
|
|
BLAKE2b-256 checksum How to use checksums |
0070338d79d4713ee642e7fdd3e8499bea675e21d2453e4948f30984736987ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / vina-1.2.7-cp39-cp39-musllinux_1_2_x86_64.whl
| Download URL | vina-1.2.7-cp39-cp39-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 7.0 MB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
b7b1314633fe3e16b9c919f4f21e742eeefd5c47e0ba1f4f6ab56afc145aa589
|
|
BLAKE2b-256 checksum How to use checksums |
f2719dfe004575eb353f4475ba9d5447d84cfb2cd9fc5b945e93cf40a057cda4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / vina-1.2.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | vina-1.2.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 6.8 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
38e316cdef322f8aa9b82daa28320a548d0557360dcd55093c7d1b312c24a626
|
|
BLAKE2b-256 checksum How to use checksums |
1c9fe6592e08e8e3448461affc6c24dbd6d15997df43c3fdff6892e7aa653fb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / vina-1.2.7-cp38-cp38-musllinux_1_2_x86_64.whl
| Download URL | vina-1.2.7-cp38-cp38-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 7.0 MB |
| Tags | CPython 3.8 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
29ad246d3ee09cf5411a337a361aedb02fbb9d59389c1bf28afcdc9e4c50d161
|
|
BLAKE2b-256 checksum How to use checksums |
50bfbf2f2a3e2e1d75d8a985d4d6b684ed7c624b2ea2bb0309702acdec050cf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / vina-1.2.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | vina-1.2.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 6.8 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
26f0a743e527ab15cbebab2bef2486e9462f0015fcb6b8f4de3f87f6a934d801
|
|
BLAKE2b-256 checksum How to use checksums |
ea515618c6b745b0beb1459b0805cc73ab218c1b5da956d907160024f7cfac21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for vina 1.2.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.