Distance-based tree inference

How to infer an Neighbor-Joining (NJ) tree from a distance matrix?

The program fastme could be used to infer a NJ tree (Saitou and Nei 1987) and write it into the NEWICK-formatted file $outtree from a PHYLIP-formatted square matrix file $infile with the following command line:

[170328ac]

How to infer a BioNJ tree from a distance matrix?

The program fastme could be used to infer a BioNJ tree (Gascuel 1997) and write it into the NEWICK-formatted file $outtree from a PHYLIP-formatted square matrix file $infile with the following command line:

[170328ac]

How to infer a UPGMA tree?

How to refit the branch lengths of a tree topology from a distance matrix?

Given a tree topology in the NEWICK-formatted file $treefile, the program fastme could be used to refit its branch lengths from the PHYLIP-formatted square distance matrix file $infile and writes the resulting tree into the file $outtree.

The following command line performs the branch length refitting according to the Balanced Minimum Evolution (BME) criterion (see e.g. Desper and Gascuel 2002):

The following command line performs the branch length refitting according to the Ordinary Least-Square (OLS) criterion (see e.g. Desper and Gascuel 2002):

[181220ac]