prottest command not found

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

Introduction

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

prottest: command not found

or when using sudo you get the following error message

sudo: prottest: command not found

Solutions to prottest: command not found

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

In Ubuntu prottest is provided by prottest package.

prottest is:

PROTTEST (ModelTest’s relative) is a program for selecting the model of protein evolution that best fits a given set of sequences (alignment). This java program is based on the Phyml program (for maximum likelihood calculations and optimization of parameters) and uses the PAL library as well. Models included are empirical substitution matrices (such as WAG, LG, mtREV, Dayhoff, DCMut, JTT, VT, Blosum62, CpREV, RtREV, MtMam, MtArt, HIVb, and HIVw) that indicate relative rates of amino acid replacement, and specific improvements (+I:invariable sites, +G: rate heterogeneity among sites, +F: observed amino acid frequencies) to account for the evolutionary constraints impossed by conservation of protein structure and function. ProtTest uses the Akaike Information Criterion (AIC) and other statistics (AICc and BIC) to find which of the candidate models best fits the data at hand.

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

sudo apt-get -y install prottest

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

You can also use apt command to install prottest.

sudo apt -y install prottest

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

sudo aptitude install prottest

Summary

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