Pas-Kapli / mptp

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

Bayesian sampling support for each node being a coalescent root #40

Open Pas-Kapli opened 9 years ago

Pas-Kapli commented 9 years ago

With the --bayes_multi and --bayes_single, print in the svg file on every node the frequency (which represents the Bayesian support value) at which they were sampled as coalescent roots. You may also give this information in a separate txt file (similar with the original PTP Bayesian version). In the txt output, print in each line the samples that are included in a species followed by the frequency at which their mrca was considered coalescent root (see example below).

txt example:

species support values sample1, sample2, sample3: 1.0 sample5, sample6, sample7: 1.0 sample8, sample9: 0.95 sample10, sample11: 0.94

On the svg color the branches according to the Maximum Likelihood solution (or the highest Likelihood from the Bayesian sampling if higher)