Debian Codegraph @

examples/Calibrations/constrainedTaxaTest3.xml

raw symbols SCIP
1 <?xml version="1.0" standalone="yes"?>
2 <!-- simple test 3: two none ovelapping constraints -->
3 <beast>
4
5 <taxa id="taxa">
6 <taxon id="A"/>
7 <taxon id="B"/>
8 <taxon id="C"/>
9 <taxon id="D"/>
10 </taxa>
11
12 <taxa id="AB">
13 <taxon idref="A"/>
14 <taxon idref="B"/>
15 </taxa>
16
17 <taxa id="CD">
18 <taxon idref="C"/>
19 <taxon idref="D"/>
20 </taxa>
21
22 <constantSize id="constant" units="years">
23 <populationSize>
24 <parameter id="popSize" value="100"/>
25 </populationSize>
26 </constantSize>
27
28 <coalescentTree id="startingTree">
29 <constrainedTaxa>
30 <taxa idref="taxa"/>
31 <tmrca>
32 <taxa idref="AB"/>
33 </tmrca>
34 <tmrca>
35 <taxa idref="CD"/>
36 </tmrca>
37 </constrainedTaxa>
38 <constantSize idref="constant"/>
39 </coalescentTree>
40
41
42 <treeModel id="treeModel">
43 <coalescentTree idref="startingTree"/>
44 <rootHeight>
45 <parameter id="treeModel.rootHeight"/>
46 </rootHeight>
47 <nodeHeights internalNodes="true">
48 <parameter id="treeModel.internalNodeHeights"/>
49 </nodeHeights>
50 <nodeHeights internalNodes="true" rootNode="true">
51 <parameter id="treeModel.allInternalNodeHeights"/>
52 </nodeHeights>
53 </treeModel>
54
55 <monophylyStatistic id="mAB">
56 <mrca>
57 <taxa idref="AB"/>
58 </mrca>
59 <treeModel idref="treeModel"/>
60 </monophylyStatistic>
61
62 <monophylyStatistic id="mCD">
63 <mrca>
64 <taxa idref="CD"/>
65 </mrca>
66 <treeModel idref="treeModel"/>
67 </monophylyStatistic>
68
69
70 <mcmc id="mcmc" chainLength="1" preBurnin="0">
71 <posterior id="posterior">
72 <prior id="prior">
73 <booleanLikelihood>
74 <monophylyStatistic idref="mAB"/>
75 <monophylyStatistic idref="mCD"/>
76 </booleanLikelihood>
77 </prior>
78 </posterior>
79
80 <operators>
81 <scaleOperator scaleFactor="0.75" weight="1">
82 <parameter id="xx" value="10" lower="0.0" upper="100.0"/>
83 </scaleOperator>
84 </operators>
85 <log logEvery="1000">
86 <column label="Posterior" dp="4" width="12">
87 <posterior idref="posterior"/>
88 </column>
89 </log>
90 </mcmc>
91
92 <report>
93 <treeModel idref="treeModel"/>
94 </report>
95
96 </beast>