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
Sequence Analysis

Multiple Sequence Alignment and Phylogenetic Tree construction using ClustalW2 command-line tool

Tariq Abdullah
Last updated: June 27, 2020 7:57 pm
Tariq Abdullah
Share
2 Min Read
clustalw2
SHARE

ClustalW2 is a bioinformatics tool for multiple sequence alignment of DNA or protein sequences. It can easily align sequences and generate a phylogenetic tree online (https://www.genome.jp/tools-bin/clustalw). However, in some cases, we need to perform these operations on a large number of FASTA sequences using the command-line tool of ClustalW2 [1]. It generates output files in very less time and provides quite accurate results. In this article, we will perform these operations using stand-alone tool of ClustalW2. Additionally, we will also generate a percent identity matrix (PIM) for the input sequences. PIM helps to identify the identity amongst the subjected sequences.

Let’s assume our input file name is ‘input.fasta’.  We will run ClustalW2 on the Ubuntu platform in this article. If you wish to run on Windows, then enter the same command as mentioned below. Open the command prompt (cmd) on Windows and type the following command. Don’t forget to provide the full pathway of the ClustalW2 binary installed on your system.

Open a terminal (Ctrl+Alt+T) in Ubuntu and type the following commands:

$ /usr/local/bin/clustalw2 -infile=input.fasta -tree -pim -type=protein -case=upper

Provide full path to ClustalW2 binary, generally, it is /usr/local/bin/.

If you want your sequence residues to appear in small letters in the alignment, then type -case=lower and define the type of input sequences with -type argument.

It will generate .aln file as the alignment output, .tree as the phylogenetic tree output file, and .pim file as the PIM output.

References

  1. Higgins, D. G., & Sharp, P. M. (1988). CLUSTAL: a package for performing multiple sequence alignment on a microcomputer. Gene, 73(1), 237-244.
TAGGED:ClustalW2command-linepercentage identity matrixphylogenetic treepimsequence analysisubuntu
Share This Article
Facebook Copy Link Print
ByTariq Abdullah
Tariq is founder of Bioinformatics Review and Lead Developer at IQL Technologies. His areas of expertise include algorithm design, phylogenetics, MicroArray, Plant Systematics, and genome data analysis. If you have questions, reach out to him via his homepage.
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

AlgorithmsDatabasesSequence AnalysisSoftwareTools

Simulated sequence alignment software: An alternative to MSA benchmarks

May 20, 2020
Bioinformatics ProgrammingTools

Perl one-liners for bioinformaticians

December 8, 2015
Installing MODELLER 10.1 on Linux/Ubuntu
SoftwareTools

Installing MODELLER 10.1 on Linux/Ubuntu

November 16, 2021
Installing RDPTools on Ubuntu
Sequence AnalysisSoftwareTools

Installing RDPTools on Ubuntu (Linux)

May 21, 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