beast-dev / beast-mcmc

Bayesian Evolutionary Analysis Sampling Trees
http://beast.community
GNU Lesser General Public License v2.1
192 stars 73 forks source link

Unify reading and writing of trees for utility programs #196

Open msuchard opened 9 years ago

msuchard commented 9 years ago

Originally reported on Google Code with ID 187

LogCombiner and TreeAnnotator use different code for writing trees. We need to use the
same code 
(move NexusExporter from dr.app.tools to dr.evolution.io). The Nexus reading and writing
needs to 
maintain a distinction between a 'node attribute' and a 'branch attribute'. This may
require an 
additional flag for the attribute (possibly isBranchAttribute(String attributeName)
in RootedTree).

I don't propose using NexusExporter for BEAST's TreeLogger as the API is inappropriate.

Reported by rambaut on 2009-10-01 11:33:48

rambaut commented 7 years ago

I have raised this on to milestone v1.10, primarily for the maintenance of node vs branch attributes.