Debian Codegraph @

examples/Calibrations/constrainedTaxaTest4.xml

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