NanoLyse command not found

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

Introduction

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

NanoLyse: command not found

or when using sudo you get the following error message

sudo: NanoLyse: command not found

Solutions to NanoLyse: command not found

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

In Ubuntu NanoLyse is provided by nanolyse package.

nanolyse is:

NanoLyse is a tool for rapid removal of contaminant DNA, using the Minimap2 aligner through the mappy Python binding. A typical application would be the removal of the lambda phage control DNA fragment supplied by ONT, for which the reference sequence is included in the package. However, this approach may lead to unwanted loss of reads from regions highly homologous to the lambda phage genome.

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

sudo apt-get -y install nanolyse

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

You can also use apt command to install nanolyse.

sudo apt -y install nanolyse

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

sudo aptitude install nanolyse

Summary

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