Debian Codegraph @

examples/Calibrations/constrainedTaxaTest2.xml

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