Connect with us

Docking

How to install AutoDock Vina on Ubuntu?

Dr. Muniba Faiza

Published

on

AutoDock Vina is one of the most popular software in Bioinformatics, known for molecular docking simulations. I have already explained the docking procedure in my previous article. In this small tutorial, we will learn how to install AutoDock Vina on Ubuntu. Its installation on Ubuntu may be a tedious process, especially for beginners due to the unfamiliarity of the Linux commands. It is expected to work on any version of Ubuntu but make sure whether your system supports the 32-bit or 64-bit version. If you face any problems, then feel free to ask. You need a good Internet connection as you will have to download different files. We need to download the following software to install AutoDock Vina:

  1. MGL Tools (AutoDock Tools are important as they provide the GUI)
  2. AutoDock Vina
  3. Python
  4. AutoDock4
  5. Autogrid

Getting started

It is good to update and upgrade your Ubuntu system first. Log into your Ubuntu system and open the terminal by pressing Ctrl+Alt+T altogether. and type the following commands:

$ sudo apt-get update
$ sudo apt-get upgrade

Downloading the files

Now we are going to download the above-mentioned files one by one. You can download them either directly by visiting the websites or using the command line as follows. It basically downloads in the ‘Downloads’ folder, so we will enter into this directory and download the files using the command line.

$ cd Downloads/
$ wget http://mgltools.scripps.edu/downloads/tars/releases/REL1.5.6/mgltools_x86_64Linux2_1.5.6.tar.gz
$ wget http://vina.scripps.edu/download/autodock_vina_1_1_2_linux_x86.tgz

It is good to install python PIL because most of the time it prompts an error for imaging the C module during the installation.

$ sudo apt-get install python3-pil

In my case, this issue was not resolved even after installing the imaging C module, then I installed the following library and it resolved my case. If you also get the same error even after installing the python imaging library, then try the following:

$ sudo apt-get install libjpeg62:i386

Although AutoDock Vina can run without installing AutoDock4 and Autogrid, you will need them if you run the  AutoDock4 analysis from AutoDock Vina itself. Therefore, it is better to install them. In order to download them, you will have to type the following commands:

$ sudo wget http://autodock.scripps.edu/downloads/autodock-registration/tars/dist426/autodocksuite-4.2.6-x86_64Linux2.tar

Installation

Now that we have the tar files in the Downloads folder, we will extract and install them one by one. Let’s install the AutoDock suite first, then later the MGL tools, and AutoDock Vina. To install them, open the terminal and go to the Downloads folder again.

$ cd Downloads/
$ tar xvf autodocksuite-4.2.6-x86_64Linux2.tar

This will create a new directory called “x86_64Linux2” in the Downloads directory, in which we could see two executable files: “autodock4” and “autogrid”. We will move them to another directory where we keep the binaries.

$ cd x86_64Linux2/
$ sudo mv autodock4 /usr/local/bin
$ sudo mv autogrid4 /usr/local/bin

Now we will come back to our Downloads directory to install the rest of the files. Let’s install mgltools.

$ cd Downloads
$ tar xvzf mgltools_x86_64Linux2_1.5.6.tar.gz

This will extract files of mgl tools and create a folder named “mgltools_x86_64Linux2_1.5.6”. Now to install it, we will go to the mgl tools directory.

$ cd mgltools_x86_64Linux2_1.5.6
$ ./install.sh

During installation, a dialog box will prompt on your screen, it’s the license agreement, so just click “Ok”. If everything goes well, then the terminal will show “MGLTools installation complete”. It will also ask to create aliases in order to run them because it’s a tedious task to write the full path every time we run them. So it is convenient to create aliases which I will tell you about a little later after we finish the installation of AutoDock Vina.

We have installed mgl tools on the system, now we will go for AutoDock Vina. To do that, let’s go back to our Downloads folder, where we downloaded the tar files.

$ cd Downloads/
$ tar xvzf autodock_vina_1_1_2_linux_x86.tgz

After extracting the tar file of AutoDock Vina, you will see a folder in your Downloads directory named “autodock_vina_1_1_2_linux_x86”, which consists of a bin folder where you could see two setup files for vina: “vina” & “vina_split”.
This ends the installation section of our tutorial. Now we have successfully installed AutoDock Vina on Ubuntu. In the following section, I will tell you how to create aliases for the executables.

Creating aliases

If you would see the README file in the bin folder of mgl tools, it shows the paths for running the autodock tools and python molecular viewer. Using these paths, we will create aliases and to use them permanently we will add them to the bashrc file.
Open the terminal and type the following commands:

$ sudo gedit ~/.bashrc

It will open the bashrc file, go to the end of this file and type the following:

