How To Install clustalw on Kali Linux

In this tutorial we learn how to install clustalw on Kali Linux. clustalw is global multiple nucleotide or peptide sequence alignment

Introduction

In this tutorial we learn how to install clustalw on Kali Linux.

What is clustalw

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.

There are three ways to install clustalw on Kali Linux . We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install clustalw Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install clustalw using apt-get by running the following command:

sudo apt-get -y install clustalw

Install clustalw Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install clustalw using apt by running the following command:

sudo apt -y install clustalw

Install clustalw Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install clustalw using aptitude by running the following command:

sudo aptitude -y install clustalw

How To Uninstall clustalw on Kali Linux

To uninstall only the clustalw package we can use the following command:

sudo apt-get remove clustalw

Uninstall clustalw And Its Dependencies

To uninstall clustalw and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove clustalw

Remove clustalw Configurations and Data

To remove clustalw configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge clustalw

Remove clustalw configuration, data, and all of its dependencies

We can use the following command to remove clustalw configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge clustalw

References

Summary

In this tutorial we learn how to install clustalw using different package management tools like apt, apt-get and aptitude.