yanosim command not found

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

Introduction

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

yanosim: command not found

or when using sudo you get the following error message

sudo: yanosim: command not found

Solutions to yanosim: command not found

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

In Ubuntu yanosim is provided by yanosim package.

yanosim is:

Yanosim has three options:

  1. 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.
  2. yanosim quantify: Quantify the number of reads mapping to each transcript in a reference, so that the right number of reads can be simulated.
  3. 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.

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

sudo apt-get -y install yanosim

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

You can also use apt command to install yanosim.

sudo apt -y install yanosim

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

sudo aptitude install yanosim

Summary

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