alias adt='sudo /home/username/Downloads/mgltools_x86_64Linux2_1.5.6/bin/adt'
alias pmv='sudo /home/username/Downloads/mgltools_x86_64Linux2_1.5.6/bin/pmv'

 

Save the file, go back to the terminal, and enter the following command:

$ source ~/.bashrc

Now, whenever you will type ‘adt’ or ‘pmv’, it will open the autodock vina or pymol viewer respectively.

We are all done! You can perform docking on your Ubuntu system using AutoDock Vina whenever you want. 🙂

For any query, you can comment below, or email me at [email protected].

UPDATE:

For Ubuntu version 16.04 and above, autodock vina can be installed from the repository:

$ sudo apt-get install autodock-vina

Reference

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.

Dr. Muniba is a Bioinformatician based in New Delhi, India. She has completed her PhD in Bioinformatics from South China University of Technology, Guangzhou, China. She has cutting edge knowledge of bioinformatics tools, algorithms, and drug designing. When she is not reading she is found enjoying with the family. Know more about Muniba

Advertisement
Click to comment

You must be logged in to post a comment Login

Leave a Reply

Bioinformatics News

VS_Analysis: A Python package to perform post-virtual screening analysis

Dr. Muniba Faiza

Published

on

VS_Analysis: A Python package to perform post-virtual screening analysis

Virtual screening (VS) is a crucial aspect of bioinformatics. As you may already know, there are various tools available for this purpose, including both paid and freely accessible options such as Autodock Vina. Conducting virtual screening with Autodock Vina requires less effort than analyzing its results. However, the analysis process can be challenging due to the large number of output files generated. To address this, we offer a comprehensive Python package designed to automate the analysis of virtual screening results.

(more…)

Continue Reading

Bioinformatics Programming

vs_interaction_analysis.py: Python script to perform post-virtual screening analysis

Dr. Muniba Faiza

Published

on

vs_interaction_analysis.py: Python script to perform post-virtual screening analysis

Analyzing the results of virtual screening (VS) performed with Autodock Vina [1] can be challenging when done manually. In earlier instances, we supplied two scripts, namely vs_analysis.py [2,3] and vs_analysis_compounds.py [4]. This time, we have developed a new Python script to simplify the analysis of VS results.

(more…)

Continue Reading

Docking

[Tutorial] Performing docking using DockingPie plugin in PyMOL.

Dr. Muniba Faiza

Published

on

[Tutorial] Performing docking using DockingPie plugin in PyMOL.

DockingPie [1] is a PyMOL plugin to perform computational docking within PyMOL [2]. In this article, we will perform simple docking using DockingPie1.2.

(more…)

Continue Reading

Docking

How to install the DockingPie plugin on PyMOL?

Dr. Muniba Faiza

Published

on

How to install DockingPie plugin on PyMOL?

DockingPie [1] is a plugin of PyMOL [2] made to fulfill the purpose of docking within the PyMOL interface. This plugin will allow you to dock using four different algorithms, namely, Vina, RxDock, SMINA, and ADFR. It will also allow you to perform flexible docking. Though the installation procedure is the same for all OSs, in this article, we are installing this plugin on Ubuntu (Linux).

(more…)

Continue Reading

Docking

[Tutorial] Installing Pyrx on Windows.

Dr. Muniba Faiza

Published

on

[Tutorial] Installing Pyrx on Windows.

Pyrx [1] is another virtual screening software that also offers to perform docking using Autodock Vina. In this article, we will install Pyrx on Windows. (more…)

Continue Reading

Docking

How to install Autodock4 on Ubuntu?

Dr. Muniba Faiza

Published

on

How to install Autodock4 on Ubuntu?

Autodock suite is used for docking small molecules [1]. Recently, Autodock-GPU [2] is developed to accelerate the docking process. Its installation is described in this article. In this tutorial, we will install Autodock 4.2.6 on Ubuntu.

(more…)

Continue Reading

Docking

What values are considered as good or bad in computational docking?

Dr. Muniba Faiza

Published

on

After performing computational docking, a question that comes to mind most is “what docking score is considered good or bad”. In this article, we will discuss this in detail. (more…)

Continue Reading

Bioinformatics Programming

How to sort binding affinities based on a cutoff using vs_analysis.py script?

Dr. Muniba Faiza

Published

on

How to sort binding affinities based on a cutoff using vs_analysis.py script?

Previously, we have provided a Python script (vs_analysis.py) to analyze the virtual screening (VS) results of Autodock Vina. Now, we have updated this script to sort binding affinities based on user inputted cutoff value. (more…)

Continue Reading

Docking

Virtual Screening using Autodock Vina: Frequently Asked Questions & Answers for Starters

Dr. Muniba Faiza

Published

on

Virtual Screening using Autodock Vina: Virtual Screening: Frequently Asked Questions & Answers for Starters

