fa2dna command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
fa2dna: command not found
or when using sudo you get the following error message
sudo: fa2dna: command not found
Solutions to fa2dna: command not found
How To Fix fa2dna: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu fa2dna is provided by anfo package.
anfo is:
Anfo is a mapper in the spirit of Soap/Maq/Bowtie, but its implementation takes more after BLAST/BLAT. It’s most useful for the alignment of sequencing reads where the DNA sequence is somehow modified (think ancient DNA or bisulphite treatment) and/or there is more divergence between sample and reference than what fast mappers will handle gracefully (say the reference genome is missing and a related species is used instead).
To fix this problem, we can install more using the command below.
sudo apt-get -y install anfo
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install anfo.
sudo apt -y install anfo
Or if you have aptitude installed you can use the following command.
sudo aptitude install anfo
Summary
In this tutorial we learn how to fix fa2dna command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.