Debian Codegraph @

examples/Calibrations/constrainedTaxaTest9.xml

raw symbols SCIP
1 <?xml version="1.0" standalone="yes"?>
2 <!-- simple test 3: two taxa non disjoint sets, disjoint root heights -->
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="AC">
18 <taxon idref="A"/>
19 <taxon idref="C"/>
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 monophyletic="false">
32 <taxa idref="AB"/>
33 <uniformDistributionModel>
34 <lower>40.0</lower>
35 <upper>100.0</upper>
36 </uniformDistributionModel>
37 </tmrca>
38 <tmrca monophyletic="false">
39 <taxa idref="AC"/>
40 <uniformDistributionModel>
41 <lower>20.0</lower>
42 <upper>30.0</upper>
43 </uniformDistributionModel>
44 </tmrca>
45 </constrainedTaxa>
46 <constantSize idref="constant"/>
47 </coalescentTree>
48
49
50 <treeModel id="treeModel">
51 <coalescentTree idref="startingTree"/>
52 <rootHeight>
53 <parameter id="treeModel.rootHeight"/>
54 </rootHeight>
55 <nodeHeights internalNodes="true">
56 <parameter id="treeModel.internalNodeHeights"/>
57 </nodeHeights>
58 <nodeHeights internalNodes="true" rootNode="true">
59 <parameter id="treeModel.allInternalNodeHeights"/>
60 </nodeHeights>
61 </treeModel>
62
63 <tmrcaStatistic id="mAB">
64 <mrca>
65 <taxa idref="AB"/>
66 </mrca>
67 <treeModel idref="treeModel"/>
68 </tmrcaStatistic>
69
70 <tmrcaStatistic id="mAC">
71 <mrca>
72 <taxa idref="AC"/>
73 </mrca>
74 <treeModel idref="treeModel"/>
75 </tmrcaStatistic>
76
77
78 <mcmc id="mcmc" chainLength="1" preBurnin="0">
79 <posterior id="posterior">
80 <prior id="prior">
81 <uniformPrior lower="40.0" upper="100.0">
82 <tmrcaStatistic idref="mAB"/>
83 </uniformPrior>
84 <uniformPrior lower="20.0" upper="30.0">
85 <tmrcaStatistic idref="mAC"/>
86 </uniformPrior>
87 </prior>
88 </posterior>
89
90 <operators>
91 <scaleOperator scaleFactor="0.75" weight="1">
92 <parameter id="xx" value="10" lower="0.0" upper="100.0"/>
93 </scaleOperator>
94 </operators>
95 <log logEvery="1000">
96 <column label="Posterior" dp="4" width="12">
97 <posterior idref="posterior"/>
98 </column>
99 </log>
100 </mcmc>
101
102 <report>
103 <treeModel idref="treeModel"/>
104 </report>
105
106 </beast>