matsengrp / larch

Inference and manipulation of history DAGs
2 stars 2 forks source link

Beast tree loading #65

Open marybarker opened 1 year ago

marybarker commented 1 year ago

We would like to add Beast output (nexus) files to the repertoire of input formats that larch-usher accepts. This format is overall straightforward, with the caveats that the macros should be case insensitive.

Here is a site that shows several simple Beast output Nexus files.

The most complicated part will be parsing the trees presented in newick format in the Begin Trees block.

marybarker commented 9 months ago

The trees we would load would have sequences associated to their leaf nodes, but would not have sequences for ancestral states, so we will have to implement