Pas-Kapli / mptp

mPTP - a tool for single-locus species delimitation
GNU Affero General Public License v3.0
25 stars 5 forks source link

Implement --outgroup correctly. #38

Closed xflouris closed 8 years ago

xflouris commented 8 years ago

Remove the option --outgroup and create two new options:

The first option specifies the taxa of the outgroup and accepts a comma-separated list of taxa. For unrooted trees all taxa of a subtree must be specified in order to select a unique subtree, or the specific case of one taxon can also be specified. This option will root the unrooted tree at this outgroup. For the case of rooted trees, any number of taxa will suffice, and the option will have no effect unless --outgroup_crop is specified.

--outgroup_crop

Crops the outgroup from the rooted or unrooted tree at the point of the most recent common ancestor specified by --outgroup_taxa.

xflouris commented 8 years ago

started work on this

xflouris commented 8 years ago

finished