average_nucleotide_identity.py command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
average_nucleotide_identity.py: command not found
or when using sudo you get the following error message
sudo: average_nucleotide_identity.py: command not found
Solutions to average_nucleotide_identity.py: command not found
How To Fix average_nucleotide_identity.py: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu average_nucleotide_identity.py is provided by python3-pyani package.
python3-pyani is:
Pyani is a Python3 module and script that provides support for calculating average nucleotide identity (ANI) and related measures for whole genome comparisons, and rendering relevant graphical summary output. Where available, it takes advantage of multicore systems, and can integrate with SGE/OGE-type job schedulers for the sequence comparisons.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-pyani
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-pyani.
sudo apt -y install python3-pyani
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-pyani
Summary
In this tutorial we learn how to fix average_nucleotide_identity.py command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.