clstr_reduce command not found

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

Introduction

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

clstr_reduce: command not found

or when using sudo you get the following error message

sudo: clstr_reduce: command not found

Solutions to clstr_reduce: command not found

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

In Ubuntu clstr_reduce is provided by cd-hit package.

cd-hit is:

cd-hit contains a number of programs designed to quickly group sequences. cd-hit groups proteins into clusters that meet a user-defined similarity threshold. cd-hit-est is similar to cd-hit, but designed to group nucleotide sequences (without introns). cd-hit-est-2d is similar to cd-hit-2d but designed to compare two nucleotide datasets. A number of other related programs are also in this package. Please see the cd-hit user manual, also part of this package, for further information.

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

sudo apt-get -y install cd-hit

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

You can also use apt command to install cd-hit.

sudo apt -y install cd-hit

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

sudo aptitude install cd-hit

Summary

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