How To Install vsearch on Ubuntu 18.04

In this tutorial we learn how to install vsearch on Ubuntu 18.04. vsearch is tool for processing metagenomic sequences

Introduction

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

What is vsearch

vsearch is:

Versatile 64-bit multithreaded tool for processing metagenomic sequences, including searching, clustering, chimera detection, dereplication, sorting, masking and shuffling

The aim of this project is to create an alternative to the USEARCH tool developed by Robert C. Edgar (2010). The new tool should:

  • have a 64-bit design that handles very large databases and much more than 4GB of memory
  • be as accurate or more accurate than usearch
  • be as fast or faster than usearch

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

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

sudo apt-get update

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

sudo apt-get -y install vsearch

Install vsearch Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install vsearch

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

sudo aptitude -y install vsearch

How To Uninstall vsearch on Ubuntu 18.04

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

sudo apt-get remove vsearch

Uninstall vsearch And Its Dependencies

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

sudo apt-get -y autoremove vsearch

Remove vsearch Configurations and Data

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

sudo apt-get -y purge vsearch

Remove vsearch configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge vsearch

References

Summary

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