seqprep command not found

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

Introduction

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

seqprep: command not found

or when using sudo you get the following error message

sudo: seqprep: command not found

Solutions to seqprep: command not found

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

In Ubuntu seqprep is provided by seqprep package.

seqprep is:

SeqPrep is a program to merge paired end Illumina reads that are overlapping into a single longer read. It may also just be used for its adapter trimming feature without doing any paired end overlap. When an adapter sequence is present, that means that the two reads must overlap (in most cases) so they are forcefully merged. When reads do not have adapter sequence they must be treated with care when doing the merging, so a much more specific approach is taken. The default parameters were chosen with specificity in mind, so that they could be ran on libraries where very few reads are expected to overlap. It is always safest though to save the overlapping procedure for libraries where you have some prior knowledge that a significant portion of the reads will have some overlap.

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

sudo apt-get -y install seqprep

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

You can also use apt command to install seqprep.

sudo apt -y install seqprep

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

sudo aptitude install seqprep

Summary

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