Bioinformatics ReviewBioinformatics Review
Notification Show More
Font ResizerAa
  •  Home
  • Docking
  • MD Simulation
  • Tools
  • More Topics
    • Softwares
    • Sequence Analysis
    • Algorithms
    • Bioinformatics Programming
    • Bioinformatics Research Updates
    • Drug Discovery
    • Phylogenetics
    • Structural Bioinformatics
    • Editorials
    • Tips & Tricks
    • Bioinformatics News
    • Featured
    • Genomics
    • Bioinformatics Infographics
  • Community
    • BiR-Research Group
    • Community Q&A
    • Ask a question
    • Join Telegram Channel
    • Join Facebook Group
    • Join Reddit Group
    • Subscription Options
    • Become a Patron
    • Write for us
  • About Us
    • About BiR
    • BiR Scope
    • The Team
    • Guidelines for Research Collaboration
    • Feedback
    • Contact Us
    • Recent @ BiR
  • Subscription
  • Account
    • Visit Dashboard
    • Login
Font ResizerAa
Bioinformatics ReviewBioinformatics Review
Search
Have an existing account? Sign In
Follow US
DockingSoftwareTools

How to install AutoDock Vina on Ubuntu?

Dr. Muniba Faiza
Last updated: April 18, 2024 1:30 pm
Dr. Muniba Faiza
Share
7 Min Read
SHARE

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:

Contents
Getting startedDownloading the filesInstallationCreating aliasesUPDATE:Reference
  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 generally, 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. 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 can 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 change 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 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 muniba@bioinformaticsreview.com.

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.
Share This Article
Facebook Copy Link Print
ByDr. Muniba Faiza
Follow:
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
Leave a Comment

Leave a Reply Cancel reply

You must be logged in to post a comment.

Starting in Bioinformatics? Do This First!
Starting in Bioinformatics? Do This First!
Tips & Tricks
[Editorial] Is it ethical to change the order of authors’ names in a manuscript?
Editorial Opinion
Installing bbtools on Ubuntu
[Tutorial] Installing BBTools on Ubuntu (Linux).
Sequence Analysis Software Tools
wes_data_analysis Whole Exome Sequencing (WES) Data visualization Toolkit
wes_data_analysis: Whole Exome Sequencing (WES) Data visualization Toolkit
Bioinformatics Programming GitHub Python

You Might Also Like

How to perform virtual screening using Pyrx?
DockingSoftwareToolsVirtual Screening

How to perform virtual screening using Pyrx?

November 30, 2022
Binding site prediction using CASTp server.
Structural BioinformaticsStructure PredictionTools

How to predict binding pocket/site using CASTp server?

December 1, 2023
AlgorithmsSoftwareTools

Recent advances in in-silico approaches for enzyme engineering

May 20, 2020
Installing bcftools on Ubuntu
GenomicsSoftwareTools

Installing BCFtools on Ubuntu

August 3, 2024
Copyright 2024 IQL Technologies
  • Journal
  • Customer Support
  • Contact Us
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Cookie Policy
  • Sitemap
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?

Not a member? Sign Up