bp_download_query_genbank command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bp_download_query_genbank: command not found
or when using sudo you get the following error message
sudo: bp_download_query_genbank: command not found
Solutions to bp_download_query_genbank: command not found
How To Fix bp_download_query_genbank: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bp_download_query_genbank is provided by libbio-db-ncbihelper-perl package.
libbio-db-ncbihelper-perl is:
Provides a single place to setup some common methods for querying NCBI web databases. Bio::DB::NCBIHelper just centralizes the methods for constructing a URL for querying NCBI GenBank and NCBI GenPept and the common HTML stripping done in postprocess_data().
The base NCBI query URL used is: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi
To fix this problem, we can install more using the command below.
sudo apt-get -y install libbio-db-ncbihelper-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-ncbihelper-perl.
sudo apt -y install libbio-db-ncbihelper-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libbio-db-ncbihelper-perl
Summary
In this tutorial we learn how to fix bp_download_query_genbank command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.