Skip to content

Commit

Permalink
Move accession_ha and accession_na to metadata columns
Browse files Browse the repository at this point in the history
Following up on @huddlej's comment
<#138 (comment)>

Instead of using the accessions as colorings to force their inclusion
in the build, just include them as `metadata_columns`.
  • Loading branch information
joverlee521 committed Sep 10, 2024
1 parent d5e1e56 commit 6ddfdba
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 111 deletions.
14 changes: 3 additions & 11 deletions config/h1n1pdm/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,6 @@
"title": "Division",
"type": "categorical"
},
{
"key": "accession_ha",
"title": "Accession (HA)",
"type": "categorical"
},
{
"key": "accession_na",
"title": "Accession (NA)",
"type": "categorical"
},
{
"key": "submitting_lab",
"title": "Submitting lab",
Expand Down Expand Up @@ -166,6 +156,8 @@
"frequencies"
],
"metadata_columns": [
"gisaid_epi_isl"
"gisaid_epi_isl",
"accession_ha",
"accession_na"
]
}
14 changes: 3 additions & 11 deletions config/h1n1pdm/ha/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,16 +162,6 @@
"title": "Division",
"type": "categorical"
},
{
"key": "accession_ha",
"title": "Accession (HA)",
"type": "categorical"
},
{
"key": "accession_na",
"title": "Accession (NA)",
"type": "categorical"
},
{
"key": "submitting_lab",
"title": "Submitting lab",
Expand Down Expand Up @@ -241,6 +231,8 @@
"frequencies"
],
"metadata_columns": [
"gisaid_epi_isl"
"gisaid_epi_isl",
"accession_ha",
"accession_na"
]
}
14 changes: 3 additions & 11 deletions config/h1n1pdm/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,16 +127,6 @@
"title": "Division",
"type": "categorical"
},
{
"key": "accession_ha",
"title": "Accession (HA)",
"type": "categorical"
},
{
"key": "accession_na",
"title": "Accession (NA)",
"type": "categorical"
},
{
"key": "submitting_lab",
"title": "Submitting lab",
Expand Down Expand Up @@ -206,6 +196,8 @@
"frequencies"
],
"metadata_columns": [
"gisaid_epi_isl"
"gisaid_epi_isl",
"accession_ha",
"accession_na"
]
}
14 changes: 3 additions & 11 deletions config/h3n2/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,6 @@
"title": "Division",
"type": "categorical"
},
{
"key": "accession_ha",
"title": "Accession (HA)",
"type": "categorical"
},
{
"key": "accession_na",
"title": "Accession (NA)",
"type": "categorical"
},
{
"key": "submitting_lab",
"title": "Submitting lab",
Expand Down Expand Up @@ -176,6 +166,8 @@
"frequencies"
],
"metadata_columns": [
"gisaid_epi_isl"
"gisaid_epi_isl",
"accession_ha",
"accession_na"
]
}
4 changes: 3 additions & 1 deletion config/h3n2/auspice_config_fitness.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@
"frequencies"
],
"metadata_columns": [
"gisaid_epi_isl"
"gisaid_epi_isl",
"accession_ha",
"accession_na"
]
}
14 changes: 3 additions & 11 deletions config/h3n2/ha/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,16 +140,6 @@
"title": "Division",
"type": "categorical"
},
{
"key": "accession_ha",
"title": "Accession (HA)",
"type": "categorical"
},
{
"key": "accession_na",
"title": "Accession (NA)",
"type": "categorical"
},
{
"key": "submitting_lab",
"title": "Submitting lab",
Expand Down Expand Up @@ -219,6 +209,8 @@
"frequencies"
],
"metadata_columns": [
"gisaid_epi_isl"
"gisaid_epi_isl",
"accession_ha",
"accession_na"
]
}
14 changes: 3 additions & 11 deletions config/h3n2/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,6 @@
"title": "Division",
"type": "categorical"
},
{
"key": "accession_ha",
"title": "Accession (HA)",
"type": "categorical"
},
{
"key": "accession_na",
"title": "Accession (NA)",
"type": "categorical"
},
{
"key": "submitting_lab",
"title": "Submitting lab",
Expand Down Expand Up @@ -191,6 +181,8 @@
"frequencies"
],
"metadata_columns": [
"gisaid_epi_isl"
"gisaid_epi_isl",
"accession_ha",
"accession_na"
]
}
14 changes: 3 additions & 11 deletions config/vic/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,6 @@
"title": "Division",
"type": "categorical"
},
{
"key": "accession_ha",
"title": "Accession (HA)",
"type": "categorical"
},
{
"key": "accession_na",
"title": "Accession (NA)",
"type": "categorical"
},
{
"key": "submitting_lab",
"title": "Submitting lab",
Expand Down Expand Up @@ -151,6 +141,8 @@
"frequencies"
],
"metadata_columns": [
"gisaid_epi_isl"
"gisaid_epi_isl",
"accession_ha",
"accession_na"
]
}
14 changes: 3 additions & 11 deletions config/vic/ha/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,6 @@
"title": "Division",
"type": "categorical"
},
{
"key": "accession_ha",
"title": "Accession (HA)",
"type": "categorical"
},
{
"key": "accession_na",
"title": "Accession (NA)",
"type": "categorical"
},
{
"key": "submitting_lab",
"title": "Submitting lab",
Expand Down Expand Up @@ -198,6 +188,8 @@
"frequencies"
],
"metadata_columns": [
"gisaid_epi_isl"
"gisaid_epi_isl",
"accession_ha",
"accession_na"
]
}
14 changes: 3 additions & 11 deletions config/vic/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,6 @@
"title": "Division",
"type": "categorical"
},
{
"key": "accession_ha",
"title": "Accession (HA)",
"type": "categorical"
},
{
"key": "accession_na",
"title": "Accession (NA)",
"type": "categorical"
},
{
"key": "submitting_lab",
"title": "Submitting lab",
Expand Down Expand Up @@ -191,6 +181,8 @@
"frequencies"
],
"metadata_columns": [
"gisaid_epi_isl"
"gisaid_epi_isl",
"accession_ha",
"accession_na"
]
}
14 changes: 3 additions & 11 deletions config/yam/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,6 @@
"title": "Division",
"type": "categorical"
},
{
"key": "accession_ha",
"title": "Accession (HA)",
"type": "categorical"
},
{
"key": "accession_na",
"title": "Accession (NA)",
"type": "categorical"
},
{
"key": "submitting_lab",
"title": "Submitting lab",
Expand Down Expand Up @@ -129,6 +119,8 @@
"frequencies"
],
"metadata_columns": [
"gisaid_epi_isl"
"gisaid_epi_isl",
"accession_ha",
"accession_na"
]
}

0 comments on commit 6ddfdba

Please sign in to comment.