lagan.pl command not found

In this troubleshooting guide we learn how to fix lagan.pl command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

lagan.pl: command not found

or when using sudo you get the following error message

sudo: lagan.pl: command not found

Solutions to lagan.pl: command not found

How To Fix lagan.pl: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lagan.pl is provided by lagan package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install lagan

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install lagan.

sudo apt -y install lagan

Or if you have aptitude installed you can use the following command.

sudo aptitude install lagan

Summary

In this tutorial we learn how to fix lagan.pl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.