bp_generate_histogram command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bp_generate_histogram: command not found
or when using sudo you get the following error message
sudo: bp_generate_histogram: command not found
Solutions to bp_generate_histogram: command not found
How To Fix bp_generate_histogram: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bp_generate_histogram is provided by libbio-db-gff-perl package.
libbio-db-gff-perl is:
Bio::DB::GFF provides fast indexed access to a sequence annotation database. It supports multiple database types (ACeDB, relational), and multiple schemas through a system of adaptors and aggregators.
The following operations are supported by this module:
retrieving a segment of sequence based on the ID of a landmark
retrieving the DNA from that segment
finding all annotations that overlap with the segment
finding all annotations that are completely contained within the segment
retrieving all annotations of a particular type, either within a segment, or globally
conversion from absolute to relative coordinates and back again, using any arbitrary landmark for the relative coordinates
using a sequence segment to create new segments based on relative offsets
To fix this problem, we can install more using the command below.
sudo apt-get -y install libbio-db-gff-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libbio-db-gff-perl.
sudo apt -y install libbio-db-gff-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libbio-db-gff-perl
Summary
In this tutorial we learn how to fix bp_generate_histogram command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.