bella-companion 0.0.29__py3-none-any.whl → 0.0.30__py3-none-any.whl
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/eucovid/beast_configs/GLM.xml +6 -5
- bella_companion/eucovid/run_beast.py +5 -11
- bella_companion/platyrrhine/run_beast.py +1 -6
- {bella_companion-0.0.29.dist-info → bella_companion-0.0.30.dist-info}/METADATA +1 -1
- {bella_companion-0.0.29.dist-info → bella_companion-0.0.30.dist-info}/RECORD +7 -7
- {bella_companion-0.0.29.dist-info → bella_companion-0.0.30.dist-info}/WHEEL +0 -0
- {bella_companion-0.0.29.dist-info → bella_companion-0.0.30.dist-info}/entry_points.txt +0 -0
|
@@ -109,11 +109,12 @@
|
|
|
109
109
|
<distribution spec="SmartZeroExcludingPrior" x="@samplingProportion" classesToExclude="1.1E-5 1.2E-5 1.3E-5 1.4E-5">
|
|
110
110
|
<Uniform name="distr" lower="0" upper="0.057"/>
|
|
111
111
|
</distribution>
|
|
112
|
-
<
|
|
113
|
-
<
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
<prior name="distribution" x="@migrationRateW">
|
|
113
|
+
<Normal name="distr" mean="0.0" sigma="1.0"/>
|
|
114
|
+
</prior>
|
|
115
|
+
<prior name="distribution" x="@migrationRateScaler">
|
|
116
|
+
<LogNormal name="distr" M="0.0" S="0.8"/>
|
|
117
|
+
</prior>
|
|
117
118
|
<prior name="distribution" x="@gammaShape">
|
|
118
119
|
<Exponential name="distr" mean="0.5"/>
|
|
119
120
|
</prior>
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import json
|
|
2
1
|
import os
|
|
3
2
|
from glob import glob
|
|
4
3
|
from pathlib import Path
|
|
@@ -34,10 +33,8 @@ def run_beast():
|
|
|
34
33
|
]
|
|
35
34
|
)
|
|
36
35
|
|
|
37
|
-
job_ids = {}
|
|
38
|
-
|
|
39
36
|
os.makedirs(output_dir / "Nonparametric", exist_ok=True)
|
|
40
|
-
|
|
37
|
+
submit_job(
|
|
41
38
|
" ".join(
|
|
42
39
|
[
|
|
43
40
|
os.environ["BELLA_RUN_BEAST_CMD"],
|
|
@@ -52,7 +49,7 @@ def run_beast():
|
|
|
52
49
|
)
|
|
53
50
|
|
|
54
51
|
os.makedirs(output_dir / "all-predictors-GLM", exist_ok=True)
|
|
55
|
-
|
|
52
|
+
submit_job(
|
|
56
53
|
" ".join(
|
|
57
54
|
[
|
|
58
55
|
os.environ["BELLA_RUN_BEAST_CMD"],
|
|
@@ -67,7 +64,7 @@ def run_beast():
|
|
|
67
64
|
)
|
|
68
65
|
|
|
69
66
|
os.makedirs(output_dir / "flights-GLM", exist_ok=True)
|
|
70
|
-
|
|
67
|
+
submit_job(
|
|
71
68
|
" ".join(
|
|
72
69
|
[
|
|
73
70
|
os.environ["BELLA_RUN_BEAST_CMD"],
|
|
@@ -82,7 +79,7 @@ def run_beast():
|
|
|
82
79
|
)
|
|
83
80
|
|
|
84
81
|
os.makedirs(output_dir / "all-predictors-MLP", exist_ok=True)
|
|
85
|
-
|
|
82
|
+
submit_job(
|
|
86
83
|
" ".join(
|
|
87
84
|
[
|
|
88
85
|
os.environ["BELLA_RUN_BEAST_CMD"],
|
|
@@ -98,7 +95,7 @@ def run_beast():
|
|
|
98
95
|
)
|
|
99
96
|
|
|
100
97
|
os.makedirs(output_dir / "flights-MLP", exist_ok=True)
|
|
101
|
-
|
|
98
|
+
submit_job(
|
|
102
99
|
" ".join(
|
|
103
100
|
[
|
|
104
101
|
os.environ["BELLA_RUN_BEAST_CMD"],
|
|
@@ -112,6 +109,3 @@ def run_beast():
|
|
|
112
109
|
cpus=128,
|
|
113
110
|
mem_per_cpu=12000,
|
|
114
111
|
)
|
|
115
|
-
|
|
116
|
-
with open(base_output_dir / "eucovid_job_ids.json", "w") as f:
|
|
117
|
-
json.dump(job_ids, f)
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import json
|
|
2
1
|
import os
|
|
3
2
|
from pathlib import Path
|
|
4
3
|
|
|
@@ -33,7 +32,6 @@ def run_beast():
|
|
|
33
32
|
time_predictor = " ".join(list(map(str, np.repeat(time_bins, len(types)))))
|
|
34
33
|
log10BM_predictor = " ".join(types * T)
|
|
35
34
|
|
|
36
|
-
job_ids = {}
|
|
37
35
|
for i, tree in enumerate(
|
|
38
36
|
tqdm(trees, desc="Submitting BEAST jobs for platyrrhine datasets")
|
|
39
37
|
):
|
|
@@ -64,11 +62,8 @@ def run_beast():
|
|
|
64
62
|
str(Path(__file__).parent / "beast_config.xml"),
|
|
65
63
|
]
|
|
66
64
|
)
|
|
67
|
-
|
|
65
|
+
submit_job(
|
|
68
66
|
command,
|
|
69
67
|
Path(os.environ["BELLA_SBATCH_LOG_DIR"]) / "platyrrhine" / str(i),
|
|
70
68
|
mem_per_cpu=12000,
|
|
71
69
|
)
|
|
72
|
-
|
|
73
|
-
with open(base_output_dir / "platyrrhine_job_ids.json", "w") as f:
|
|
74
|
-
json.dump(job_ids, f)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
bella_companion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
bella_companion/cli.py,sha256=0SwDxkDPqvsp36kGnrBMLPIhAQM8PIpNXrztZayqmDc,2409
|
|
3
3
|
bella_companion/eucovid/__init__.py,sha256=09Ld_G7fZvCDCgEWsmaOyLVQ8pFc9QHAGnXKJ9Zm2AM,81
|
|
4
|
-
bella_companion/eucovid/beast_configs/GLM.xml,sha256=
|
|
4
|
+
bella_companion/eucovid/beast_configs/GLM.xml,sha256=b5rAeKVEam3u2AGSJsm7EHB6LcC0l9bp1SyZT2QyjpI,10892
|
|
5
5
|
bella_companion/eucovid/beast_configs/MLP.xml,sha256=M0_B6t0bZpjCAQqAmjrFshW96pt9sNREcoLUjwchX6Q,10616
|
|
6
6
|
bella_companion/eucovid/beast_configs/Nonparametric.xml,sha256=n-t4sUfDS9AzC02tbIk5mx_RDg2l62ELhdR3I3_jjHE,17783
|
|
7
7
|
bella_companion/eucovid/data/case_data.tsv,sha256=XaSzZh5NcEMVt9d_XlQ19T8UuEkHGrjpSFXhe9IycNg,12412
|
|
@@ -20,14 +20,14 @@ bella_companion/eucovid/data/predictors/all/sharedborders_7e_nt.tsv,sha256=pPVT5
|
|
|
20
20
|
bella_companion/eucovid/data/predictors/changetimes_all_7e.tsv,sha256=hH0xXD2lr_8RPQRqvENv6clPHauAXH22SGQHb3hlfzs,120
|
|
21
21
|
bella_companion/eucovid/data/predictors/changetimes_flights_4e.tsv,sha256=XEepIXKRwcKknJq4-ovKlorvCypGi67B8znuQ5f1LTg,60
|
|
22
22
|
bella_companion/eucovid/data/predictors/flight_pop_x_4e_ls.tsv,sha256=tMR9-tuGtC3rVABXUtNdV9irUX-9aCCVb_fwksHTn8U,1068
|
|
23
|
-
bella_companion/eucovid/run_beast.py,sha256=
|
|
23
|
+
bella_companion/eucovid/run_beast.py,sha256=etaD_4SVdy_Pmz5s4jvDLzp2K_QV8leEY8Pe3xySBsk,3443
|
|
24
24
|
bella_companion/platyrrhine/__init__.py,sha256=dIx6exNz-vuKiG5FZumvq74QUWcIEFd3L6ErqnOa83c,274
|
|
25
25
|
bella_companion/platyrrhine/beast_config.xml,sha256=bLzavt-Zd8cmSgQQnlCBfZ9KyM7d1inOGx12VNjPFb4,7056
|
|
26
26
|
bella_companion/platyrrhine/data/change_times.csv,sha256=tedobHbaY7-6M3V6F6HSqGAU9dpeeajR5mu1XGJfp6w,68
|
|
27
27
|
bella_companion/platyrrhine/data/traits.csv,sha256=N_mCnaM9Gy0Qot7-l_mK0vMvr7e_5BZ4bgUHpcoG9UM,3949
|
|
28
28
|
bella_companion/platyrrhine/data/trees.nwk,sha256=lpSiGUG5s3zE--IKPOyWrJ5vpJb_xAPnfxychs3YNIs,488232
|
|
29
29
|
bella_companion/platyrrhine/results.py,sha256=qosxqstTy7uadHARRt1WqmxZzxnQ3hiTjtw6V-YWKGA,2556
|
|
30
|
-
bella_companion/platyrrhine/run_beast.py,sha256=
|
|
30
|
+
bella_companion/platyrrhine/run_beast.py,sha256=_9Ex2B65zu6I68uY6s3_dohPYPaFP3E7u-uyWuDLAJc,2477
|
|
31
31
|
bella_companion/platyrrhine/summarize_logs.py,sha256=82N7rcmLthCyQqmP4Yub4KUsIjNzQl9vEuFLMvIv03o,951
|
|
32
32
|
bella_companion/simulations/__init__.py,sha256=ShYRdp1iSjnS_SzcsH-8jbqXz6P1nyRQZqAtPZJCMVE,454
|
|
33
33
|
bella_companion/simulations/beast_configs/epi-multitype/GLM.xml,sha256=VymAYsaZVuB3EPE0DCQSXpKepVq8pPjKaB5yhEpaVkE,4334
|
|
@@ -69,7 +69,7 @@ bella_companion/utils/__init__.py,sha256=UtMwPK9dWf9NAl0ic8CSsgdW7aSm-5J49OqgvD7
|
|
|
69
69
|
bella_companion/utils/beast.py,sha256=TBa0cLklX1_tXqoQE4LRYvds7mLg_9fS2-6U6OHENHo,2184
|
|
70
70
|
bella_companion/utils/explain.py,sha256=uP7HPyn2YiykAI69BQV3RooDpC6qKoCLXfp3Uibp4zk,1475
|
|
71
71
|
bella_companion/utils/slurm.py,sha256=xEyf-Jxk8fy71t3fko_Ic9WtUFSdLFE3w4tR17gaBPw,1868
|
|
72
|
-
bella_companion-0.0.
|
|
73
|
-
bella_companion-0.0.
|
|
74
|
-
bella_companion-0.0.
|
|
75
|
-
bella_companion-0.0.
|
|
72
|
+
bella_companion-0.0.30.dist-info/METADATA,sha256=DndfOvgcd48t3HfXC_ZsSuJ_PKC6GBOx-6hxkDSZPKY,576
|
|
73
|
+
bella_companion-0.0.30.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
74
|
+
bella_companion-0.0.30.dist-info/entry_points.txt,sha256=rSeKoAhmjnQqAYFcXBv0gAM2ViJfJe0D8_dD-fWrXeg,50
|
|
75
|
+
bella_companion-0.0.30.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|