From 6ddfdba7099ccebea365637e668e66c25806ab01 Mon Sep 17 00:00:00 2001 From: Jover Lee Date: Tue, 10 Sep 2024 14:29:59 -0700 Subject: [PATCH] Move `accession_ha` and `accession_na` to metadata columns Following up on @huddlej's comment Instead of using the accessions as colorings to force their inclusion in the build, just include them as `metadata_columns`. --- config/h1n1pdm/auspice_config.json | 14 +++----------- config/h1n1pdm/ha/auspice_config.json | 14 +++----------- config/h1n1pdm/na/auspice_config.json | 14 +++----------- config/h3n2/auspice_config.json | 14 +++----------- config/h3n2/auspice_config_fitness.json | 4 +++- config/h3n2/ha/auspice_config.json | 14 +++----------- config/h3n2/na/auspice_config.json | 14 +++----------- config/vic/auspice_config.json | 14 +++----------- config/vic/ha/auspice_config.json | 14 +++----------- config/vic/na/auspice_config.json | 14 +++----------- config/yam/auspice_config.json | 14 +++----------- 11 files changed, 33 insertions(+), 111 deletions(-) diff --git a/config/h1n1pdm/auspice_config.json b/config/h1n1pdm/auspice_config.json index 6acfc526..64a2b033 100644 --- a/config/h1n1pdm/auspice_config.json +++ b/config/h1n1pdm/auspice_config.json @@ -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", @@ -166,6 +156,8 @@ "frequencies" ], "metadata_columns": [ - "gisaid_epi_isl" + "gisaid_epi_isl", + "accession_ha", + "accession_na" ] } diff --git a/config/h1n1pdm/ha/auspice_config.json b/config/h1n1pdm/ha/auspice_config.json index b154704a..405816da 100644 --- a/config/h1n1pdm/ha/auspice_config.json +++ b/config/h1n1pdm/ha/auspice_config.json @@ -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", @@ -241,6 +231,8 @@ "frequencies" ], "metadata_columns": [ - "gisaid_epi_isl" + "gisaid_epi_isl", + "accession_ha", + "accession_na" ] } diff --git a/config/h1n1pdm/na/auspice_config.json b/config/h1n1pdm/na/auspice_config.json index 2c03df56..562344b1 100644 --- a/config/h1n1pdm/na/auspice_config.json +++ b/config/h1n1pdm/na/auspice_config.json @@ -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", @@ -206,6 +196,8 @@ "frequencies" ], "metadata_columns": [ - "gisaid_epi_isl" + "gisaid_epi_isl", + "accession_ha", + "accession_na" ] } diff --git a/config/h3n2/auspice_config.json b/config/h3n2/auspice_config.json index eb6f5675..18dda4d8 100644 --- a/config/h3n2/auspice_config.json +++ b/config/h3n2/auspice_config.json @@ -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", @@ -176,6 +166,8 @@ "frequencies" ], "metadata_columns": [ - "gisaid_epi_isl" + "gisaid_epi_isl", + "accession_ha", + "accession_na" ] } diff --git a/config/h3n2/auspice_config_fitness.json b/config/h3n2/auspice_config_fitness.json index e27efc9e..a9c9793c 100644 --- a/config/h3n2/auspice_config_fitness.json +++ b/config/h3n2/auspice_config_fitness.json @@ -154,6 +154,8 @@ "frequencies" ], "metadata_columns": [ - "gisaid_epi_isl" + "gisaid_epi_isl", + "accession_ha", + "accession_na" ] } diff --git a/config/h3n2/ha/auspice_config.json b/config/h3n2/ha/auspice_config.json index 69ff9426..a1828294 100644 --- a/config/h3n2/ha/auspice_config.json +++ b/config/h3n2/ha/auspice_config.json @@ -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", @@ -219,6 +209,8 @@ "frequencies" ], "metadata_columns": [ - "gisaid_epi_isl" + "gisaid_epi_isl", + "accession_ha", + "accession_na" ] } diff --git a/config/h3n2/na/auspice_config.json b/config/h3n2/na/auspice_config.json index 89de7f23..c27f605c 100644 --- a/config/h3n2/na/auspice_config.json +++ b/config/h3n2/na/auspice_config.json @@ -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", @@ -191,6 +181,8 @@ "frequencies" ], "metadata_columns": [ - "gisaid_epi_isl" + "gisaid_epi_isl", + "accession_ha", + "accession_na" ] } diff --git a/config/vic/auspice_config.json b/config/vic/auspice_config.json index 68a09de8..601f4bbd 100644 --- a/config/vic/auspice_config.json +++ b/config/vic/auspice_config.json @@ -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", @@ -151,6 +141,8 @@ "frequencies" ], "metadata_columns": [ - "gisaid_epi_isl" + "gisaid_epi_isl", + "accession_ha", + "accession_na" ] } diff --git a/config/vic/ha/auspice_config.json b/config/vic/ha/auspice_config.json index 55a54af9..4dd55ace 100644 --- a/config/vic/ha/auspice_config.json +++ b/config/vic/ha/auspice_config.json @@ -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", @@ -198,6 +188,8 @@ "frequencies" ], "metadata_columns": [ - "gisaid_epi_isl" + "gisaid_epi_isl", + "accession_ha", + "accession_na" ] } diff --git a/config/vic/na/auspice_config.json b/config/vic/na/auspice_config.json index a181574d..d925076b 100644 --- a/config/vic/na/auspice_config.json +++ b/config/vic/na/auspice_config.json @@ -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", @@ -191,6 +181,8 @@ "frequencies" ], "metadata_columns": [ - "gisaid_epi_isl" + "gisaid_epi_isl", + "accession_ha", + "accession_na" ] } diff --git a/config/yam/auspice_config.json b/config/yam/auspice_config.json index 999423d4..41439858 100644 --- a/config/yam/auspice_config.json +++ b/config/yam/auspice_config.json @@ -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", @@ -129,6 +119,8 @@ "frequencies" ], "metadata_columns": [ - "gisaid_epi_isl" + "gisaid_epi_isl", + "accession_ha", + "accession_na" ] }