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.0.dev3.tar.gz (96.8 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.0.dev3-cp39-cp39-manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.9

vina-1.2.0.dev3-cp39-cp39-macosx_10_9_x86_64.whl (960.3 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

vina-1.2.0.dev3-cp38-cp38-manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.8

vina-1.2.0.dev3-cp38-cp38-macosx_10_9_x86_64.whl (750.9 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

vina-1.2.0.dev3-cp37-cp37m-manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.7m

vina-1.2.0.dev3-cp37-cp37m-macosx_10_9_x86_64.whl (750.5 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

vina-1.2.0.dev3-cp36-cp36m-manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.6m

vina-1.2.0.dev3-cp35-cp35m-manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.5m

File details

Details for the file vina-1.2.0.dev3.tar.gz.

File metadata

  • Download URL: vina-1.2.0.dev3.tar.gz
  • Upload date:
  • Size: 96.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.12

File hashes

Hashes for vina-1.2.0.dev3.tar.gz
Algorithm Hash digest
SHA256 f2df6d7c188430e5b0a4abe3a22b93ae14ac8f5e7a65c182ac539529872460fd
MD5 5b88f4a46649ea0534bb0fc11ba1d902
BLAKE2b-256 562edeb9c7a9e4c64f0e2fc0b197b5689c6a6ae5b6f02820685de193373d2ff9

See more details on using hashes here.

File details

Details for the file vina-1.2.0.dev3-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

  • Download URL: vina-1.2.0.dev3-cp39-cp39-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.12

File hashes

Hashes for vina-1.2.0.dev3-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5e461f0795b9e11eb59c776fa7e378e67345efe0b546cb65e3147b567bc11c1b
MD5 038ecff20095deecad6f2e04877c54af
BLAKE2b-256 d1701a2f0da0771a37585dc33443bdc7ab3c948d51f8578d5841fd66976530fc

See more details on using hashes here.

File details

Details for the file vina-1.2.0.dev3-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: vina-1.2.0.dev3-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 960.3 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.6

File hashes

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

See more details on using hashes here.

File details

Details for the file vina-1.2.0.dev3-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: vina-1.2.0.dev3-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.12

File hashes

Hashes for vina-1.2.0.dev3-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b5af6c86dec19fd554c156120d9b7319276ceb43d20b19d406a0e1f6563f71db
MD5 290a5d97a9d0ea4738df862f9ce9c64c
BLAKE2b-256 0e3bed3aa0e7adaba4e26fe48ce32d2839a5251af95aae2ac6d9a406448c07c3

See more details on using hashes here.

File details

Details for the file vina-1.2.0.dev3-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: vina-1.2.0.dev3-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 750.9 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.6

File hashes

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

See more details on using hashes here.

File details

Details for the file vina-1.2.0.dev3-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: vina-1.2.0.dev3-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.12

File hashes

Hashes for vina-1.2.0.dev3-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e630b4b4c6d5d5522d82be8fabce490889d3f72ed34c9b78c88d87bf7859f9ee
MD5 f790b19b65e82cf33ad6382d01ab183c
BLAKE2b-256 f70154329a73849d5970c711f9f91f81d37296161276b19cb25b324a4d82a474

See more details on using hashes here.

File details

Details for the file vina-1.2.0.dev3-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: vina-1.2.0.dev3-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 750.5 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.6

File hashes

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

See more details on using hashes here.

File details

Details for the file vina-1.2.0.dev3-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: vina-1.2.0.dev3-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.12

File hashes

Hashes for vina-1.2.0.dev3-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f7a4fcee689205a66fa1e4cdbf1bff747b562438a60df9e80e8216154a5bc1df
MD5 53e391e76ab16e20a5e01ae72cd03b7f
BLAKE2b-256 4e51e4c68b9df6d4f28806b770ab34d303ad6ce890379e9336a429ea86b5b646

See more details on using hashes here.

File details

Details for the file vina-1.2.0.dev3-cp35-cp35m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: vina-1.2.0.dev3-cp35-cp35m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.12

File hashes

Hashes for vina-1.2.0.dev3-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 045f9c9ddc434de80b9a3f403dbf39042ff7404ccdc7be59a068c0f7c9d1763b
MD5 559ca0403f93856ee346984fa4245a42
BLAKE2b-256 66d8f56c2410307115f0176b636dd41875aa6ae683079ff58b914cdd8c6c9ae9

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