Skip to main content

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.

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.7.tar.gz (89.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

vina-1.2.7-cp312-cp312-musllinux_1_2_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

vina-1.2.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

vina-1.2.7-cp311-cp311-musllinux_1_2_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

vina-1.2.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

vina-1.2.7-cp310-cp310-musllinux_1_2_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

vina-1.2.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

vina-1.2.7-cp39-cp39-musllinux_1_2_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

vina-1.2.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

vina-1.2.7-cp38-cp38-musllinux_1_2_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.8musllinux: musl 1.2+ x86-64

vina-1.2.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

File details

Details for the file vina-1.2.7.tar.gz.

File metadata

  • Download URL: vina-1.2.7.tar.gz
  • Upload date:
  • Size: 89.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for vina-1.2.7.tar.gz
Algorithm Hash digest
SHA256 79e5288d10207b85f20adac3dd6f4708eac761c2d8070fbad76ff997cf48e4f9
MD5 fb1d634afd2d4462c1c840807310bb1f
BLAKE2b-256 d22a6746ef5e57b1c643e9fb24ad9e4fa520add7338736d50954e0fbc12ae52e

See more details on using hashes here.

File details

Details for the file vina-1.2.7-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for vina-1.2.7-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a8e1ab100e6a6537b6f47d103843af41e391b1cd0afbe87c6e4d4f2f78d5a2f0
MD5 5878d9222f24bcd288842995a3b8cd9b
BLAKE2b-256 afeb667b855ff38962edcce7ad32007765e9cebe9e7d5d4ea3e6f901231eb9a6

See more details on using hashes here.

File details

Details for the file vina-1.2.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for vina-1.2.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a6e46560e50e693fb29883b82be8d9a4d74207b4464cfedf2bd5235192f4eb3d
MD5 89d0e937ad038aa10e08dedcb8a24e28
BLAKE2b-256 361f45ee007da0d3dc791c3dc7143f038221360f3305aa9152acb0fbacb26139

See more details on using hashes here.

File details

Details for the file vina-1.2.7-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for vina-1.2.7-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 43edeaba01f22b96211a71516fbb2ee73815781679eca4805df750770868adef
MD5 f7433f8c726821063fd38d2c263c2296
BLAKE2b-256 a04ca1a2cf6c99d4c8564172191cf662f81fa8460cb8c583d4d3e52e5db907dd

See more details on using hashes here.

File details

Details for the file vina-1.2.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for vina-1.2.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 46edb24ad831f586c68bd582f9c0675fb1abf5e49b7e317336b5c1b26949c7de
MD5 8f800ef3e27966c54a4c708097a7cb80
BLAKE2b-256 b489b8cab012500fa7fcb1d868ddf23a42a66953dae8a4cce49105ec64f8d436

See more details on using hashes here.

File details

Details for the file vina-1.2.7-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for vina-1.2.7-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ec7fb0a7f177166827ee25020ccc19b4702c9a77c54dbe07ff8ff661dc8a8fb1
MD5 e1e0cf1c9518036a2209e03c5e19a2a2
BLAKE2b-256 ba1c7fa31f9d1c74979978effde7ba765bd8961cbae202911705cfeb98e4b1ac

See more details on using hashes here.

File details

Details for the file vina-1.2.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for vina-1.2.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cfde01eae3b2163bd8b6e421659f0fabaa47794e868fcd0d29d9ed8292504d85
MD5 72a736a66f3c22e3292967f3f8e0fdec
BLAKE2b-256 0070338d79d4713ee642e7fdd3e8499bea675e21d2453e4948f30984736987ce

See more details on using hashes here.

File details

Details for the file vina-1.2.7-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: vina-1.2.7-cp39-cp39-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.9, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for vina-1.2.7-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b7b1314633fe3e16b9c919f4f21e742eeefd5c47e0ba1f4f6ab56afc145aa589
MD5 6de65f9a4d4fa158b49afabd8587f932
BLAKE2b-256 f2719dfe004575eb353f4475ba9d5447d84cfb2cd9fc5b945e93cf40a057cda4

See more details on using hashes here.

File details

Details for the file vina-1.2.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for vina-1.2.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 38e316cdef322f8aa9b82daa28320a548d0557360dcd55093c7d1b312c24a626
MD5 07278491573be70d0ad3da5b4e17e035
BLAKE2b-256 1c9fe6592e08e8e3448461affc6c24dbd6d15997df43c3fdff6892e7aa653fb2

See more details on using hashes here.

File details

Details for the file vina-1.2.7-cp38-cp38-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: vina-1.2.7-cp38-cp38-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.8, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for vina-1.2.7-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 29ad246d3ee09cf5411a337a361aedb02fbb9d59389c1bf28afcdc9e4c50d161
MD5 be20600a65da082f9c73beea5f1758fc
BLAKE2b-256 50bfbf2f2a3e2e1d75d8a985d4d6b684ed7c624b2ea2bb0309702acdec050cf3

See more details on using hashes here.

File details

Details for the file vina-1.2.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for vina-1.2.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 26f0a743e527ab15cbebab2bef2486e9462f0015fcb6b8f4de3f87f6a934d801
MD5 d677e13d830048d9f0c88baa7eefff2b
BLAKE2b-256 ea515618c6b745b0beb1459b0805cc73ab218c1b5da956d907160024f7cfac21

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.7 This release

11 files

1.2.5

13 files

1.2.4

13 files

1.2.3

9 files

1.2.2

9 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page