How To Install barrnap on Debian 9

In this tutorial we learn how to install barrnap on Debian 9. barrnap is rapid ribosomal RNA prediction

Introduction

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

What is barrnap

barrnap is:

Barrnap (BAsic Rapid Ribosomal RNA Predictor) predicts the location of ribosomal RNA genes in genomes. It supports bacteria (5S,23S,16S), archaea (5S,5.8S,23S,16S), mitochondria (12S,16S) and eukaryotes (5S,5.8S,28S,18S).

It takes FASTA DNA sequence as input, and writes GFF3 as output. It uses the NHMMER tool that comes with HMMER 3.1 for HMM searching in RNA:DNA style. Multithreading is supported and one can expect roughly linear speed-ups with more CPUs.

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

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

sudo apt-get update

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

sudo apt-get -y install barrnap

Install barrnap Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install barrnap

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

sudo aptitude -y install barrnap

How To Uninstall barrnap on Debian 9

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

sudo apt-get remove barrnap

Uninstall barrnap And Its Dependencies

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

sudo apt-get -y autoremove barrnap

Remove barrnap Configurations and Data

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

sudo apt-get -y purge barrnap

Remove barrnap configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge barrnap

Dependencies

barrnap have the following dependencies:

References

Summary

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