artfastqgenerator command not found

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

Introduction

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

artfastqgenerator: command not found

or when using sudo you get the following error message

sudo: artfastqgenerator: command not found

Solutions to artfastqgenerator: command not found

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

In Ubuntu artfastqgenerator is provided by artfastqgenerator package.

artfastqgenerator is:

ArtificialFastqGenerator takes the reference genome (in FASTA format) as input and outputs artificial FASTQ files in the Sanger format. It can accept Phred base quality scores from existing FASTQ files, and use them to simulate sequencing errors. Since the artificial FASTQs are derived from the reference genome, the reference genome provides a gold-standard for calling variants (Single Nucleotide Polymorphisms (SNPs) and insertions and deletions (indels)). This enables evaluation of a Next Generation Sequencing (NGS) analysis pipeline which aligns reads to the reference genome and then calls the variants.

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

sudo apt-get -y install artfastqgenerator

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

You can also use apt command to install artfastqgenerator.

sudo apt -y install artfastqgenerator

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

sudo aptitude install artfastqgenerator

Summary

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