mcmc_analysis command not found

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

Introduction

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

mcmc_analysis: command not found

or when using sudo you get the following error message

sudo: mcmc_analysis: command not found

Solutions to mcmc_analysis: command not found

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

In Ubuntu mcmc_analysis is provided by prime-phylo package.

prime-phylo is:

PrIME (Probabilistic Integrated Models of Evolution) is a package supporting inference of evolutionary parameters in a Bayesian framework using Markov chain Monte Carlo simulation. A distinguishing feature of PrIME is that the species tree is taken into account when analyzing gene trees.

The input data to PrIME is a multiple sequence alignment in FASTA format and the output data contains trees in Newick format.

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

sudo apt-get -y install prime-phylo

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

You can also use apt command to install prime-phylo.

sudo apt -y install prime-phylo

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

sudo aptitude install prime-phylo

Summary

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