Debian Codegraph @

examples/Calibrations/constrainedTaxaTest5.xml

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