How To Install nanolyse on Kali Linux

In this tutorial we learn how to install nanolyse on Kali Linux. nanolyse is remove lambda phage reads from a fastq file

Introduction

In this tutorial we learn how to install nanolyse on Kali Linux.

What is nanolyse

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.

There are three methods to install nanolyse on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install nanolyse Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install nanolyse using apt-get by running the following command:

sudo apt-get -y install nanolyse

Install nanolyse Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install nanolyse using apt by running the following command:

sudo apt -y install nanolyse

Install nanolyse Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install nanolyse using aptitude by running the following command:

sudo aptitude -y install nanolyse

How To Uninstall nanolyse on Kali Linux

To uninstall only the nanolyse package we can use the following command:

sudo apt-get remove nanolyse

Uninstall nanolyse And Its Dependencies

To uninstall nanolyse and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove nanolyse

Remove nanolyse Configurations and Data

To remove nanolyse configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge nanolyse

Remove nanolyse configuration, data, and all of its dependencies

We can use the following command to remove nanolyse configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge nanolyse

Dependencies

nanolyse have the following dependencies:

References

Summary

In this tutorial we learn how to install nanolyse package on Kali Linux using different package management tools: apt, apt-get and aptitude.