Skip to content

Commit

Permalink
Merge pull request #192 from nextstrain/export-gisaid-strain-names
Browse files Browse the repository at this point in the history
Include original GISAID strain name in metadata
  • Loading branch information
huddlej authored Oct 31, 2024
2 parents b09a501 + 8a59d36 commit efaf11b
Show file tree
Hide file tree
Showing 18 changed files with 51 additions and 127 deletions.
4 changes: 3 additions & 1 deletion config/h1n1pdm/ha/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@
],
"display_defaults": {
"map_triplicate": true,
"color_by": "clade_membership"
"color_by": "clade_membership",
"tip_label": "gisaid_strain"
},
"filters": [
"clade_membership",
Expand All @@ -231,6 +232,7 @@
"frequencies"
],
"metadata_columns": [
"gisaid_strain",
"accession_ha",
"accession_na"
]
Expand Down
4 changes: 3 additions & 1 deletion config/h1n1pdm/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@
],
"display_defaults": {
"map_triplicate": true,
"color_by": "clade_membership"
"color_by": "clade_membership",
"tip_label": "gisaid_strain"
},
"filters": [
"clade_membership",
Expand All @@ -196,6 +197,7 @@
"frequencies"
],
"metadata_columns": [
"gisaid_strain",
"accession_ha",
"accession_na"
]
Expand Down
4 changes: 3 additions & 1 deletion config/h3n2/ha/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@
],
"display_defaults": {
"map_triplicate": true,
"color_by": "clade_membership"
"color_by": "clade_membership",
"tip_label": "gisaid_strain"
},
"filters": [
"clade_membership",
Expand All @@ -248,6 +249,7 @@
"frequencies"
],
"metadata_columns": [
"gisaid_strain",
"accession_ha",
"accession_na"
]
Expand Down
4 changes: 3 additions & 1 deletion config/h3n2/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@
],
"display_defaults": {
"map_triplicate": true,
"color_by": "clade_membership"
"color_by": "clade_membership",
"tip_label": "gisaid_strain"
},
"filters": [
"clade_membership",
Expand All @@ -181,6 +182,7 @@
"frequencies"
],
"metadata_columns": [
"gisaid_strain",
"accession_ha",
"accession_na"
]
Expand Down
4 changes: 3 additions & 1 deletion config/vic/ha/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@
],
"display_defaults": {
"map_triplicate": true,
"color_by": "clade_membership"
"color_by": "clade_membership",
"tip_label": "gisaid_strain"
},
"filters": [
"clade_membership",
Expand All @@ -188,6 +189,7 @@
"frequencies"
],
"metadata_columns": [
"gisaid_strain",
"accession_ha",
"accession_na"
]
Expand Down
4 changes: 3 additions & 1 deletion config/vic/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@
],
"display_defaults": {
"map_triplicate": true,
"color_by": "clade_membership"
"color_by": "clade_membership",
"tip_label": "gisaid_strain"
},
"filters": [
"clade_membership",
Expand All @@ -181,6 +182,7 @@
"frequencies"
],
"metadata_columns": [
"gisaid_strain",
"accession_ha",
"accession_na"
]
Expand Down
24 changes: 0 additions & 24 deletions profiles/nextflu-private-forecasts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,6 @@ custom_rules:
- profiles/nextflu-private-forecasts/zoltar.smk
- profiles/nextflu-private-forecasts/rename.smk

fasta_fields:
- strain
- virus
- segment
- accession
- date
- date_submitted
- region
- country
- division
- location
- passage_category
- originating_lab
- submitting_lab
- age
- gender
prettify_fields:
- region
- country
- division
- location
- originating_lab
- submitting_lab

lat-longs: "config/lat_longs.tsv"

segments:
Expand Down
24 changes: 0 additions & 24 deletions profiles/nextflu-private.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,6 @@ custom_rules:
# URL for auto-deploying builds
deploy_url: https://nextstrain.org/groups/nextflu-private/

