Remco Bouckaert
unread,Feb 19, 2013, 3:50:32 PM2/19/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to beast...@googlegroups.com
Hi Gael,
To start the tree with a tree in Newick format, you need the TreeParser
to initialise the tree. You can insert this in the XML by editing it
(this is not possible in BEAUti yet) for example, like so:
<stateNode spec='beast.util.TreeParser' id='Tree.t:xyz'
IsLabelledNewick='true'>
<input name='newick'>
(chimp:0.009603178109055574,bonobo:0.009603178109055574):0.01049225186311567):0.013... rest of newick tree here
</input>
</stateNode>
It is a bit tricky, because you have to ensure that
- the id (here id='Tree.t:xyz') is the same as in your original file.
- the element name (here stateNode) should be the same as in the
original file.
- if there is an initaliser generated by BEAUti of the form
<init estimate="false" id="RandomTree.t:xxx" initial="@Tree.t:xxx"
spec="beast.evolution.tree.RandomTree" taxa="@xxx">
remove this element from the file, otherwise the tree will be Newick
tree will be overwritten by a random tree.
Cheers,
Remco