How To Install lagan on Ubuntu 22.04

In this tutorial we learn how to install lagan on Ubuntu 22.04. lagan is highly parametrizable pairwise global genome sequence aligner

Introduction

In this tutorial we learn how to install lagan on Ubuntu 22.04.

What is lagan

lagan is:

Lagan takes local alignments generated by CHAOS as anchors, and limits the search area of the Needleman-Wunsch algorithm around these anchors.

Multi-LAGAN is a generalization of the pairwise algorithm to multiple sequence alignment. M-LAGAN performs progressive pairwise alignments, guided by a user-specified phylogenetic tree. Alignments are aligned to other alignments using the sum-of-pairs metric.

There are three methods to install lagan on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install lagan Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install lagan

Install lagan Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lagan

Install lagan 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install lagan

How To Uninstall lagan on Ubuntu 22.04

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

sudo apt-get remove lagan

Uninstall lagan And Its Dependencies

To uninstall lagan and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove lagan

Remove lagan Configurations and Data

To remove lagan configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge lagan

Remove lagan configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lagan

References

Summary

In this tutorial we learn how to install lagan package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.