Dear Adrien,
There are two ways of doing it:
If you want to sample the date of a specific tip (or a few tips) then create a taxon set and add your tips to it. Then in the 'Tips' tab, turn on 'Tip date sampling: Sampling with individual priors' and 'Apply to taxon set' choosing your taxon set. If you now look in the Priors table you will see parameters called 'age(My_Tip)' on which you can now set a prior. These ages will be recorded in the log file.
Some warning - these will generally need to be tips that are embedded within clades with known tip dates (if it is a basal branch then it will be able to wander as old as it wants).
The second method is for when you have dates but there is a lack of precision (i.e., you only know the year of sampling) and you want to sample uniformly from that date uncertainty. This will usually not be informative about the date but will allow you to accommodate the lack of precision. For this you add a 'precision' attribute to the date element:
<taxon id="D4Brazi82">
<date value="1982.0" direction="forwards" units="years" precision="1.0"/>
</taxon>
The date value is the start of the range and the precision is the width. So in the above the precision is 1 year so the uncertainty in the date ranges from 1982.0 to 1983.0.
You then need to add:
<leafHeight taxon="D4Brazi82">
<parameter id="D4Brazi82.height"/>
</leafHeight>
to the tree model,
<randomWalkOperator windowSize="0.1" weight="1">
<parameter idref="D4Brazi82.height"/>
</randomWalkOperator>
to the operators, and if you want:
<parameter idref="D4Brazi82.height"/>
to the log file.
An example XML file for this can be found here: examples/testXML/testTipDatePrecision.xml
This is on my list of features to add to BEAUti.
Andrew
> --
> 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?hl=en.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>