dendropy-format command not found

In this troubleshooting guide we learn how to fix dendropy-format command not found error message

Introduction

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

dendropy-format: command not found

or when using sudo you get the following error message

sudo: dendropy-format: command not found

Solutions to dendropy-format: command not found

How To Fix dendropy-format: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dendropy-format is provided by sumtrees package.

sumtrees is:

SumTrees is a program to summarize non-parameteric bootstrap or Bayesian posterior probability support for splits or clades on phylogenetic trees.

The basis of the support assessment is typically given by a set of non-parametric bootstrap replicate tree samples produced by programs such as GARLI or RAxML, or by a set of MCMC tree samples produced by programs such as Mr. Bayes or BEAST. The proportion of trees out of the samples in which a particular split is found is taken to be the degree of support for that split as indicated by the samples. The samples that are the basis of the support can be distributed across multiple files, and a burn-in option allows for an initial number of trees in each file to be excluded from the analysis if they are not considered to be drawn from the true support distribution.

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

sudo apt-get -y install sumtrees

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

You can also use apt command to install sumtrees.

sudo apt -y install sumtrees

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

sudo aptitude install sumtrees

Summary

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