fastq_pair command not found

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

Introduction

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

fastq_pair: command not found

or when using sudo you get the following error message

sudo: fastq_pair: command not found

Solutions to fastq_pair: command not found

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

In Ubuntu fastq_pair is provided by fastq-pair package.

fastq-pair is:

This package rewrites the fastq files with the sequences in order, with matching files for the two files provided on the command line, and then any single reads that are not matched are place in two separate files, one for each original file.

This code is designed to be fast and memory efficient, and works with large fastq files. It does not store the whole file in memory, but rather just stores the locations of each of the indices in the first file provided in memory.

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

sudo apt-get -y install fastq-pair

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

You can also use apt command to install fastq-pair.

sudo apt -y install fastq-pair

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

sudo aptitude install fastq-pair

Summary

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