clustalw command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
clustalw: command not found
or when using sudo you get the following error message
sudo: clustalw: command not found
Solutions to clustalw: command not found
How To Fix clustalw: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu clustalw is provided by clustalw package.
clustalw is:
This program performs an alignment of multiple nucleotide or amino acid sequences. It recognizes the format of input sequences and whether the sequences are nucleic acid (DNA/RNA) or amino acid (proteins). The output format may be selected from in various formats for multiple alignments such as Phylip or FASTA. Clustal W is very well accepted.
The output of Clustal W can be edited manually but preferably with an alignment editor like SeaView or within its companion Clustal X. When building a model from your alignment, this can be applied for improved database searches. The Debian package hmmer creates such in form of an HMM.
To fix this problem, we can install more using the command below.
sudo apt-get -y install clustalw
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install clustalw.
sudo apt -y install clustalw
Or if you have aptitude installed you can use the following command.
sudo aptitude install clustalw
Summary
In this tutorial we learn how to fix clustalw command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.