Dissimilarity between pair of trees

How to compute the MAST distance between a pair of phylogenetic trees?

The Maximum Agreement SubTree (MAST) metrics between two phylogenetic trees is the number of leaf(ves) to be pruned to obtain a maximum shared subtree (e.g. Goddard et al. 1994).

Given two NEWICK-formatted files $treefile1 and $treefile2, each containing one unrooted phylogenetic tree on identical leaf set, the program _PAUP*_ could be used to compute the MAST distance between them. The following command lines write the required NEXUS-formatted input file $nexfile and returns the MAST distance:

When the two phylogenetic trees are rooted, the following command lines should be used:

[181221ac]