grabix command not found

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

Introduction

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

grabix: command not found

or when using sudo you get the following error message

sudo: grabix: command not found

Solutions to grabix: command not found

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

In Ubuntu grabix is provided by grabix package.

grabix is:

In biomedical research it is increasing practice to study the genetic basis of disease. This now frequently comprises the sequencing of human sequences. The output of the machine however is redundant, and the real sequence is the best sequence to explain the redundancy. The exchange of data happens only with compressed files - to huge and redundant to perform otherwise. One should avoid uncompression whenever possible.

grabix leverages the fantastic BGZF library of the samtools package to provide random access into text files that have been compressed with bgzip. grabix creates it’s own index (.gbi) of the bgzipped file. Once indexed, one can extract arbitrary lines from the file with the grab command. Or choose random lines with the, well, random command.

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

sudo apt-get -y install grabix

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

You can also use apt command to install grabix.

sudo apt -y install grabix

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

sudo aptitude install grabix

Summary

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