barrnap command not found

In this troubleshooting guide we learn how to fix barrnap command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

barrnap: command not found

or when using sudo you get the following error message

sudo: barrnap: command not found

Solutions to barrnap: command not found

How To Fix barrnap: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu barrnap is provided by barrnap package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install barrnap

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install barrnap.

sudo apt -y install barrnap

Or if you have aptitude installed you can use the following command.

sudo aptitude install barrnap

Summary

In this tutorial we learn how to fix barrnap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.