kmerresistance command not found

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

Introduction

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

kmerresistance: command not found

or when using sudo you get the following error message

sudo: kmerresistance: command not found

Solutions to kmerresistance: command not found

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

In Ubuntu kmerresistance is provided by kmerresistance package.

kmerresistance is:

KmerResistance correlates mapped genes with the predicted species of WGS samples, where this allows for identification of genes in samples which have been poorly sequenced or high accuracy predictions for samples with contamination. KmerResistance has one dependency, namely KMA to perform the mapping, which is also freely available.

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

sudo apt-get -y install kmerresistance

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

You can also use apt command to install kmerresistance.

sudo apt -y install kmerresistance

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

sudo aptitude install kmerresistance

Summary

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