maqindex command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
maqindex: command not found
or when using sudo you get the following error message
sudo: maqindex: command not found
Solutions to maqindex: command not found
How To Fix maqindex: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu maqindex is provided by maqview package.
maqview is:
Maqview is graphical read alignment viewer. It is specifically designed for the Maq alignment file and allows you to see the mismatches, base qualities and mapping qualities. Maqview is nothing fancy as Consed or GAP, but just a simple viewer for you to see what happens in a particular region.
In comparison to tgap-maq, the text-based read alignment viewer written by James Bonfield, Maqview is faster and takes up much less memory and disk space in indexing. This is possibly because tgap aims to be a general-purpose viewer but Maqview fully makes use of the fact that a Maq alignment file has already been sorted. Maqview is also efficient in viewing and provides a command-line tool to quickly retrieve any region in an Maq alignment file.
To fix this problem, we can install more using the command below.
sudo apt-get -y install maqview
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install maqview.
sudo apt -y install maqview
Or if you have aptitude installed you can use the following command.
sudo aptitude install maqview
Summary
In this tutorial we learn how to fix maqindex command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.