How To Install pynast on Debian 9

In this tutorial we learn how to install pynast on Debian 9. pynast is alignment of short DNA sequences

Introduction

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

What is pynast

pynast is:

The package provices a reimplementation of the Nearest Alignment Space Termination tool in Python. It was prepared for next generation sequencers.

Given a set of sequences and a template alignment, PyNAST will align the input sequences against the template alignment, and return a multiple sequence alignment which contains the same number of positions (or columns) as the template alignment. This facilitates the analysis of new sequences in the context of existing alignments, and additional data derived from existing alignments such as phylogenetic trees. Because any protein or nucleic acid sequences and template alignments can be provided, PyNAST is not limited to the analysis of 16s rDNA sequences.

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

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

sudo apt-get update

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

sudo apt-get -y install pynast

Install pynast Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pynast

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

sudo aptitude -y install pynast

How To Uninstall pynast on Debian 9

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

sudo apt-get remove pynast

Uninstall pynast And Its Dependencies

To uninstall pynast and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove pynast

Remove pynast Configurations and Data

To remove pynast configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge pynast

Remove pynast configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pynast

Dependencies

pynast have the following dependencies:

References

Summary

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