cwhidden/sprspace

Why no support for BEAST tree output?

Opened this issue · 1 comments

Very interesting paper, and code. But, wish you supported BEAST output too.

Anders.

I realize I'm nearly ten years late on this, but I was also interested in generating an SPR graph of a posterior distribution of trees sampled in BEAST 2. I did some playing around and found that it's not much trouble to convert BEAST 2 .trees and .log files to MrBayes .t and .p files with a Python script. In case anyone reading this is in the same situation, you may be interested in the beast2bayes.py script at https://github.com/jjmccollum/beast2bayes.

That said, it may be just as easy to modify split_nexus_tree.pl to do the additional step of stripping bracketed attributes (e.g., [&rate...]) and root branch lengths from the trees in BEAST outputs and to modify process_mrbayes_posterior.bash into a process_beast_posterior.bash script on this end.