fahash command not found

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

Introduction

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

fahash: command not found

or when using sudo you get the following error message

sudo: fahash: command not found

Solutions to fahash: command not found

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

In Ubuntu fahash is provided by ncbi-epcr package.

ncbi-epcr is:

Electronic PCR (e-PCR) is computational procedure that is used to identify sequence tagged sites(STSs), within DNA sequences. e-PCR looks for potential STSs in DNA sequences by searching for subsequences that closely match the PCR primers and have the correct order, orientation, and spacing that could represent the PCR primers used to generate known STSs.

The new version of e-PCR implements a fuzzy matching strategy. To reduce likelihood that a true STS will be missed due to mismatches, multiple discontiguous words may be used instead of a single exact word. Each of this word has groups of significant positions separated by ‘wildcard’ positions that are not required to match. In addition, it is also possible to allow gaps in the primer alignments.

The main motivation for implementing reverse searching (called Reverse e-PCR) was to make it feasible to search the human genome sequence and other large genomes. The new version of e-PCR provides a search mode using a query sequence against a sequence database.

This program is retired upstream and it is suggested to use Primer-Blast https://www.ncbi.nlm.nih.gov/tools/primer-blast/ instead.

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

sudo apt-get -y install ncbi-epcr

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

You can also use apt command to install ncbi-epcr.

sudo apt -y install ncbi-epcr

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

sudo aptitude install ncbi-epcr

Summary

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