cutadapt command not found

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

Introduction

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

cutadapt: command not found

or when using sudo you get the following error message

sudo: cutadapt: command not found

Solutions to cutadapt: command not found

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

In Ubuntu cutadapt is provided by cutadapt package.

cutadapt is:

Cutadapt helps with biological sequence clean tasks by finding the adapter or primer sequences in an error-tolerant way. It can also modify and filter reads in various ways. Adapter sequences can contain IUPAC wildcard characters. Also, paired-end reads and even colorspace data is supported. If you want, you can also just demultiplex your input data, without removing adapter sequences at all.

This package contains the user interface.

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

sudo apt-get -y install cutadapt

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

You can also use apt command to install cutadapt.

sudo apt -y install cutadapt

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

sudo aptitude install cutadapt

Summary

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