Skip to content

Commit 91d70ab

Browse files
committed
WIP: SH tree
1 parent 2beb729 commit 91d70ab

13 files changed

Lines changed: 13839 additions & 19 deletions

phylogenetic/Snakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ workdir: workflow.current_basedir
88
# Use default configuration values. Override with Snakemake's --configfile/--config options.
99
configfile: "defaults/config.yaml"
1010

11-
builds = ["north-america","global"]
11+
builds = ["north-america","global","sh"]
1212

1313
wildcard_constraints:
1414
build = "|".join(builds)

phylogenetic/defaults/color_orderings.tsv

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,17 @@ MuV_genotype A
298298
MuV_genotype B
299299
MuV_genotype C
300300
MuV_genotype D
301+
MuV_genotype D1
301302
MuV_genotype F
302303
MuV_genotype G
304+
MuV_genotype G1
305+
MuV_genotype G2
303306
MuV_genotype H
307+
MuV_genotype H1
308+
MuV_genotype H2
304309
MuV_genotype I
305310
MuV_genotype J
306311
MuV_genotype K
312+
MuV_genotype K/M
307313
MuV_genotype L
308314
MuV_genotype N

phylogenetic/defaults/config.yaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,30 @@ sequences_url: "https://data.nextstrain.org/files/workflows/mumps/sequences.fast
44
metadata_url: "https://data.nextstrain.org/files/workflows/mumps/metadata.tsv.zst"
55

66
strain_id_field: "accession"
7-
reference: "defaults/reference.gb"
7+
reference:
8+
north-america: "defaults/reference.gb"
9+
global: "defaults/reference.gb"
10+
sh: "defaults/sh/reference.gb"
811

912
filter:
10-
min_length: 8000
1113
group_by: country year month MuV_genotype division
1214
specific:
13-
north-america: --subsample-max-sequences 4000 --min-date 2006 --query "region=='North America' & (MuV_genotype=='G')"
14-
global: --subsample-max-sequences 4000 --min-date 1950
15+
north-america: --min-length 8000 --subsample-max-sequences 4000 --min-date 2006 --query "region=='North America' & (MuV_genotype=='G')"
16+
global: --min-length 8000 --subsample-max-sequences 4000 --min-date 1950
17+
sh: --exclude-all
1518

1619
refine:
17-
north-america: "--clock-filter-iqd 4"
18-
global: ""
20+
north-america: "--timetree --clock-filter-iqd 4 --coalescent opt --date-confidence --date-inference marginal"
21+
global: "--timetree --coalescent opt --date-confidence --date-inference marginal"
22+
sh: "--timetree --clock-rate 0.0001"
1923

2024
ancestral:
2125
inference: "joint"
2226

2327
traits:
2428
north-america: country division MuV_genotype
2529
global: region MuV_genotype
30+
sh: region
2631
sampling_bias_correction: 3
2732

2833
colors:
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
{
2+
"title": "Real-time tracking of mumps virus evolution",
3+
"maintainers": [
4+
{"name": "the Nextstrain team", "url": "https://nextstrain.org/team"}
5+
],
6+
"data_provenance": [
7+
{
8+
"name": "GenBank",
9+
"url": "https://www.ncbi.nlm.nih.gov/genbank/"
10+
}
11+
],
12+
"build_url": "https://github.com/nextstrain/mumps",
13+
"colorings": [
14+
{
15+
"key": "gt",
16+
"title": "Genotype",
17+
"type": "categorical"
18+
},
19+
{
20+
"key": "num_date",
21+
"title": "Date",
22+
"type": "continuous"
23+
},
24+
{
25+
"key": "author",
26+
"title": "Author",
27+
"type": "categorical"
28+
},
29+
{
30+
"key": "MuV_genotype",
31+
"title": "MuV genotype",
32+
"type": "categorical"
33+
},
34+
{
35+
"key": "country",
36+
"title": "Country",
37+
"type": "categorical"
38+
},
39+
{
40+
"key": "region",
41+
"title": "Region",
42+
"type": "categorical"
43+
},
44+
{
45+
"key": "duplicate",
46+
"title": "Duplicate",
47+
"type": "categorical"
48+
}
49+
],
50+
"geo_resolutions": [
51+
"country",
52+
"region"
53+
],
54+
"panels": [
55+
"tree",
56+
"map",
57+
"entropy",
58+
"frequencies"
59+
],
60+
"display_defaults": {
61+
"map_triplicate": true,
62+
"color_by": "country",
63+
"tip_label": "strain"
64+
},
65+
"filters": [
66+
"MuV_genotype",
67+
"country",
68+
"region",
69+
"author"
70+
],
71+
"metadata_columns": [
72+
"strain",
73+
"isolate",
74+
"host",
75+
"identical_to"
76+
],
77+
"extensions": {
78+
"nextclade": {
79+
"clade_node_attrs": [
80+
{
81+
"name": "MuV_genotype",
82+
"displayName": "MuV Genotype",
83+
"description": "Mumps genotype"
84+
}
85+
],
86+
"pathogen": {
87+
"schemaVersion":"3.0.0",
88+
"attributes": {
89+
"name": "Mumps virus global tree",
90+
"reference name": "Reconstructed ancestor from global tree",
91+
"reference accession": "none"
92+
}
93+
}
94+
}
95+
}
96+
}

0 commit comments

Comments
 (0)