I'm not sure how to sample trees from the time.trees file of each BEAST output. They seem to be in a format that needs to be parsed before being read as a newick tree file. This is an example of the format for reference:
tree STATE_34500000 [&lnP=-7445.788541504573,posterior=-7445.788541504573] = [&R] ((((15:[&rate=7.863970619619723E-22]4.1639792200359123E17,(38:[&rate=7.6865751969101575E-22]4.1629991858418214E17,(3:[&rate=7.380811542223846E-22]4.1607411717977811E17,((17:[&rate=8.108898250086362E-22]3.1046160905563469E17,14:[&rate=7.503648615970383E-22]3.1046160905563469E17):[&rate=8.144955301678645E-22]1.05144646219628288E17,37:[&rate=8.305778878703681E-22]4.1560625527526298E17):[&rate=8.031643473119222E-22]4.67861904515136E14):
I'm not sure how to sample trees from the
time.trees
file of each BEAST output. They seem to be in a format that needs to be parsed before being read as a newick tree file. This is an example of the format for reference:Do you have any suggestions on sampling them?