bella-companion 0.0.27__tar.gz → 0.0.28__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bella-companion might be problematic. Click here for more details.
- {bella_companion-0.0.27 → bella_companion-0.0.28}/PKG-INFO +1 -1
- bella_companion-0.0.28/bella_companion/eucovid/beast_configs/MLP.xml +350 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/run_beast.py +5 -6
- {bella_companion-0.0.27 → bella_companion-0.0.28}/pyproject.toml +1 -1
- bella_companion-0.0.27/bella_companion/eucovid/beast_configs/MLP.xml +0 -197
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/__init__.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/cli.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/__init__.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/beast_configs/GLM.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/beast_configs/Nonparametric.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/case_data.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/change_dates.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/msa.fasta +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/osi.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/predictors/all/closedborders_7e_nt.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/predictors/all/dist_7e_ls.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/predictors/all/flight_7e_ls.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/predictors/all/flight_pop_x_7e_ls.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/predictors/all/osi_x_7e_ls.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/predictors/all/osi_y_7e_ls.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/predictors/all/pop_x_7e_ls.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/predictors/all/pop_y_7e_ls.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/predictors/all/sharedborders_7e_nt.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/predictors/changetimes_all_7e.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/predictors/changetimes_flights_4e.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/predictors/flight_pop_x_4e_ls.tsv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/platyrrhine/__init__.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/platyrrhine/beast_config.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/platyrrhine/data/change_times.csv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/platyrrhine/data/traits.csv +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/platyrrhine/data/trees.nwk +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/platyrrhine/results.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/platyrrhine/run_beast.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/platyrrhine/summarize_logs.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/__init__.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/__pycache__/__init__.cpython-310.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/__pycache__/__init__.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/__pycache__/features.cpython-310.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/__pycache__/features.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/__pycache__/generate_data.cpython-310.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/__pycache__/generate_data.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/__pycache__/run_beast.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/__pycache__/summarize_logs.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/beast_configs/epi-multitype/GLM.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/beast_configs/epi-multitype/MLP.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/beast_configs/epi-multitype/Nonparametric.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/beast_configs/epi-skyline/GLM.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/beast_configs/epi-skyline/MLP.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/beast_configs/epi-skyline/Nonparametric.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/beast_configs/fbd-2traits/GLM.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/beast_configs/fbd-2traits/MLP.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/beast_configs/fbd-2traits/Nonparametric.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/beast_configs/fbd-no-traits/GLM.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/beast_configs/fbd-no-traits/MLP.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/beast_configs/fbd-no-traits/Nonparametric.xml +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/features.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/__init__.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/__pycache__/__init__.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/__pycache__/epi_explainations.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/__pycache__/epi_predictions.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/__pycache__/epi_simulations.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/__pycache__/fbd_explainations.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/__pycache__/fbd_predictions.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/__pycache__/fbd_simulations.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/__pycache__/figure1.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/__pycache__/plot.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/__pycache__/scenarios.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/__pycache__/utils.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/epi_multitype_results.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/epi_skyline_results.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/explain/__init__.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/explain/pdp.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/explain/shap.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/fbd_2traits_results.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/fbd_no_traits_results.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/scenarios.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/utils.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/generate_data.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/generate_figures.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/metrics.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/run_beast.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__init__.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/__init__.cpython-310.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/__init__.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/common.cpython-310.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/common.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/epi_multitype.cpython-310.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/epi_multitype.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/epi_skyline.cpython-310.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/epi_skyline.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/fbd_2traits.cpython-310.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/fbd_2traits.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/fbd_no_traits.cpython-310.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/fbd_no_traits.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/scenario.cpython-310.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/scenario.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__pycache__/utils.cpython-311.pyc +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/common.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/epi_multitype.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/epi_skyline.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/fbd_2traits.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/fbd_no_traits.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/scenario.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/summarize_logs.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/utils/__init__.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/utils/beast.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/utils/explain.py +0 -0
- {bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/utils/slurm.py +0 -0
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<beast
|
|
3
|
+
namespace="
|
|
4
|
+
:beast.base.inference
|
|
5
|
+
:beast.base.inference.parameter
|
|
6
|
+
:beast.base.evolution.branchratemodel
|
|
7
|
+
:beast.base.evolution.substitutionmodel
|
|
8
|
+
:beast.base.evolution.sitemodel
|
|
9
|
+
:beast.base.evolution.tree.coalescent
|
|
10
|
+
:beast.base.evolution.tree
|
|
11
|
+
:beast.base.evolution.likelihood
|
|
12
|
+
:beast.base.evolution.alignment
|
|
13
|
+
:beast.base.evolution.operator
|
|
14
|
+
:beast.base.evolution.operator.kernel
|
|
15
|
+
:beast.base.inference.operator.kernel
|
|
16
|
+
:beast.base.inference.operator
|
|
17
|
+
:beast.base.math.distributions
|
|
18
|
+
:beast.base.evolution
|
|
19
|
+
:bdmmprime.util.operators
|
|
20
|
+
:bdmmprime.util.priors
|
|
21
|
+
:bdmmprime.distribution
|
|
22
|
+
:bdmmprime.parameterization
|
|
23
|
+
:bdmmprime.mapping
|
|
24
|
+
:bdmmprime.util
|
|
25
|
+
:bdmmprime.trajectories
|
|
26
|
+
:feast
|
|
27
|
+
:feast.parameter
|
|
28
|
+
:feast.fileio
|
|
29
|
+
:feast.function
|
|
30
|
+
:feast.expressions
|
|
31
|
+
:glmprior.util"
|
|
32
|
+
required="BEAST.base v2.7.7:BDMM-Prime v2.2.2"
|
|
33
|
+
version="2.7"
|
|
34
|
+
>
|
|
35
|
+
<map name="Uniform" >beast.base.inference.distribution.Uniform</map>
|
|
36
|
+
<map name="Exponential" >beast.base.inference.distribution.Exponential</map>
|
|
37
|
+
<map name="LogNormal" >beast.base.inference.distribution.LogNormalDistributionModel</map>
|
|
38
|
+
<map name="Normal" >beast.base.inference.distribution.Normal</map>
|
|
39
|
+
<map name="Poisson" >beast.base.inference.distribution.Poisson</map>
|
|
40
|
+
<map name="prior" >beast.base.inference.distribution.Prior</map>
|
|
41
|
+
|
|
42
|
+
<alignment id="alignment" spec= "AlignmentFromFasta" fileName = "$(aligned_fasta)"/>
|
|
43
|
+
|
|
44
|
+
<typeSet id="typeSetBDMMPrime" spec="TypeSet">
|
|
45
|
+
<typeTraitSet id="typeTraitSet" spec="TraitSetFromTaxonSet" traitname="type" delimiter="|" takeGroup="1">
|
|
46
|
+
<taxa spec="TaxonSet" alignment="@alignment"/>
|
|
47
|
+
</typeTraitSet>
|
|
48
|
+
</typeSet>
|
|
49
|
+
|
|
50
|
+
<trait id="dateTrait" spec="TraitSetFromTaxonSet" traitname="date" dateFormat="yyyy-M-dd" delimiter= "|" everythingAfterLast="true">
|
|
51
|
+
<taxa spec="TaxonSet" alignment="@alignment"/>
|
|
52
|
+
</trait>
|
|
53
|
+
|
|
54
|
+
<processLength id="originBDMMPrime" spec="RealParameter">10.0</processLength>
|
|
55
|
+
|
|
56
|
+
<Re id="ReSV" spec="SkylineVectorParameter" timesAreAges="true" processLength="@originBDMMPrime" typeSet="@typeSetBDMMPrime">
|
|
57
|
+
<skylineValues id="ReValues" spec="RealParameter">1.0 1.1 1.2 1.3 1.4 1.01 1.1 1.2 1.3 1.4</skylineValues>
|
|
58
|
+
<changeTimes id="ReRateChangeTimes" spec="RealParameter">0.123</changeTimes>
|
|
59
|
+
</Re>
|
|
60
|
+
|
|
61
|
+
<samplingProportion id="samplingProportionSV" spec="SkylineVectorParameter"
|
|
62
|
+
timesAreAges="true" processLength="@originBDMMPrime" typeSet="@typeSetBDMMPrime">
|
|
63
|
+
<skylineValues id="samplingProportionValues" spec="RealParameter" dimension="15" lower="0.0" upper="1.0">1.11E-5 1.2E-5 1.3E-5 1.4E-5 1.5E-5 1.1E-5 1.2E-5 1.3E-5 1.4E-5 1.5E-5 0.0 0.0 0.0 0.0 0.0</skylineValues>
|
|
64
|
+
<changeTimes id="samplingProportionChangeTimes" spec="RealParameter">0.123 0.205</changeTimes>
|
|
65
|
+
</samplingProportion>
|
|
66
|
+
|
|
67
|
+
<becomeUninfectiousRate id="becomeUninfectiousRateSV" spec="SkylineVectorParameter"
|
|
68
|
+
typeSet="@typeSetBDMMPrime">
|
|
69
|
+
<skylineValues id="becomeUninfectiousValues" spec="RealParameter">36.5</skylineValues>
|
|
70
|
+
</becomeUninfectiousRate>
|
|
71
|
+
|
|
72
|
+
<migrationRate id="migrationRateSM" spec="SkylineMatrixParameter"
|
|
73
|
+
timesAreAges="true" processLength="@originBDMMPrime" typeSet="@typeSetBDMMPrime">
|
|
74
|
+
|
|
75
|
+
<skylineValues id="migrationRateValues" spec="bella.BayesMLP" nodes="$(nodes)">
|
|
76
|
+
<plate var="predictor" range="$(GLMpredictor_files)">
|
|
77
|
+
<predictor spec="RealParameterFromXSV" id="$(predictor)" fileName="$(predictor)"/>
|
|
78
|
+
</plate>
|
|
79
|
+
|
|
80
|
+
<plate var="n" range="$(layersRange)">
|
|
81
|
+
<weights idref="migrationW$(n)"/>
|
|
82
|
+
</plate>
|
|
83
|
+
|
|
84
|
+
</skylineValues>
|
|
85
|
+
|
|
86
|
+
<changeTimes id="migrationRateChangeTimes" spec="RealParameterFromXSV"
|
|
87
|
+
fileName="$(GLMpredictor_changetimes)"/>
|
|
88
|
+
</migrationRate>
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
<removalProb id="removalProbSV" spec="SkylineVectorParameter" skylineValues="1.0"
|
|
93
|
+
processLength="@originBDMMPrime" typeSet="@typeSetBDMMPrime"/>
|
|
94
|
+
|
|
95
|
+
<startTypePriorProbs id="typeFrequencies" spec="RealParameter"
|
|
96
|
+
estimate="false" lower="0.0" upper="1.0">1.0 0.0 0.0 0.0 0.0</startTypePriorProbs>
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
<!-- Site Model -->
|
|
100
|
+
<siteModel id="siteModel" spec="SiteModel" gammaCategoryCount="4">
|
|
101
|
+
<parameter id="gammaShape" name="shape" value="1.0"/>
|
|
102
|
+
<parameter name="mutationRate" estimate="false" value="1.0"/>
|
|
103
|
+
<parameter name="proportionInvariant" estimate="false" value="0.0"/>
|
|
104
|
+
|
|
105
|
+
<substModel spec="HKY">
|
|
106
|
+
<kappa id="kappa" spec="RealParameter" value="2.0"/>
|
|
107
|
+
<frequencies id="empiricalFreqs" spec="Frequencies" data="@alignment"/>
|
|
108
|
+
</substModel>
|
|
109
|
+
</siteModel>
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
<!-- Branch rate Model -->
|
|
113
|
+
<branchRateModel id="branchRateModel" spec="StrictClockModel">
|
|
114
|
+
<parameter id="clockRate" name="clock.rate" estimate="false">8.0E-4</parameter>
|
|
115
|
+
</branchRateModel>
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
<!-- Population Model for Tree initialiser -->
|
|
119
|
+
<popFunc id="popFunc" spec="ConstantPopulation">
|
|
120
|
+
<popSize spec="RealParameter" value="0.1"/>
|
|
121
|
+
</popFunc>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
<!-- MCMC -->
|
|
125
|
+
<run id="mcmc" spec="MCMC" chainLength="10000000" numInitializationAttempts="100">
|
|
126
|
+
|
|
127
|
+
<!-- State -->
|
|
128
|
+
<state id="state" spec="State">
|
|
129
|
+
|
|
130
|
+
<stateNode id="treeBDMMPrime" spec="RandomTree"
|
|
131
|
+
taxa="@alignment"
|
|
132
|
+
populationModel="@popFunc"
|
|
133
|
+
trait="@dateTrait">
|
|
134
|
+
</stateNode>
|
|
135
|
+
|
|
136
|
+
<stateNode idref="originBDMMPrime"/>
|
|
137
|
+
<stateNode idref="ReValues"/>
|
|
138
|
+
<stateNode idref="samplingProportionValues"/>
|
|
139
|
+
<plate var="n" range="$(layersRange)">
|
|
140
|
+
<stateNode spec="RealParameter" id="migrationW$(n)" value="0"/>
|
|
141
|
+
</plate>
|
|
142
|
+
|
|
143
|
+
<stateNode idref="kappa"/>
|
|
144
|
+
<stateNode idref="gammaShape"/>
|
|
145
|
+
|
|
146
|
+
</state>
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
<!-- Posterior Distribution -->
|
|
150
|
+
<distribution id="posterior" spec="CompoundDistribution">
|
|
151
|
+
|
|
152
|
+
<!-- Tree Likelihood -->
|
|
153
|
+
<distribution id="likelihood" spec="CompoundDistribution" useThreads="true">
|
|
154
|
+
|
|
155
|
+
<distribution id="treeLikelihood" spec="ThreadedTreeLikelihood"
|
|
156
|
+
data="@alignment"
|
|
157
|
+
tree="@treeBDMMPrime"
|
|
158
|
+
siteModel="@siteModel"
|
|
159
|
+
branchRateModel="@branchRateModel"/>
|
|
160
|
+
|
|
161
|
+
</distribution>
|
|
162
|
+
|
|
163
|
+
<!-- Prior distribution -->
|
|
164
|
+
<distribution id="prior" spec="CompoundDistribution">
|
|
165
|
+
|
|
166
|
+
<!-- BDMM-Prime tree prior distribution -->
|
|
167
|
+
<distribution id="BDMMPrime" spec="BirthDeathMigrationDistribution"
|
|
168
|
+
tree="@treeBDMMPrime"
|
|
169
|
+
conditionOnSurvival="true"
|
|
170
|
+
finalSampleOffset="0.0"
|
|
171
|
+
typeTraitSet="@typeTraitSet"
|
|
172
|
+
startTypePriorProbs="@typeFrequencies">
|
|
173
|
+
|
|
174
|
+
<!-- Parameterization BDMM-Prime -->
|
|
175
|
+
<parameterization id="EpiBDMMPrimeParameterization" spec="EpiParameterization"
|
|
176
|
+
processLength="@originBDMMPrime"
|
|
177
|
+
Re="@ReSV"
|
|
178
|
+
samplingProportion="@samplingProportionSV"
|
|
179
|
+
becomeUninfectiousRate="@becomeUninfectiousRateSV"
|
|
180
|
+
migrationRate="@migrationRateSM"
|
|
181
|
+
removalProb="@removalProbSV"
|
|
182
|
+
typeSet="@typeSetBDMMPrime"/>
|
|
183
|
+
|
|
184
|
+
</distribution>
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
<!-- Priors on parameters -->
|
|
188
|
+
<!-- BDMMPrime parameters priors -->
|
|
189
|
+
|
|
190
|
+
<prior id="originBDMMPrimePrior" name="distribution" x="@originBDMMPrime">
|
|
191
|
+
<LogNormal name="distr" M="-1.0" S="0.2"/>
|
|
192
|
+
</prior>
|
|
193
|
+
|
|
194
|
+
<!-- Reproductive number Prior -->
|
|
195
|
+
<distribution id="RePrior" spec="SmartZeroExcludingPrior" x="@ReValues">
|
|
196
|
+
<LogNormal name="distr" M="0.8" S="0.5"/>
|
|
197
|
+
</distribution>
|
|
198
|
+
|
|
199
|
+
<!-- Prior for sampling proportion for China -->
|
|
200
|
+
<distribution id="spChinaE2Prior" spec="SmartZeroExcludingPrior" x="@samplingProportionValues"
|
|
201
|
+
classesToExclude="1.2E-5 1.3E-5 1.4E-5 1.5E-5">
|
|
202
|
+
<Uniform name="distr" lower="0" upper="0.15"/>
|
|
203
|
+
</distribution>
|
|
204
|
+
<!-- Prior for sampling proportion for France -->
|
|
205
|
+
<distribution id="spFranceE1Prior" spec="SmartZeroExcludingPrior" x="@samplingProportionValues"
|
|
206
|
+
classesToExclude="1.1E-5 1.3E-5 1.4E-5 1.5E-5">
|
|
207
|
+
<Uniform name="distr" lower="0" upper="0.093"/>
|
|
208
|
+
</distribution>
|
|
209
|
+
<!-- Prior for sampling proportion for Germany Epoch -->
|
|
210
|
+
<distribution id="spGermanyE1Prior" spec="SmartZeroExcludingPrior" x="@samplingProportionValues"
|
|
211
|
+
classesToExclude="1.1E-5 1.2E-5 1.4E-5 1.5E-5">
|
|
212
|
+
<Uniform name="distr" lower="0" upper="0.10"/>
|
|
213
|
+
</distribution>
|
|
214
|
+
<!-- Prior for sampling proportion for Italy -->
|
|
215
|
+
<distribution id="spItalyE1Prior" spec="SmartZeroExcludingPrior" x="@samplingProportionValues"
|
|
216
|
+
classesToExclude="1.1E-5 1.2E-5 1.3E-5 1.5E-5">
|
|
217
|
+
<Uniform name="distr" lower="0" upper="0.005"/>
|
|
218
|
+
</distribution>
|
|
219
|
+
<!-- Prior for sampling proportion for OtherEuropean -->
|
|
220
|
+
<distribution id="spOEE1Prior" spec="SmartZeroExcludingPrior" x="@samplingProportionValues"
|
|
221
|
+
classesToExclude="1.1E-5 1.2E-5 1.3E-5 1.4E-5">
|
|
222
|
+
<Uniform name="distr" lower="0" upper="0.057"/>
|
|
223
|
+
</distribution>
|
|
224
|
+
|
|
225
|
+
<plate var="n" range="$(layersRange)">
|
|
226
|
+
<prior name="distribution" x="@migrationW$(n)">
|
|
227
|
+
<Normal name="distr" mean="0.0" sigma="1.0"/>
|
|
228
|
+
</prior>
|
|
229
|
+
</plate>
|
|
230
|
+
|
|
231
|
+
<prior id="GammaShapePrior" name="distribution" x="@gammaShape">
|
|
232
|
+
<Exponential name="distr">
|
|
233
|
+
<parameter spec="RealParameter" estimate="false" name="mean">0.5</parameter>
|
|
234
|
+
</Exponential>
|
|
235
|
+
</prior>
|
|
236
|
+
|
|
237
|
+
<prior id="KappaPrior" name="distribution" x="@kappa">
|
|
238
|
+
<LogNormal name="distr">
|
|
239
|
+
<parameter spec="RealParameter" estimate="false" name="M">1.0</parameter>
|
|
240
|
+
<parameter spec="RealParameter" estimate="false" name="S">1.25</parameter>
|
|
241
|
+
</LogNormal>
|
|
242
|
+
</prior>
|
|
243
|
+
|
|
244
|
+
</distribution>
|
|
245
|
+
</distribution>
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
<operator id="BDMMPrimeTreeRootScaler" spec="BactrianScaleOperator" tree="@treeBDMMPrime"
|
|
249
|
+
rootOnly="true" scaleFactor="0.25" weight="5.0"/>
|
|
250
|
+
|
|
251
|
+
<operator id="BDMMPrimeUniformOperator" spec="BactrianNodeOperator" tree="@treeBDMMPrime"
|
|
252
|
+
weight="30.0"/>
|
|
253
|
+
|
|
254
|
+
<operator id="BDMMPrimeSubtreeSlideScaler" spec="BactrianSubtreeSlide" tree="@treeBDMMPrime"
|
|
255
|
+
weight="15.0"/>
|
|
256
|
+
|
|
257
|
+
<operator id="BDMMPrimeNarrow" spec="Exchange" tree="@treeBDMMPrime"
|
|
258
|
+
weight="15.0"/>
|
|
259
|
+
|
|
260
|
+
<operator id="BDMMPrimeWide" spec="Exchange" tree="@treeBDMMPrime"
|
|
261
|
+
isNarrow="false" weight="3.0"/>
|
|
262
|
+
|
|
263
|
+
<operator id="BDMMPrimeWilsonBalding" spec="WilsonBalding" tree="@treeBDMMPrime"
|
|
264
|
+
weight="3.0"/>
|
|
265
|
+
|
|
266
|
+
<operator id="BDMMPrimeBICEPSEpochTop" spec="EpochFlexOperator" tree="@treeBDMMPrime"
|
|
267
|
+
scaleFactor="0.1" weight="2.0"/>
|
|
268
|
+
|
|
269
|
+
<operator id="BDMMPrimeBICEPSEpochAll" spec="EpochFlexOperator" tree="@treeBDMMPrime"
|
|
270
|
+
fromOldestTipOnly="false" scaleFactor="0.1" weight="2.0"/>
|
|
271
|
+
|
|
272
|
+
<operator id="BDMMPrimeBICEPSTreeFlex" spec="TreeStretchOperator" tree="@treeBDMMPrime"
|
|
273
|
+
scaleFactor="0.01" weight="2.0"/>
|
|
274
|
+
|
|
275
|
+
<operator id="originBDMMPrimeScaler" spec="BactrianScaleOperator" parameter="@originBDMMPrime"
|
|
276
|
+
scaleFactor="0.25" weight="3.0" />
|
|
277
|
+
|
|
278
|
+
<operator id="ReScaler" spec="SmartScaleOperator" parameter="@ReValues" scaleFactor="0.25"
|
|
279
|
+
weight="10.0" />
|
|
280
|
+
|
|
281
|
+
<operator id="samplingProportionScaler" spec="SmartScaleOperator" parameter="@samplingProportionValues"
|
|
282
|
+
weight="3.0" />
|
|
283
|
+
|
|
284
|
+
<plate var="n" range="$(layersRange)">
|
|
285
|
+
<operator spec="BactrianRandomWalkOperator" parameter="@migrationW$(n)" weight="5.0"/>
|
|
286
|
+
</plate>
|
|
287
|
+
|
|
288
|
+
<operator id="gammaShapeScaler" spec="BactrianScaleOperator" parameter="@gammaShape"
|
|
289
|
+
weight="1.0"/>
|
|
290
|
+
|
|
291
|
+
<operator id="KappaScaler" spec="BactrianScaleOperator" parameter="@kappa"
|
|
292
|
+
weight="1.0"/>
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
<!-- Loggers -->
|
|
296
|
+
<logger id="tracelog" spec="Logger" fileName="$(filebase).log" logEvery="1000" model="@posterior" sanitiseHeaders="true" sort="smart">
|
|
297
|
+
<log idref="posterior"/>
|
|
298
|
+
<log idref="likelihood"/>
|
|
299
|
+
<log idref="prior"/>
|
|
300
|
+
<log idref="treeLikelihood"/>
|
|
301
|
+
<log idref="gammaShape"/>
|
|
302
|
+
<log idref="kappa"/>
|
|
303
|
+
<log id="TreeHeight" spec="TreeStatLogger" tree="@treeBDMMPrime"/>
|
|
304
|
+
<log id="typedTreeStats" spec="TypedTreeStatsLogger" includeRootEdge="true"
|
|
305
|
+
typeLabel="type" typeSet="@typeSetBDMMPrime">
|
|
306
|
+
<typedTree id="typeMappedTree" spec="TypeMappedTree" bdmmDistrib="@BDMMPrime" startTypePriorProbs="@typeFrequencies" mapOnInit="false" remapOnLog="true" typeLabel="type" typeTraitSet="@typeTraitSet" untypedTree="@treeBDMMPrime"/>
|
|
307
|
+
</log>
|
|
308
|
+
<log idref="originBDMMPrime"/>
|
|
309
|
+
<log idref="ReSV"/>
|
|
310
|
+
<log idref="becomeUninfectiousRateSV"/>
|
|
311
|
+
<log idref="samplingProportionSV"/>
|
|
312
|
+
<log idref="migrationRateSM"/>
|
|
313
|
+
|
|
314
|
+
<log idref="removalProbSV"/>
|
|
315
|
+
<log idref="typeFrequencies"/>
|
|
316
|
+
</logger>
|
|
317
|
+
|
|
318
|
+
<logger id="screenlog" spec="Logger" logEvery="1000">
|
|
319
|
+
<log idref="posterior"/>
|
|
320
|
+
<log arg="@posterior" id="ESS_posterior" spec="util.ESS"/>
|
|
321
|
+
<log idref="likelihood"/>
|
|
322
|
+
<log arg="@likelihood" id="ESS_likelihood" spec="util.ESS"/>
|
|
323
|
+
<log idref="prior"/>
|
|
324
|
+
<log arg="@prior" id="ESS_prior" spec="util.ESS"/>
|
|
325
|
+
<log idref="BDMMPrime"/>
|
|
326
|
+
<log arg="@BDMMPrime" id="ESS_BDMMPrime" spec="util.ESS"/>
|
|
327
|
+
</logger>
|
|
328
|
+
|
|
329
|
+
<logger id="treelog" spec="Logger" fileName="$(filebase).trees" logEvery="1000" mode="tree">
|
|
330
|
+
<log id="TreeWithMetaDataLogger" spec="TreeWithMetaDataLogger" tree="@treeBDMMPrime"/>
|
|
331
|
+
</logger>
|
|
332
|
+
|
|
333
|
+
<logger id="typedTreeLogger" spec="OptionalLogger" enableLogger="true"
|
|
334
|
+
fileName="$(filebase).typed.trees" logEvery="10000" mode="tree">
|
|
335
|
+
<log idref="typeMappedTree"/>
|
|
336
|
+
</logger>
|
|
337
|
+
<logger id="nodeTypedTreeLogger.t:eubdmm_alignment" spec="OptionalLogger" enableLogger="true"
|
|
338
|
+
fileName="$(filebase).typed.node.trees" logEvery="10000" mode="tree">
|
|
339
|
+
<log id="nodeTypedTree" spec="TypedNodeTreeLogger" typedTree="@typeMappedTree"/>
|
|
340
|
+
</logger>
|
|
341
|
+
<logger id="trajLogger" spec="OptionalLogger" enableLogger="true" fileName="$(filebase).traj" logEvery="10000">
|
|
342
|
+
<log id="typedTraj" spec="SampledTrajectory" bdmmDistrib="@BDMMPrime"
|
|
343
|
+
startTypePriorProbs="@typeFrequencies" typeMappedTree="@typeMappedTree" useTauLeaping="true"/>
|
|
344
|
+
</logger>
|
|
345
|
+
|
|
346
|
+
<operatorschedule id="OperatorSchedule" spec="OperatorSchedule"/>
|
|
347
|
+
|
|
348
|
+
</run>
|
|
349
|
+
|
|
350
|
+
</beast>
|
|
@@ -80,13 +80,12 @@ def run_beast():
|
|
|
80
80
|
cpus=128,
|
|
81
81
|
mem_per_cpu=12000,
|
|
82
82
|
)
|
|
83
|
-
|
|
83
|
+
|
|
84
84
|
os.makedirs(output_dir / "all-predictors-MLP", exist_ok=True)
|
|
85
85
|
job_ids["all-predictors-MLP"] = submit_job(
|
|
86
86
|
" ".join(
|
|
87
87
|
[
|
|
88
88
|
os.environ["BELLA_RUN_BEAST_CMD"],
|
|
89
|
-
f"-D ReDimension='{5 * 7}'",
|
|
90
89
|
f'-D layersRange="0,1,2",nodes="16 8"',
|
|
91
90
|
all_predictors_data,
|
|
92
91
|
f"-prefix {output_dir / 'all-predictors-MLP'}{os.sep}",
|
|
@@ -94,7 +93,8 @@ def run_beast():
|
|
|
94
93
|
]
|
|
95
94
|
),
|
|
96
95
|
base_log_dir / "all-predictors-MLP",
|
|
97
|
-
|
|
96
|
+
cpus=128,
|
|
97
|
+
mem_per_cpu=12000,
|
|
98
98
|
)
|
|
99
99
|
|
|
100
100
|
os.makedirs(output_dir / "flights-MLP", exist_ok=True)
|
|
@@ -102,7 +102,6 @@ def run_beast():
|
|
|
102
102
|
" ".join(
|
|
103
103
|
[
|
|
104
104
|
os.environ["BELLA_RUN_BEAST_CMD"],
|
|
105
|
-
f"-D ReDimension='{5 * 4}'",
|
|
106
105
|
f'-D layersRange="0,1,2",nodes="16 8"',
|
|
107
106
|
flight_predictor_data,
|
|
108
107
|
f"-prefix {output_dir / 'flights-MLP'}{os.sep}",
|
|
@@ -110,9 +109,9 @@ def run_beast():
|
|
|
110
109
|
]
|
|
111
110
|
),
|
|
112
111
|
base_log_dir / "flights-MLP",
|
|
113
|
-
|
|
112
|
+
cpus=128,
|
|
113
|
+
mem_per_cpu=12000,
|
|
114
114
|
)
|
|
115
|
-
"""
|
|
116
115
|
|
|
117
116
|
with open(base_output_dir / "eucovid_job_ids.json", "w") as f:
|
|
118
117
|
json.dump(job_ids, f)
|
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<beast
|
|
3
|
-
namespace="
|
|
4
|
-
beast.base.inference
|
|
5
|
-
:beast.base.inference.parameter
|
|
6
|
-
:beast.base.evolution.branchratemodel
|
|
7
|
-
:beast.base.evolution.substitutionmodel
|
|
8
|
-
:beast.base.evolution.sitemodel
|
|
9
|
-
:beast.base.evolution.tree.coalescent
|
|
10
|
-
:beast.base.evolution.tree
|
|
11
|
-
:beast.base.evolution.likelihood
|
|
12
|
-
:beast.base.evolution.alignment
|
|
13
|
-
:beast.base.evolution.operator
|
|
14
|
-
:beast.base.evolution.operator.kernel
|
|
15
|
-
:beast.base.inference.operator.kernel
|
|
16
|
-
:beast.base.inference.operator
|
|
17
|
-
:beast.base.math.distributions
|
|
18
|
-
:beast.base.evolution
|
|
19
|
-
:bdmmprime.util.operators
|
|
20
|
-
:bdmmprime.util.priors
|
|
21
|
-
:bdmmprime.distribution
|
|
22
|
-
:bdmmprime.parameterization
|
|
23
|
-
:bdmmprime.mapping
|
|
24
|
-
:bdmmprime.util
|
|
25
|
-
:bdmmprime.trajectories
|
|
26
|
-
:feast
|
|
27
|
-
:feast.parameter
|
|
28
|
-
:feast.fileio
|
|
29
|
-
:feast.function
|
|
30
|
-
:feast.expressions"
|
|
31
|
-
required="BEAST.base v2.7.7:BDMM-Prime v2.2.2"
|
|
32
|
-
version="2.7"
|
|
33
|
-
>
|
|
34
|
-
<map name="Uniform">beast.base.inference.distribution.Uniform</map>
|
|
35
|
-
<map name="Exponential">beast.base.inference.distribution.Exponential</map>
|
|
36
|
-
<map name="LogNormal">beast.base.inference.distribution.LogNormalDistributionModel</map>
|
|
37
|
-
<map name="Normal">beast.base.inference.distribution.Normal</map>
|
|
38
|
-
<map name="prior">beast.base.inference.distribution.Prior</map>
|
|
39
|
-
|
|
40
|
-
<map name="AlignmentFromFasta">feast.fileio.AlignmentFromFasta</map>
|
|
41
|
-
<map name="TraitSetFromTaxonSet">feast.fileio.TraitSetFromTaxonSet</map>
|
|
42
|
-
<map name="TypeSet">bdmmprime.parameterization.TypeSet</map>
|
|
43
|
-
|
|
44
|
-
<alignment id="alignment" spec="AlignmentFromFasta" fileName="$(msa_file)"/>
|
|
45
|
-
<TaxonSet id="TaxonSet" spec="TaxonSet" alignment="@alignment"/>
|
|
46
|
-
<TraitSetFromTaxonSet id="typeTraitSet" traitname="type" delimiter="|" takeGroup="1" taxa="@TaxonSet"/>
|
|
47
|
-
<TraitSetFromTaxonSet id="dateTraitSet" traitname="date" dateFormat="yyyy-M-dd" delimiter= "|" everythingAfterLast="true" taxa="@TaxonSet"/>
|
|
48
|
-
<typeSet id="typeSet" spec="TypeSet" typeTraitSet="@typeTraitSet"/>
|
|
49
|
-
|
|
50
|
-
<parameter id="processLength" spec="RealParameter" value="1.0"/>
|
|
51
|
-
|
|
52
|
-
<Re id="ReSP" spec="SkylineVectorParameter" timesAreAges="true" processLength="@processLength" typeSet="@typeSet">
|
|
53
|
-
<skylineValues id="Re" spec="RealParameter" dimension="$(ReDimension)" value="1.0"/>
|
|
54
|
-
<changeTimes spec="RealParameterFromXSV" fileName="$(changeTimesFile)"/>
|
|
55
|
-
</Re>
|
|
56
|
-
|
|
57
|
-
<samplingProportion id="samplingProportionSP" spec="SkylineVectorParameter" timesAreAges="true" processLength="@processLength" typeSet="@typeSet" changeTimes="0.123 0.205">
|
|
58
|
-
<skylineValues id="samplingProportion" spec="RealParameter" value="1.11E-5 1.2E-5 1.3E-5 1.4E-5 1.5E-5 1.1E-5 1.2E-5 1.3E-5 1.4E-5 1.5E-5 0.0 0.0 0.0 0.0 0.0"/>
|
|
59
|
-
</samplingProportion>
|
|
60
|
-
|
|
61
|
-
<becomeUninfectiousRate id="becomeUninfectiousRateSP" spec="SkylineVectorParameter" typeSet="@typeSet" skylineValues="36.5"/>
|
|
62
|
-
|
|
63
|
-
<migrationRate id="migrationRateSP" spec="SkylineMatrixParameter" timesAreAges="true" processLength="@processLength" typeSet="@typeSet">
|
|
64
|
-
<skylineValues id="migrationRate" spec="bella.BayesMLP" nodes="$(nodes)">
|
|
65
|
-
<plate var="predictorFile" range="$(predictorFiles)">
|
|
66
|
-
<predictor spec="RealParameterFromXSV" fileName="$(predictorFile)"/>
|
|
67
|
-
</plate>
|
|
68
|
-
<plate var="n" range="$(layersRange)">
|
|
69
|
-
<weights idref="migrationW$(n)"/>
|
|
70
|
-
</plate>
|
|
71
|
-
</skylineValues>
|
|
72
|
-
<changeTimes spec="RealParameterFromXSV" fileName="$(changeTimesFile)"/>
|
|
73
|
-
</migrationRate>
|
|
74
|
-
|
|
75
|
-
<removalProb id="removalProbSP" spec="SkylineVectorParameter" skylineValues="1.0" processLength="@processLength" typeSet="@typeSet"/>
|
|
76
|
-
|
|
77
|
-
<startTypePriorProbs id="typeFrequencies" spec="RealParameter" value="1.0 0.0 0.0 0.0 0.0"/>
|
|
78
|
-
|
|
79
|
-
<siteModel id="siteModel" spec="SiteModel" gammaCategoryCount="4" proportionInvariant="0.0">
|
|
80
|
-
<parameter id="gammaShape" name="shape" value="1.0"/>
|
|
81
|
-
<substModel spec="HKY">
|
|
82
|
-
<kappa id="kappa" spec="RealParameter" value="2.0"/>
|
|
83
|
-
<frequencies id="empiricalFreqs" spec="Frequencies" data="@alignment"/>
|
|
84
|
-
</substModel>
|
|
85
|
-
</siteModel>
|
|
86
|
-
|
|
87
|
-
<branchRateModel id="branchRateModel" spec="StrictClockModel" clock.rate="8.0E-4"/>
|
|
88
|
-
|
|
89
|
-
<popFunc id="popFunc" spec="ConstantPopulation" popSize="0.1"/>
|
|
90
|
-
|
|
91
|
-
<run spec="MCMC" chainLength="10000000" numInitializationAttempts="100">
|
|
92
|
-
|
|
93
|
-
<state spec="State" storeEvery="5000">
|
|
94
|
-
<stateNode id="treeBDMMPrime" spec="RandomTree" taxa="@alignment" populationModel="@popFunc" trait="@dateTraitSet"/>
|
|
95
|
-
<stateNode idref="processLength"/>
|
|
96
|
-
<stateNode idref="Re"/>
|
|
97
|
-
<stateNode idref="samplingProportion"/>
|
|
98
|
-
<plate var="n" range="$(layersRange)">
|
|
99
|
-
<stateNode spec="RealParameter" id="migrationW$(n)" value="0"/>
|
|
100
|
-
</plate>
|
|
101
|
-
<stateNode idref="kappa"/>
|
|
102
|
-
<stateNode idref="gammaShape"/>
|
|
103
|
-
</state>
|
|
104
|
-
|
|
105
|
-
<distribution id="posterior" spec="CompoundDistribution">
|
|
106
|
-
<distribution id="likelihood" spec="CompoundDistribution" useThreads="true">
|
|
107
|
-
<distribution id="treeLikelihood" spec="ThreadedTreeLikelihood" data="@alignment" tree="@treeBDMMPrime" siteModel="@siteModel" branchRateModel="@branchRateModel"/>
|
|
108
|
-
</distribution>
|
|
109
|
-
|
|
110
|
-
<distribution id="prior" spec="CompoundDistribution">
|
|
111
|
-
<distribution id="BDMMPrime" spec="BirthDeathMigrationDistribution" tree="@treeBDMMPrime" conditionOnSurvival="true" finalSampleOffset="0.0" typeTraitSet="@typeTraitSet" startTypePriorProbs="@typeFrequencies">
|
|
112
|
-
<parameterization id="EpiBDMMPrimeParameterization" spec="EpiParameterization" processLength="@processLength" Re="@ReSP" samplingProportion="@samplingProportionSP" becomeUninfectiousRate="@becomeUninfectiousRateSP" migrationRate="@migrationRateSP" removalProb="@removalProbSP" typeSet="@typeSet"/>
|
|
113
|
-
</distribution>
|
|
114
|
-
|
|
115
|
-
<prior name="distribution" x="@processLength">
|
|
116
|
-
<LogNormal name="distr" M="-1.0" S="0.2"/>
|
|
117
|
-
</prior>
|
|
118
|
-
<distribution spec="SmartZeroExcludingPrior" x="@Re">
|
|
119
|
-
<LogNormal name="distr" M="0.8" S="0.5"/>
|
|
120
|
-
</distribution>
|
|
121
|
-
<distribution spec="SmartZeroExcludingPrior" x="@samplingProportion" classesToExclude="1.2E-5 1.3E-5 1.4E-5 1.5E-5">
|
|
122
|
-
<Uniform name="distr" lower="0" upper="0.15"/>
|
|
123
|
-
</distribution>
|
|
124
|
-
<distribution spec="SmartZeroExcludingPrior" x="@samplingProportion" classesToExclude="1.1E-5 1.3E-5 1.4E-5 1.5E-5">
|
|
125
|
-
<Uniform name="distr" lower="0" upper="0.093"/>
|
|
126
|
-
</distribution>
|
|
127
|
-
<distribution spec="SmartZeroExcludingPrior" x="@samplingProportion" classesToExclude="1.1E-5 1.2E-5 1.4E-5 1.5E-5">
|
|
128
|
-
<Uniform name="distr" lower="0" upper="0.10"/>
|
|
129
|
-
</distribution>
|
|
130
|
-
<distribution spec="SmartZeroExcludingPrior" x="@samplingProportion" classesToExclude="1.1E-5 1.2E-5 1.3E-5 1.5E-5">
|
|
131
|
-
<Uniform name="distr" lower="0" upper="0.005"/>
|
|
132
|
-
</distribution>
|
|
133
|
-
<distribution spec="SmartZeroExcludingPrior" x="@samplingProportion" classesToExclude="1.1E-5 1.2E-5 1.3E-5 1.4E-5">
|
|
134
|
-
<Uniform name="distr" lower="0" upper="0.057"/>
|
|
135
|
-
</distribution>
|
|
136
|
-
<plate var="n" range="$(layersRange)">
|
|
137
|
-
<prior name="distribution" x="@migrationW$(n)">
|
|
138
|
-
<Normal name="distr" mean="0.0" sigma="1.0"/>
|
|
139
|
-
</prior>
|
|
140
|
-
</plate>
|
|
141
|
-
<prior name="distribution" x="@gammaShape">
|
|
142
|
-
<Exponential name="distr" mean="0.5"/>
|
|
143
|
-
</prior>
|
|
144
|
-
<prior name="distribution" x="@kappa">
|
|
145
|
-
<LogNormal name="distr" M="1.0" S="1.25"/>
|
|
146
|
-
</prior>
|
|
147
|
-
</distribution>
|
|
148
|
-
</distribution>
|
|
149
|
-
|
|
150
|
-
<operator spec="BactrianScaleOperator" tree="@treeBDMMPrime" rootOnly="true" scaleFactor="0.25" weight="5.0"/>
|
|
151
|
-
<operator spec="BactrianNodeOperator" tree="@treeBDMMPrime" weight="30.0"/>
|
|
152
|
-
<operator spec="BactrianSubtreeSlide" tree="@treeBDMMPrime" weight="15.0"/>
|
|
153
|
-
<operator spec="Exchange" tree="@treeBDMMPrime" weight="15.0"/>
|
|
154
|
-
<operator spec="Exchange" tree="@treeBDMMPrime" isNarrow="false" weight="3.0"/>
|
|
155
|
-
<operator spec="WilsonBalding" tree="@treeBDMMPrime" weight="3.0"/>
|
|
156
|
-
<operator spec="EpochFlexOperator" tree="@treeBDMMPrime" scaleFactor="0.1" weight="2.0"/>
|
|
157
|
-
<operator spec="EpochFlexOperator" tree="@treeBDMMPrime" fromOldestTipOnly="false" scaleFactor="0.1" weight="2.0"/>
|
|
158
|
-
<operator spec="TreeStretchOperator" tree="@treeBDMMPrime" scaleFactor="0.01" weight="2.0"/>
|
|
159
|
-
<operator spec="BactrianScaleOperator" parameter="@processLength" scaleFactor="0.25" weight="3.0" />
|
|
160
|
-
<operator spec="BactrianScaleOperator" parameter="@Re" scaleFactor="0.25" weight="10.0"/>
|
|
161
|
-
<operator spec="SmartScaleOperator" parameter="@samplingProportion" weight="3.0" />
|
|
162
|
-
<plate var="n" range="$(layersRange)">
|
|
163
|
-
<operator spec="BactrianRandomWalkOperator" parameter="@migrationW$(n)" weight="5.0"/>
|
|
164
|
-
</plate>
|
|
165
|
-
<operator id="gammaShapeScaler" spec="BactrianScaleOperator" parameter="@gammaShape" weight="1.0"/>
|
|
166
|
-
<operator id="KappaScaler" spec="BactrianScaleOperator" parameter="@kappa" weight="1.0"/>
|
|
167
|
-
<operatorschedule spec="OperatorSchedule"/>
|
|
168
|
-
|
|
169
|
-
<logger spec="Logger" fileName="MCMC.log" logEvery="1000" model="@posterior" sanitiseHeaders="true" sort="smart">
|
|
170
|
-
<log idref="posterior"/>
|
|
171
|
-
<log idref="likelihood"/>
|
|
172
|
-
<log idref="prior"/>
|
|
173
|
-
<log idref="BDMMPrime"/>
|
|
174
|
-
<log idref="ReSP"/>
|
|
175
|
-
<log idref="samplingProportionSP"/>
|
|
176
|
-
<log idref="migrationRateSP"/>
|
|
177
|
-
<log idref="migrationRate"/>
|
|
178
|
-
<log spec="TypedTreeStatsLogger" includeRootEdge="true" typeLabel="type" typeSet="@typeSet">
|
|
179
|
-
<typedTree id="typeMappedTree" spec="TypeMappedTree" bdmmDistrib="@BDMMPrime" startTypePriorProbs="@typeFrequencies" mapOnInit="false" remapOnLog="true" typeLabel="type" typeTraitSet="@typeTraitSet" untypedTree="@treeBDMMPrime"/>
|
|
180
|
-
</log>
|
|
181
|
-
</logger>
|
|
182
|
-
|
|
183
|
-
<logger spec="OptionalLogger" enableLogger="true" fileName="TypedTree.trees" logEvery="10000" mode="tree">
|
|
184
|
-
<log idref="typeMappedTree"/>
|
|
185
|
-
</logger>
|
|
186
|
-
|
|
187
|
-
<logger spec="OptionalLogger" enableLogger="true" fileName="TypedNodeTree.trees" logEvery="10000" mode="tree">
|
|
188
|
-
<log spec="TypedNodeTreeLogger" typedTree="@typeMappedTree"/>
|
|
189
|
-
</logger>
|
|
190
|
-
|
|
191
|
-
<logger spec="OptionalLogger" enableLogger="true" fileName="trajectory.traj" logEvery="10000">
|
|
192
|
-
<log spec="SampledTrajectory" bdmmDistrib="@BDMMPrime" startTypePriorProbs="@typeFrequencies" typeMappedTree="@typeMappedTree" useTauLeaping="true"/>
|
|
193
|
-
</logger>
|
|
194
|
-
|
|
195
|
-
</run>
|
|
196
|
-
|
|
197
|
-
</beast>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/beast_configs/GLM.xml
RENAMED
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/case_data.tsv
RENAMED
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/eucovid/data/change_dates.tsv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/platyrrhine/beast_config.xml
RENAMED
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/platyrrhine/data/change_times.csv
RENAMED
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/platyrrhine/data/traits.csv
RENAMED
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/platyrrhine/data/trees.nwk
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/platyrrhine/summarize_logs.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/explain/pdp.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/scenarios.py
RENAMED
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/figures/utils.py
RENAMED
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/generate_data.py
RENAMED
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/generate_figures.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/common.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/scenarios/scenario.py
RENAMED
|
File without changes
|
{bella_companion-0.0.27 → bella_companion-0.0.28}/bella_companion/simulations/summarize_logs.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|