Skip to main content

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


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 details)

Uploaded Source

Built Distributions

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

vina-1.2.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

vina-1.2.3-cp39-cp39-macosx_10_9_x86_64.whl (790.0 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

vina-1.2.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

vina-1.2.3-cp38-cp38-macosx_10_9_x86_64.whl (792.6 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

vina-1.2.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

vina-1.2.3-cp37-cp37m-macosx_10_9_x86_64.whl (792.5 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

vina-1.2.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

vina-1.2.3-cp36-cp36m-macosx_10_9_x86_64.whl (792.5 kB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: vina-1.2.3.tar.gz
  • Upload date:
  • Size: 95.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for vina-1.2.3.tar.gz
Algorithm Hash digest
SHA256 a9741f7cf816b270d23e46b63cecb829535b12cb40d0eb991da4629efe4416b3
MD5 57e01e30ec4a95b96a45c2371706a514
BLAKE2b-256 1f14fa0c505ddc96828a7164c5fa9946afd0f5019a0af135bc1bbd947149b010

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vina-1.2.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 7.1 MB
  • Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

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

See more details on using hashes here.

File details

Details for the file vina-1.2.3-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: vina-1.2.3-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 790.0 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for vina-1.2.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fb11b04a86a0efbeb0727881e2a2e1f08accd78afbdf37086587083ce19e8e03
MD5 ee4b4247f977bc3d92c72a06dba09390
BLAKE2b-256 ade039afb0bd5c13c221bf70eb1a507e93e116a722b3e456864f314231842815

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vina-1.2.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

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

See more details on using hashes here.

File details

Details for the file vina-1.2.3-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: vina-1.2.3-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 792.6 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for vina-1.2.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 896996d1ef2a3d883c4d58b43b8c9f0189bee971c62506920c6452e78bc09576
MD5 8d1480d6b55a73dd7d9cc8b17e0f5d1b
BLAKE2b-256 b738bfefa1b8dc19640c29fe0d84f5d6565f38850798a6b4c8f6a8e9e71b6424

See more details on using hashes here.

File details

Details for the file vina-1.2.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: vina-1.2.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

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

See more details on using hashes here.

File details

Details for the file vina-1.2.3-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: vina-1.2.3-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 792.5 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for vina-1.2.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 aaa6c5e6e16aca1b8609eee93a7a6d0ad39e76016a3b00741f167556ad6217a8
MD5 03c168eaf15bd39acafb20e3f88e7d91
BLAKE2b-256 54444df0385f72c40c23e828e1474daa48d385d3445939ffffa6c9dc04beb918

See more details on using hashes here.

File details

Details for the file vina-1.2.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: vina-1.2.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

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

See more details on using hashes here.

File details

Details for the file vina-1.2.3-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: vina-1.2.3-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 792.5 kB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for vina-1.2.3-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 540348c2a2789c6571ea4cbfc4f5a9a4acff01ec6e43d172bff5d44ebbe47926
MD5 eab492abea74cd6a89da8bea4ae7d0a0
BLAKE2b-256 86a43154dd3a3c0191de3cb8377dee5691b252084aa20093d1a5ab2f630f6995

See more details on using hashes here.

Supported by

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