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
SoftwareTips & TricksTools

How to install the LigAlign plugin on Pymol on Ubuntu (Linux)?

Dr. Muniba Faiza
Last updated: March 29, 2022 4:47 pm
Dr. Muniba Faiza
Share
4 Min Read
How to install the LigAlign plugin on Pymol on Ubuntu (Linux)?
SHARE

Few errors appear when we try to run the LigAlign plugin [1] in Pymol [2]. For example, if you try to run the ligand_alignment plugin, it will give you multiple errors including “Unable to initialize LigAlign v1.00“, or “can’t run LigAlign v1.00” or “incorrect Python syntax” or “Plugin has been installed but initialization failed“. In this article, we explain the reason for this issue and how you can rectify these errors.

Contents
Downloading LigAlign pluginInstalling LigAlignInstalling LigAlign pluginReferences

LigAlign plugin requires Pymol that runs on Python 2.x and the latest versions are based on Python 3.x. To avoid these errors, you need to install an old version of Pymol, i.e., 1.8.x/1.7.x. This version is easy to install from the Ubuntu repository. But the problem is that it will overcome your newer version of Pymol and you don’t want that especially when you have a licensed version. I have been stuck with the same issue too. You would think of changing the path and would try to set the latest one as default but this can mess things up for beginners. I even tried to change the ligand_alignment.py script from version 2.x to 3.x but it won’t work. Because apparently, the 2to3 command does not work every time even after listing explicit fixers via arguments.

So, here is a simple solution for that. Install both versions. Follow this tutorial to install old and new versions of Pymol on the same system.

Now, after installing both the versions, download and install the LigAlign plugin as shown below.

Downloading LigAlign plugin

Go to this page and download the LigAlign or paste the following command into a terminal.

$ wget http://compbio.cs.toronto.edu/ligalign/ligalign_20100701.zip

Installing LigAlign

You can upload the zip file to Pymol as a plugin but it does not work every time. It will not accept it. Therefore, we will first extract it and then upload the python files one by one.

$ unzip ligalign_20100701.zip

It will create a new directory named ‘ligalign’. Move inside it and you will find three python files: keynat.py, munkres.py, and ligand_alignment.py. 

Installing LigAlign plugin

Now, open the old version of Pymol. We are going to install the above-mentioned files one by one. Follow the steps given below.

  • Go to ‘Plugin’ –> ‘Plugin Manager’ –> ‘Install New Plugin’.
  • Click on ‘Choose File’.
  • Direct to the ligalign directory.
  • Select file ‘keynat.py‘. If something prompts, then click ‘yes’.

Now follow the same steps to install ‘munkres.py‘ and at last ‘ligand_alignment.py‘. Remember to install ligand_alignment.py in the last else it will give you errors.

Now, you should be able to see “LigAlign v1.00 loaded” on the Pymol console. Enjoy working with compounds!


References

  1. Heifets, A., & Lilien, R. H. (2010). LigAlign: flexible ligand-based active site alignment and analysis. Journal of Molecular Graphics and Modelling, 29(1), 93-101.
  2. The PyMOL Molecular Graphics System, Version 1.2r3pre, Schrödinger, LLC.
TAGGED:LigAlign pluginligand_alignment pluginmultiple pymol versionsnew version pymolold version PymolPymol 1.7.xPymol 1.8.xUbuntu installation
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

VISPR- A new tool to visualize CRISPR screening experiments
GenomicsSoftwareTools

VISPR- A new tool to visualize CRISPR screening experiments

July 2, 2021
[Tutorial] Installing HTSlib on Ubuntu (Linux).
SoftwareTools

[Tutorial] Installing HTSlib on Ubuntu (Linux).

March 13, 2025
GenomicsSoftware

GenVisR : A tool for genomic visualization

May 20, 2020
Easy installation of some alignment software on Ubuntu (Linux) 18.04 & 20.04
Sequence AnalysisSoftwareTools

Easy installation of some alignment software on Ubuntu (Linux) 18.04 & 20.04

July 8, 2021
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