How To Install prank on Ubuntu 22.04

In this tutorial we learn how to install prank on Ubuntu 22.04. prank is Probabilistic Alignment Kit for DNA, codon and amino-acid sequences

Introduction

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

What is prank

prank is:

PRANK is a probabilistic multiple alignment program for DNA, codon and amino-acid sequences. It’s based on a novel algorithm that treats insertions correctly and avoids over-estimation of the number of deletion events. In addition, PRANK borrows ideas from maximum likelihood methods used in phylogenetics and correctly takes into account the evolutionary distances between sequences. Lastly, PRANK allows for defining a potential structure for sequences to be aligned and then, simultaneously with the alignment, predicts the locations of structural units in the sequences.

PRANK is a command-line program for UNIX-style environments but the same sequence alignment engine is implemented in the graphical program PRANKSTER. In addition to providing a user-friendly interface to those not familiar with Unix systems, PRANKSTER is an alignment browser for alignments saved in the HSAML format. The novel format allows for storing all the information generated by the aligner and the alignment browser is a convenient way to analyse and manipulate the data.

PRANK aims at an evolutionarily correct sequence alignment and often the result looks different from ones generated with other alignment methods. There are, however, cases where the different look is caused by violations of the method’s assumptions. To understand why things may go wrong and how to avoid that, read this explanation of differences between PRANK and traditional progressive alignment methods.

There are three methods to install prank 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 prank Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install prank

Install prank Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install prank

Install prank 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 prank using aptitude by running the following command:

sudo aptitude -y install prank

How To Uninstall prank on Ubuntu 22.04

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

sudo apt-get remove prank

Uninstall prank And Its Dependencies

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

sudo apt-get -y autoremove prank

Remove prank Configurations and Data

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

sudo apt-get -y purge prank

Remove prank configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge prank

References

Summary

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