diamond command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
diamond: command not found
or when using sudo you get the following error message
sudo: diamond: command not found
Solutions to diamond: command not found
How To Fix diamond: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu diamond is provided by diamond-aligner package.
diamond-aligner is:
DIAMOND is a sequence aligner for protein and translated DNA searches and functions as a drop-in replacement for the NCBI BLAST software tools. It is suitable for protein-protein search as well as DNA-protein search on short reads and longer sequences including contigs and assemblies, providing a speedup of BLAST ranging up to x20,000.
To fix this problem, we can install more using the command below.
sudo apt-get -y install diamond-aligner
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install diamond-aligner.
sudo apt -y install diamond-aligner
Or if you have aptitude installed you can use the following command.
sudo aptitude install diamond-aligner
Summary
In this tutorial we learn how to fix diamond command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.