How To Install clustalw on Debian 9

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

Introduction

In this tutorial we learn how to install clustalw on Debian 9.

What is clustalw

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.

There are three methods to install clustalw on Debian 9. 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 Debian. 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 Debian 9

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 Debian 9, we can use the command below:

sudo apt-get -y autoremove clustalw

Remove clustalw Configurations and Data

To remove clustalw configuration and data from Debian 9 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

Dependencies

clustalw have the following dependencies:

References

Summary

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