fasta_fields:
- strain
- virus
- segment
- accession
- date
- date_submitted
- region
- country
- division
- location
- passage_category
- originating_lab
- submitting_lab
- age
- gender
prettify_fields:
- region
- country
- division
- location
- originating_lab
- submitting_lab

lat-longs: "config/lat_longs.tsv"

segments:
Expand Down
5 changes: 5 additions & 0 deletions profiles/nextflu-private/h1n1pdm/ha/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -461,5 +461,10 @@
"map",
"entropy",
"frequencies"
],
"metadata_columns": [
"gisaid_strain",
"accession_ha",
"accession_na"
]
}
5 changes: 5 additions & 0 deletions profiles/nextflu-private/h1n1pdm/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,10 @@
"map",
"entropy",
"frequencies"
],
"metadata_columns": [
"gisaid_strain",
"accession_ha",
"accession_na"
]
}
7 changes: 6 additions & 1 deletion profiles/nextflu-private/h3n2/ha/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -593,5 +593,10 @@
"map",
"entropy",
"frequencies"
],
"metadata_columns": [
"gisaid_strain",
"accession_ha",
"accession_na"
]
}
}
5 changes: 5 additions & 0 deletions profiles/nextflu-private/h3n2/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,5 +236,10 @@
"map",
"entropy",
"frequencies"
],
"metadata_columns": [
"gisaid_strain",
"accession_ha",
"accession_na"
]
}
5 changes: 5 additions & 0 deletions profiles/nextflu-private/vic/ha/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,5 +303,10 @@
"map",
"entropy",
"frequencies"
],
"metadata_columns": [
"gisaid_strain",
"accession_ha",
"accession_na"
]
}
5 changes: 5 additions & 0 deletions profiles/nextflu-private/vic/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,10 @@
"map",
"entropy",
"frequencies"
],
"metadata_columns": [
"gisaid_strain",
"accession_ha",
"accession_na"
]
}
24 changes: 0 additions & 24 deletions profiles/nextstrain-public-yamagata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,6 @@ custom_rules:
# URL for auto-deploying builds
deploy_url: s3://nextstrain-data

fasta_fields:
- strain
- virus
- segment
- accession
- date
- date_submitted
- region
- country
- division
- location
- passage_category
- originating_lab
- submitting_lab
- age
- gender
prettify_fields:
- region
- country
- division
- location
- originating_lab
- submitting_lab

lat-longs: "config/lat_longs.tsv"

segments:
Expand Down
24 changes: 0 additions & 24 deletions profiles/nextstrain-public.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,6 @@ custom_rules:
# URL for auto-deploying builds
deploy_url: s3://nextstrain-data

fasta_fields:
- strain
- virus
- segment
- accession
- date
- date_submitted
- region
- country
- division
- location
- passage_category
- originating_lab
- submitting_lab
- age
- gender
prettify_fields:
- region
- country
- division
- location
- originating_lab
- submitting_lab

lat-longs: "config/lat_longs.tsv"

segments:
Expand Down
24 changes: 0 additions & 24 deletions profiles/private.nextflu.org.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,6 @@ custom_rules:
- workflow/snakemake_rules/download_from_s3.smk
- profiles/private.nextflu.org/export.smk

fasta_fields:
- strain
- virus
- segment
- accession
- date
- date_submitted
- region
- country
- division
- location
- passage_category
- originating_lab
- submitting_lab
- age
- gender
prettify_fields:
- region
- country
- division
- location
- originating_lab
- submitting_lab

lat-longs: "config/lat_longs.tsv"

segments:
Expand Down
2 changes: 2 additions & 0 deletions profiles/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ fauna_fasta_fields:
- submitting_lab
- age
- gender
- gisaid_strain
fasta_fields:
- strain
- virus
Expand All @@ -38,6 +39,7 @@ fasta_fields:
- submitting_lab
- age
- gender
- gisaid_strain
prettify_fields:
- region
- country
Expand Down

0 comments on commit efaf11b

Please sign in to comment.