<logTree id="substTreeFileLog" logEvery="10000" nexusFormat="true" fileName="virus.fasta.(subst).trees" branchLengths="substitutions">
<treeModel idref="treeModel"/>
<strictClockBranchRates idref="branchRates"/>
<trait name="rate" tag="rate">
<strictClockBranchRates idref="branchRates"/>
</trait>
In BEAUTi2 distributed with BEAST2, in the treelog section of the MCMC tab, there is a check box on the right hand site. When I click on this a new window appears where there is a check box 'substitutions' which I guess is the equivalent of the 'create tree log file with branch length in substitutions' box in BEAUTi from BEAST version 1. However, checking this box doesn't change anything in the xml, in fact if I open the pop up window again the box is no longer checked. Additionally when I open the pop up window by clicking the box on the right hand side of the treelog in the MCMC tab, a message appears saying 'could not add entry for branchratemodel'.
Is there a way of getting BEAST2 to output a tree in substitution units as well as the time tree? Is there anything that can be added to the xml file to make BEAST2 do this, as with the BEAST version 1 code above? I know I could get the branch lengths in substitutions by multiplying the branch length in years by the branch rate in substitutions/site/year but it seems cleaner to get BEAST2 to do this for me if possible.
Any help would be very gratefully appreciated.
--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beast-users...@googlegroups.com.
To post to this group, send email to beast...@googlegroups.com.
Visit this group at http://groups.google.com/group/beast-users.
For more options, visit https://groups.google.com/d/optout.