Virtual Screening (VS) is one of the important techniques in bioinformatics. It can be easily performed using Autodock Vina. We have provided detailed articles on this topic. In this article, we are trying to answer some FAQs for beginners. (more…)

Continue Reading

Docking

[Tutorial] How to perform docking of zinc metalloproteins using Autodock Vina?

Dr. Muniba Faiza

Published

on

[Tutorial] How to perform docking of zinc metalloproteins using Autodock Vina?

Proteins containing zinc atoms are docked in a different way than that of the normal simple proteins. Zinc atoms must be considered by a force field during the docking process. In this article, we are going to dock zinc metalloprotein with a ligand using Autodock Vina [1]. (more…)

Continue Reading

Docking

How to generate config file for docking using Autodock Tools?

Dr. Muniba Faiza

Published

on

How to generate config file for docking using Autodock Tools?

A configuration file is one of the required files for docking using Autodock Vina. In this article, we are going to generate a config file using Autodock Tools GUI [1]. (more…)

Continue Reading

Docking

How to install Autodock on Ubuntu (Linux) with CUDA GPU support?

Dr. Muniba Faiza

Published

on

How to install Autodock on Ubuntu (Linux) with CUDA GPU support?

Autodock [1] is most widely used for docking. To accelerate the docking process, especially, during virtual screening, Autodock-GPU [2] provides great help. In this article, we are going to install Autodock-GPU on Ubuntu. (more…)

Continue Reading

Docking

Autodock Vina: Uses & Applications

Published

on

Autodock Vina: Uses & Applications

Autodock Vina [1] is one of the most widely used bioinformatics software for computational docking. For beginners and those who are new to the field of bioinformatics, such software may appear confusing without having an initial idea of what this software actually used for. In this article, we have discussed some of the primary uses and applications of Autodock Vina software. (more…)

Continue Reading

Docking

How to perform virtual screening using Pyrx?

Dr. Muniba Faiza

Published

on

How to perform virtual screening using Pyrx?

Pyrx is a bioinformatics tool to perform virtual screening [1]. We previously provided an article on performing simple protein-ligand site-specific docking using Pyrx. In this article, we are going to perform virtual screening using Pyrx. (more…)

Continue Reading

Docking

How to perform metal ion-protein docking using idock?

Dr. Muniba Faiza

Published

on

How to perform metal ion-protein docking using idock?

Previously, we provided a tutorial on the installation of idock on Ubuntu (Linux). In this article, we are going to demonstrate the docking of a metal ion (such as Zn, Mg, Fe, etc.,) with a protein using idock. (more…)

Continue Reading

Docking

How to install idock on Ubuntu?

Dr. Muniba Faiza

Published

on

How to install idock on Ubuntu?

idock [1] is a multithreaded software based on Autodock Vina. It is a virtual screening tool for flexible ligand docking. It also supports 27 different chemical elements including zinc, magnesium, iron, calcium, etc. In this article, we are going to install idock on Ubuntu. (more…)

Continue Reading

Docking

How to analyze HADDOCK results using Pymol script generated from PRODIGY?

Dr. Muniba Faiza

Published

on

How to analyze HADDOCK results using Pymol script generated from PRODIGY?

In one of our previously published articles, we demonstrated protein-protein docking using HADDOCK2.4 [1]. In this article, we are going to demonstrate the HADDOCK results analysis using a Pymol script generated from the PRODIGY server [2]. (more…)

Continue Reading

Docking

Installing PatchDock on Ubuntu (Linux)

Published

on

Installing PatchDock on Ubuntu (Linux)

PatchDock is a docking algorithm that is based on the shape complementarity principle [1,2]. It performs molecular docking of any two types of molecules including proteins, DNA, drugs, and peptides. In this article, we are going to install PatchDock on Ubuntu (Linux). (more…)

Continue Reading

Docking

Protein-protein docking using HADDOCK2.4 web server

Dr. Muniba Faiza

Published

on

Protein-protein docking using HADDOCK2.4 web server

HADDOCK2.4 web server (https://bianca.science.uu.nl/haddock2.4/) [1] is used for protein-protein docking and their modeling. Not only proteins, but it can also process peptides, small molecules, and nucleic acids. In this article, we are going to perform protein-protein docking. (more…)

Continue Reading

Docking

How to perform site-specific docking using Pyrx?

Dr. Muniba Faiza

Published

on

How to perform site-specific docking using Pyrx?

Pyrx [1] is a virtual screening software that allows the docking of multiple ligands with a target protein. Previously, we provided an article on the installation of Pyrx in Ubuntu. In this article, we are going to perform protein-ligand docking using Pyrx. (more…)

Continue Reading

LATEST ISSUE

ADVERT