kma_index command not found

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

Introduction

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

kma_index: command not found

or when using sudo you get the following error message

sudo: kma_index: command not found

Solutions to kma_index: command not found

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

In Ubuntu kma_index is provided by kma package.

kma is:

KMA is mapping a method designed to map raw reads directly against redundant databases, in an ultra-fast manner using seed and extend. KMA is particularly good at aligning high quality reads against highly redundant databases, where unique matches often does not exist. It works for long low quality reads as well, such as those from Nanopore. Non- unique matches are resolved using the “ConClave” sorting scheme, and a consensus sequence are outputtet in addition to other common attributes.

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

sudo apt-get -y install kma

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

You can also use apt command to install kma.

sudo apt -y install kma

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

sudo aptitude install kma

Summary

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