REPtrim command not found

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

Introduction

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

REPtrim: command not found

or when using sudo you get the following error message

sudo: REPtrim: command not found

Solutions to REPtrim: command not found

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

In Ubuntu REPtrim is provided by dascrubber package.

dascrubber is:

The Dazzler Scrubbing Suite produces a set of edited reads that are guaranteed to

  • be continuous stretches of the underlying genome (i.e. no unremoved adapters and not chimers)
  • have no very low quality stretches (i.e. the error rate never exceeds some reasonable maximum, 20% or so in the case of Pacbio data). Its secondary goal is to do so with the minimum removal of data and splitting of reads.

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

sudo apt-get -y install dascrubber

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

You can also use apt command to install dascrubber.

sudo apt -y install dascrubber

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

sudo aptitude install dascrubber

Summary

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