How To Install bowtie2-examples on Ubuntu 18.04

In this tutorial we learn how to install bowtie2-examples on Ubuntu 18.04. bowtie2-examples is Examples for bowtie2

Introduction

In this tutorial we learn how to install bowtie2-examples on Ubuntu 18.04.

What is bowtie2-examples

bowtie2-examples is:

An ultrafast and memory-efficient tool for aligning sequencing reads to long reference sequences. It is particularly good at aligning reads of about 50 up to 100s or 1,000s of characters, and particularly good at aligning to relatively long (e.g. mammalian) genomes.

Bowtie 2 indexes the genome with an FM Index to keep its memory footprint small: for the human genome, its memory footprint is typically around 3.2 GB. Bowtie 2 supports gapped, local, and paired-end alignment modes

This package provides some example data to work with bowtie2.

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

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

sudo apt-get update

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

sudo apt-get -y install bowtie2-examples

Install bowtie2-examples Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install bowtie2-examples

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

sudo aptitude -y install bowtie2-examples

How To Uninstall bowtie2-examples on Ubuntu 18.04

To uninstall only the bowtie2-examples package we can use the following command:

sudo apt-get remove bowtie2-examples

Uninstall bowtie2-examples And Its Dependencies

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

sudo apt-get -y autoremove bowtie2-examples

Remove bowtie2-examples Configurations and Data

To remove bowtie2-examples configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge bowtie2-examples

Remove bowtie2-examples configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge bowtie2-examples

References

Summary

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