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
SoftwareTools

How to compare two pairwise alignments using Modeller-10.1?

Dr. Muniba Faiza
Last updated: November 20, 2021 4:07 pm
Dr. Muniba Faiza
Share
3 Min Read
How to compare two pairwise alignments using Modeller-10.1?
SHARE

Modeller-10.1 [1, 2] is the latest version of the software. We can perform multiple tasks using this software including homology modeling, comparison of alignments and structures, and so on. In this article, we are going to compare two pairwise alignments using Modeller-10.1.

Contents
Files requiredPreparing input filesPreparing Python scriptComparing alignmentsReferences

To run modeller, you need to enter a license key. If you have entered a license key during its installation, then you can proceed further otherwise you will have to define one as shown below. You can easily obtain a license key from here. It is free for academic users.

  • Go to home/user/Downloads/modeller-10.1/modlib/modeller
  • Open file ‘config.py’ in a text editor.
  • Write the license key in the second line next to “license=“.

Files required

For comparing alignments, you need two input PDB files and a Python script, namely, ‘compare_alignments.py’. You can find this script inside your modeller directory. For example, if you have installed it in the Downloads directory, then the path to the script would be:

/home/user/Downloads/modeller-10.1/examples/commands/compare_alignments.py

Remember, here user refers to the username in your system.

Preparing input files

Download PDB files that you want to compare and save them inside /home/user/Downloads/modeller-10.1/examples/atom_files directory. You can also remove extra chains from the file.

Preparing Python script

Open the Python script ‘compare_alignments.py‘ and write the names of the input PDB files that you want to compare as shown below.

# Generate and save sequence-sequence alignment:
aln = Alignment(env)
for code in ('1fas', '2ctx'):
mdl = Model(env, file=code)
aln.append_model(mdl=mdl, align_codes=code, atom_files=code)
aln.align(gap_penalties_1d=(-600, -400))
aln.write(file='toxin-seq.ali')

Change the names of the files in line 3 shown in the above code snippet, i.e., “for code in (‘1fas’, ‘2ctx’):”.

Here, we are using the default files: 1fas & 2ctx.

After changing the names, save this file.

Comparing alignments

Use modpy.sh file to run modeller instead of mod10.1. mod10.1 will keep giving you warnings and errors such as

‘import site’ failed

or

‘Could not find platform independent libraries <prefix>’.

To run modeller using modpy.sh, you need Python 2.3 and 3.9 installed.

Now run the script using the following command.

$ /home/user/Downloads/modeller-10.1/bin/modpy.sh python3 /home/user/Downloads/modeller-10.1/examples/commands/compare_alignments.py

If you are not using Python3 then just write python. It will take a few seconds to finish the job and the output will look like this.

comparing alignments output


References

  1. Webb, B., & Sali, A. (2014). Comparative protein structure modeling using MODELLER. Current protocols in bioinformatics, 47(1), 5-6.
  2. Martí-Renom, M. A., Stuart, A. C., Fiser, A., Sánchez, R., Melo, F., & Šali, A. (2000). Comparative protein structure modeling of genes and genomes. Annual review of biophysics and biomolecular structure, 29(1), 291-325.
TAGGED:alignmentscomparing alignmentsLinuxModeller-10.1protein structure alignmentubuntu
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.

10 years of Bioinformatics Review: From a Blog to a Bioinformatics Knowledge Hub!
Editorial
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

You Might Also Like

Installing GROMACS on Ubuntu 20.04 with CUDA GPU Support
SoftwareTools

Method-2: Installing GROMACS on Ubuntu 20.04 with CUDA GPU Support

April 4, 2023
How to install idock on Ubuntu?
DockingSoftwareTools

How to install idock on Ubuntu?

July 23, 2021
How to perform site-specific docking using Pyrx?
DockingSoftwareTools

How to perform site-specific docking using Pyrx?

July 25, 2021
Installing mgltools2 package on ubuntu
DockingSoftwareTools

Installing MGLTools2 package (ADFR/AGFR/AutoSite) on Ubuntu

October 17, 2020
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