jmodeltest command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
jmodeltest: command not found
or when using sudo you get the following error message
sudo: jmodeltest: command not found
Solutions to jmodeltest: command not found
How To Fix jmodeltest: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu jmodeltest is provided by jmodeltest package.
jmodeltest is:
jModelTest is a tool to carry out statistical selection of best-fit models of nucleotide substitution. It implements five different model selection strategies: hierarchical and dynamical likelihood ratio tests (hLRT and dLRT), Akaike and Bayesian information criteria (AIC and BIC), and a decision theory method (DT). It also provides estimates of model selection uncertainty, parameter importances and model-averaged parameter estimates, including model-averaged tree topologies. jModelTest 2 includes High Performance Computing (HPC) capabilities and additional features like new strategies for tree optimization, model- averaged phylogenetic trees (both topology and branch length), heuristic filtering and automatic logging of user activity.
To fix this problem, we can install more using the command below.
sudo apt-get -y install jmodeltest
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install jmodeltest.
sudo apt -y install jmodeltest
Or if you have aptitude installed you can use the following command.
sudo aptitude install jmodeltest
Summary
In this tutorial we learn how to fix jmodeltest command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.