How To Install yanosim on Kali Linux
Introduction
In this tutorial we learn how to install yanosim on Kali Linux.
What is yanosim
yanosim is:
Yanosim has three options:
- yanosim model: Creates an model of mismatches, insertions and deletions based on an alignment of nanopore DRS reads to a reference. Reads should be aligned to a transcriptome i.e. without spliced alignment, using minimap2. They should have the cs tag.
- yanosim quantify: Quantify the number of reads mapping to each transcript in a reference, so that the right number of reads can be simulated.
- yanosim simulate: Given a model created using yanosim model, and per-transcript read counts created using yanosim simulate, simulate error-prone long-reads from the given fasta file.
There are three methods to install yanosim 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 yanosim Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install yanosim using apt-get by running the following command:
sudo apt-get -y install yanosimInstall yanosim Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install yanosim using apt by running the following command:
sudo apt -y install yanosimInstall yanosim 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 updateAfter updating apt database, We can install yanosim using aptitude by running the following command:
sudo aptitude -y install yanosimHow To Uninstall yanosim on Kali Linux
To uninstall only the yanosim package we can use the following command:
sudo apt-get remove yanosimUninstall yanosim And Its Dependencies
To uninstall yanosim and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove yanosimRemove yanosim Configurations and Data
To remove yanosim configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge yanosimRemove yanosim configuration, data, and all of its dependencies
We can use the following command to remove yanosim configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge yanosimDependencies
yanosim have the following dependencies:
References
Summary
In this tutorial we learn how to install yanosim package on Kali Linux using different package management tools: apt, apt-get and aptitude.