AWK script that converts MCMC_SEQ Bayesian trees generated by PHYLONET to the format TreeAnnotator can read. TreeAnnotator can be found in the BEAST package. Trees can be plotted with FigTree.
Script is created for Thomas Marcussen, look up Thomas on ResearchGate.
awk -f p2t.awk PHYLONET_TREE_FILE > TREEANNOTATOR_FILE
This script is tested with these versions
- PHYLONET v3.6.5
- TreeAnnotator v1.7.4
Compatible with Gnu AWK.
GNU GENERAL PUBLIC LICENSE V3.0