matsengrp / historydag

https://matsengrp.github.io/historydag
GNU General Public License v3.0
0 stars 1 forks source link

Beast tree loading #60

Closed willdumm closed 1 year ago

willdumm commented 1 year ago

This PR adds basic support for loading trees from BEAST.

In addition, in order to make transition matrix and ambiguity code options more explicit, and to reduce overhead in functions which require those options, this PR introduces some new classes in parsimony.py:

I'm very bad at naming, so let me know if you have suggestions @marybarker. In particular, I was using transition_model lots for variables that expect TransitionAlphabet, so I should probably change the class name to match... but is TransitionModel the best we can come up with?

willdumm commented 1 year ago

This PR addresses #42

willdumm commented 1 year ago

Replaced by #63