Skip to content

Commit a325e92

Browse files
committed
some beauti support and an example session
1 parent 04c21f9 commit a325e92

File tree

6 files changed

+482
-39
lines changed

6 files changed

+482
-39
lines changed

fxtemplates/BeastMap.xml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<beast version='2.0'
2+
namespace='beast.app.beauti:beast.pkgmgmt:beast.base.core:beast.base.inference:beast.base.evolution.branchratemodel:beast.base.evolution.speciation:beast.evolution.Tree.t:coalescent:beast.pkgmgmt:beast.base.core:beast.base.inference.util:beast.evolution.nuc:beast.base.evolution.operator:beast.base.inference.operator:beast.base.evolution.sitemodel:beast.base.evolution.substitutionmodel:beast.base.evolution.likelihood:beast.evolution:beast.base.math.distributions'>
3+
4+
5+
<mergewith point='aux-panels'>
6+
<panel spec="beastfx.app.inputeditor.BeautiPanelConfig" panelname="Beast Map" tiptext="Stochastic mapping"
7+
path="logger/log"
8+
type="beastmap.evolution.BranchMutationSampler"
9+
hasPartitions="none" icon="2.pngx" forceExpansion="TRUE"/>
10+
11+
12+
<subtemplate id='BeastMap' spec="beastfx.app.inputeditor.BeautiSubTemplate" class='beastmap.evolution.BranchMutationSampler' mainid='mutationsampler.t:$(n)' >
13+
14+
<![CDATA[
15+
16+
<plugin id='mutationsampler.t:$(n)' spec='beastmap.evolution.BranchMutationSampler' useAmbiguities='false' burnin='50000' >
17+
<tree idref='Tree.t:$(n)' />
18+
<siteModel idref='SiteModel.s:$(n)' />
19+
<branchRateModel idref='StrictClock.c:$(n)' />
20+
<data id="BeastMapPatternlessAlignment.$(n)" spec='beastmap.evolution.PatternlessAlignment' data='@$(n)' />
21+
</plugin>
22+
23+
24+
25+
<logger id='BeastMapSegmentLogger.t:$(n)' spec='beast.base.inference.Logger' logEvery='10000' fileName='beastmap.$(n).trees' mode='tree' >
26+
<log id='BeastMapSegmentLog.t:$(n)' spec='beastmap.logger.TypedTreeLogger' tree='@Tree.t:$(n)' sampler="@mutationsampler.t:$(n)" />
27+
</logger>
28+
29+
]]>
30+
31+
32+
<connect method='beastmap.app.beauti.BeastMapInputEditor.customConnector'/>
33+
<connect srcID="BeastMapSegmentLogger.t:$(n)" targetID="mcmc" inputName="logger" if="inposterior(Tree.t:$(n)) and Tree.t:$(n)/estimate=true"/>
34+
35+
36+
37+
</subtemplate>
38+
39+
40+
</mergewith>
41+
42+
</beast>
43+

fxtemplates/tmp.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)