pbsim command not found

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

Introduction

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

pbsim: command not found

or when using sudo you get the following error message

sudo: pbsim: command not found

Solutions to pbsim: command not found

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

In Ubuntu pbsim is provided by pbsim package.

pbsim is:

PacBio DNA sequencers produce two types of characteristic reads: CCS (short and low error rate) and CLR (long and high error rate), both of which could be useful for de novo assembly of genomes. PBSIM simulates those PacBio reads from a reference sequence by using either a model-based or sampling-based simulation. Simulated reads are useful, for example, when developing or evaluating sequence assemblers targeted at PacBio data.

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

sudo apt-get -y install pbsim

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

You can also use apt command to install pbsim.

sudo apt -y install pbsim

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

sudo aptitude install pbsim

Summary

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