How To Install sumatra on Ubuntu 18.04

In this tutorial we learn how to install sumatra on Ubuntu 18.04. sumatra is fast and exact comparison and clustering of sequences

Introduction

In this tutorial we learn how to install sumatra on Ubuntu 18.04.

What is sumatra

sumatra is:

With the development of next-generation sequencing, efficient tools are needed to handle millions of sequences in reasonable amounts of time. Sumatra is a program developed by the LECA. Sumatra aims to compare sequences in a way that is fast and exact at the same time. This tool has been developed to be adapted to the type of data generated by DNA metabarcoding, i.e. entirely sequenced, short markers. Sumatra computes the pairwise alignment scores from one dataset or between two datasets, with the possibility to specify a similarity threshold under which pairs of sequences that have a lower similarity are not reported. The output can then go through a classification process with programs such as MCL or MOTHUR.

There are three methods to install sumatra on Ubuntu 18.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 sumatra Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install sumatra

Install sumatra Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sumatra

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

sudo aptitude -y install sumatra

How To Uninstall sumatra on Ubuntu 18.04

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

sudo apt-get remove sumatra

Uninstall sumatra And Its Dependencies

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

sudo apt-get -y autoremove sumatra

Remove sumatra Configurations and Data

To remove sumatra configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge sumatra

Remove sumatra configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sumatra

References

Summary

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