AdapterRemoval command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
AdapterRemoval: command not found
or when using sudo you get the following error message
sudo: AdapterRemoval: command not found
Solutions to AdapterRemoval: command not found
How To Fix AdapterRemoval: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu AdapterRemoval is provided by adapterremoval package.
adapterremoval is:
This program searches for and removes remnant adapter sequences from High- Throughput Sequencing (HTS) data and (optionally) trims low quality bases from the 3’ end of reads following adapter removal. AdapterRemoval can analyze both single end and paired end data, and can be used to merge overlapping paired-ended reads into (longer) consensus sequences. Additionally, the AdapterRemoval may be used to recover a consensus adapter sequence for paired-ended data, for which this information is not available.
To fix this problem, we can install more using the command below.
sudo apt-get -y install adapterremoval
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install adapterremoval.
sudo apt -y install adapterremoval
Or if you have aptitude installed you can use the following command.
sudo aptitude install adapterremoval
Summary
In this tutorial we learn how to fix AdapterRemoval command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.