gethist command not found

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

Introduction

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

gethist: command not found

or when using sudo you get the following error message

sudo: gethist: command not found

Solutions to gethist: command not found

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

In Ubuntu gethist is provided by pirs package.

pirs is:

The program pIRS can be used for simulating Illumina PE reads, with a series of characters generated by Illumina sequencing platform, such as insert size distribution, sequencing error(substitution, insertion, deletion), quality score and GC content-coverage bias.

The insert size follows a normal distribution, so users should set the mean value and standard deviation. Usually the standard deviation is set as 1/20 of the mean value. The normal distribution by Box-Muller method is simulated.

The program simulates sequencing error, quality score and GC content- coverage bias according to the empirical distribution profile. Some default profiles counted from lots of real sequencing data are provided.

To simulate reads from diploid genome, users should simulate the diploid genome sequence firstly by setting the ratio of heterozygosis SNP, heterozygosis InDel and structure variation.

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

sudo apt-get -y install pirs

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

You can also use apt command to install pirs.

sudo apt -y install pirs

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

sudo aptitude install pirs

Summary

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