BEAST2-Dev / BEASTLabs

A package for BEAST 2 implementing generally useful stuff
6 stars 4 forks source link

Ancestral state reconstruction for multiple MRCAs with datatype-awareness #5

Open Anaphory opened 7 years ago

Anaphory commented 7 years ago

I have written and tested an AncestralStatesLogger extension, which allows the reconstruction at multiple MRCA nodes, each specified by a taxonset, and which logs the original representation of the value instead of the internal one (eg. covarion logs as 01ab instead of 0123 – The code for that was taken from the AncestralStateTreeLikelihood class in beast-classics).

That class should be backward compatible with AncestralStateLogger and I would be happy to create a pull-request to it for this directory, if you like.

Anaphory commented 6 years ago

Do you want that contribution here, or what would be a good place to provide that functionality to the wider BEAST users community?