How To Install phast on Ubuntu 22.04

In this tutorial we learn how to install phast on Ubuntu 22.04. phast is phylogenetic analysis with space/time models

Introduction

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

What is phast

phast is:

PHAST is a software package for comparative and evolutionary genomics. It consists of about half a dozen major programs, plus more than a dozen utilities for manipulating sequence alignments, phylogenetic trees, and genomic annotations. For the most part, PHAST focuses on two kinds of applications: the identification of novel functional elements, including protein-coding exons and evolutionarily conserved sequences; and statistical phylogenetic modeling, including estimation of model parameters, detection of signatures of selection, and reconstruction of ancestral sequences.

PHAST does not support phylogeny reconstruction or sequence alignment, and it is designed for use with DNA sequences only (see Comparison).

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

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

sudo apt-get update

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

sudo apt-get -y install phast

Install phast Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install phast

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

sudo aptitude -y install phast

How To Uninstall phast on Ubuntu 22.04

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

sudo apt-get remove phast

Uninstall phast And Its Dependencies

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

sudo apt-get -y autoremove phast

Remove phast Configurations and Data

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

sudo apt-get -y purge phast

Remove phast configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge phast

References

Summary

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