Skip to content

Commit

Permalink
Update tree prior templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Duchene committed Jun 22, 2017
1 parent 599fa2e commit 422c2d9
Show file tree
Hide file tree
Showing 17 changed files with 2,438 additions and 1,376 deletions.
1 change: 1 addition & 0 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
<classpathentry combineaccessrules="false" kind="src" path="/TreeStat2"/>
<classpathentry kind="lib" path="/beast2/lib/jam.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/bdsky"/>
<classpathentry combineaccessrules="false" kind="src" path="/phylodynamics"/>
<classpathentry kind="output" path="build"/>
</classpath>
254 changes: 254 additions & 0 deletions BD_R2.55_p0.7_n100_rep1.nexus.log

Large diffs are not rendered by default.

222 changes: 222 additions & 0 deletions BD_R2.55_p0.7_n100_rep1.nexus.trees

Large diffs are not rendered by default.

1,135 changes: 1,135 additions & 0 deletions BD_R2.55_p0.7_n100_rep6.nexus.log

Large diffs are not rendered by default.

1,210 changes: 137 additions & 1,073 deletions HCV3a_non-param_skyline.log

Large diffs are not rendered by default.

242 changes: 242 additions & 0 deletions SIR_R2.55_p0.7_n100_rep1.nexus.trees

Large diffs are not rendered by default.

43 changes: 0 additions & 43 deletions master/BD_hetero_anyN.xml~

This file was deleted.

161 changes: 0 additions & 161 deletions master/CE_hetero_sim.xml~

This file was deleted.

10 changes: 5 additions & 5 deletions master/SIR_hetero_anyN.xml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<beast version='2.0' namespace='master:master.model:master.conditions:master.outputs:master.postprocessors'>
<run spec='InheritanceTrajectory'
samplePopulationSizes="true"
verbosity="1" simulationTime=$(origin)>
verbosity="1" simulationTime="$(origin)">
<model spec='Model' id='model'>
<population spec='Population' id='S' populationName='S'/>
<population spec='Population' id='I' populationName='I'/>
<population spec='Population' id='R' populationName='R'/>
<population spec="Population" id="I_sample" populationName="I_sample"/>
<reaction spec='Reaction' reactionName="Infection" rate=$(birth)>
<reaction spec='Reaction' reactionName="Infection" rate="$(birth)">
S + I -> 2I
</reaction>
<reaction spec='Reaction' reactionName="Recovery" rate=$(death)>
<reaction spec='Reaction' reactionName="Recovery" rate="$(death)">
I -> R
</reaction>
<reaction spec="Reaction" reactionName="I_sample" rate=$(sampling)>
<reaction spec="Reaction" reactionName="I_sample" rate="$(sampling)">
I -> I_sample
</reaction>
</model>
<initialState spec='InitState'>
<populationSize spec='PopulationSize' population='@S' size=$(S0)/>
<populationSize spec='PopulationSize' population='@S' size="$(S0)"/>
<lineageSeed spec='Individual' population='@I'/>
</initialState>

Expand Down
38 changes: 0 additions & 38 deletions master/SIR_hetero_anyN.xml~

This file was deleted.

43 changes: 0 additions & 43 deletions master/SIR_ultra_anyN.xml~

This file was deleted.

2 changes: 1 addition & 1 deletion src/modeladequacy/util/TreeModelAdequacyAnalyser.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private void reportStats(Map<String, Object> origStats, Map<String, Object>[] tr
double r95 = stats[(int)(95 * n / 100.0)];
double r97_5 = stats[(int)(97.5 * n / 100.0)];
int p = 0;
while (stats[p] > origStat) {
while (p < n && stats[p] > origStat) {
p++;
}
double pValue = (double) p / (double) n;
Expand Down
Loading

0 comments on commit 422c2d9

Please sign in to comment.