How To Install nanolyse on Ubuntu 22.04
Introduction
In this tutorial we learn how to install nanolyse on Ubuntu 22.04.
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 Ubuntu 22.04. 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 first since aptitude is usually not installed by default on Ubuntu. 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 Ubuntu 22.04
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 Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove nanolyse
Remove nanolyse Configurations and Data
To remove nanolyse configuration and data from Ubuntu 22.04 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
References
Summary
In this tutorial we learn how to install nanolyse package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.