generate_test_clusters command not found

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

Introduction

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

generate_test_clusters: command not found

or when using sudo you get the following error message

sudo: generate_test_clusters: command not found

Solutions to generate_test_clusters: command not found

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

In Ubuntu generate_test_clusters is provided by dnaclust package.

dnaclust is:

dnaclust is a tool for clustering large number of short DNA sequences. The clusters are created in such a way that the “radius” of each clusters is no more than the specified threshold.

The input sequences to be clustered should be in Fasta format. The id of each sequence is based on the first word of the seqeunce in the Fasta format. The first word is the prefix of the header up to the first occurrence of white space characters in the header.

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

sudo apt-get -y install dnaclust

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

You can also use apt command to install dnaclust.

sudo apt -y install dnaclust

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

sudo aptitude install dnaclust

Summary

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