I was testing the functions read and write beast because I'm processing the resulting data after the beast2 analysis.
I made a very simple test where I imported the data with read.beast() function and right after I subscribe it in another file with the write.beast() function, what I noticed is that when I opened the resulting file in figtree, I would have the same topology and age nodes as the original one, but all other annotations were a bit messed (posterior probability, confidence intervals for brench lengths, etc). I checked the raw file and in fact the writing function changes some numbers in the final file.
Is there a way to fix this or am I missing something?