fasttreeMP command not found

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

Introduction

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

fasttreeMP: command not found

or when using sudo you get the following error message

sudo: fasttreeMP: command not found

Solutions to fasttreeMP: command not found

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

In Ubuntu fasttreeMP is provided by fasttree package.

fasttree is:

FastTree infers approximately-maximum-likelihood phylogenetic trees from alignments of nucleotide or protein sequences. It handles alignments with up to a million of sequences in a reasonable amount of time and memory. For large alignments, FastTree is 100-1,000 times faster than PhyML 3.0 or RAxML 7.

FastTree is more accurate than PhyML 3 with default settings, and much more accurate than the distance-matrix methods that are traditionally used for large alignments. FastTree uses the Jukes-Cantor or generalized time-reversible (GTR) models of nucleotide evolution and the JTT (Jones-Taylor-Thornton 1992) model of amino acid evolution. To account for the varying rates of evolution across sites, FastTree uses a single rate for each site (the “CAT” approximation). To quickly estimate the reliability of each split in the tree, FastTree computes local support values with the Shimodaira-Hasegawa test (these are the same as PhyML 3’s “SH-like local supports”).

This package contains a single threaded version (fasttree) and a parallel version which uses OpenMP (fasttreMP).

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

sudo apt-get -y install fasttree

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

You can also use apt command to install fasttree.

sudo apt -y install fasttree

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

sudo aptitude install fasttree

Summary

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