Debian Codegraph @

examples/Calibrations/test_5t_1c-pointSyntax.xml

raw symbols SCIP
1 <?xml version="1.0" standalone="yes"?>
2 <!-- Test calibration implementation: 5 taxa - prior on parent of a single taxon, uniform prior -->
3 <beast>
4 <taxa id="taxa">
5 <taxon id="a"/>
6 <taxon id="b"/>
7 <taxon id="c"/>
8 <taxon id="d"/>
9 <taxon id="e"/>
10 </taxa>
11
12 <taxa id="cal">
13 <taxon idref="a"/>
14 </taxa>
15
16 <yuleModel id="yule" units="substitutions">
17 <birthRate>
18 <parameter id="yule.birthRate" value="1.0" lower="0.1" upper="10.0"/>
19 </birthRate>
20 </yuleModel>
21
22 <treeModel id="tree">
23 <newick>
24 (((a:5,b:5):1,(c:5,d:5):1):1,e:7)
25 </newick>
26 <rootHeight>
27 <parameter id="tree.rootHeight"/>
28 </rootHeight>
29 <nodeHeights rootNode="false" internalNodes="true">
30 <parameter id="tree.internalNodeHeights"/>
31 </nodeHeights>
32 <nodeHeights rootNode="true" internalNodes="true">
33 <parameter id="tree.allNodeHeights"/>
34 </nodeHeights>
35 </treeModel>
36
37 <speciationLikelihood id="speciation">
38 <model>
39 <yuleModel idref="yule"/>
40 </model>
41 <speciesTree>
42 <treeModel idref="tree"/>
43 </speciesTree>
44 <calibration>
45 <point>
46 <uniformDistributionModel>
47 <lower>4</lower>
48 <upper>7</upper>
49 </uniformDistributionModel>
50 <taxa idref="cal"/>
51 </point>
52 </calibration>
53 </speciationLikelihood>
54
55 <tmrcaStatistic id="tmrca(a)" forParent="true">
56 <treeModel idref="tree"/>
57 <mrca>
58 <taxa idref="cal"/>
59 </mrca>
60 </tmrcaStatistic>
61
62 <mcmc id="mcmc" chainLength="10000" minOpsFullEvaluations="0" fullEvaluation="0">
63 <posterior>
64 <prior>
65 <speciationLikelihood idref="speciation"/>
66 </prior>
67 </posterior>
68
69 <log id="screen" logEvery="100000">
70 <column dp="4">
71 <speciationLikelihood idref="speciation"/>
72 <parameter idref="tree.rootHeight"/>
73 </column>
74 </log>
75
76 <log id="log" logEvery="100" fileName="test_5t_1c-ps.log">
77 <speciationLikelihood idref="speciation"/>
78 <parameter idref="tree.rootHeight"/>
79 <statistic idref="tmrca(a)"/>
80 <parameter idref="yule.birthRate"/>
81 </log>
82
83 <logTree id="logTree" logEvery="100" nexusFormat="true" fileName="test_5t_1c-ps.trees">
84 <treeModel idref="tree"/>
85 </logTree>
86
87 <operators>
88 <subtreeSlide weight="1" gaussian="true" size="3">
89 <treeModel idref="tree"/>
90 </subtreeSlide>
91
92 <scaleOperator scaleFactor="0.75" weight="1">
93 <parameter idref="yule.birthRate"/>
94 </scaleOperator>
95 </operators>
96 </mcmc>
97 </beast>