Skip to content

Commit

Permalink
Add Nextclade extension to public builds
Browse files Browse the repository at this point in the history
Adds Nextclade extension with "subclade" annotation to Auspice config
for all public builds, allowing users to get these subclade annotations
from Nextclade for any public tree.

To test this functionality, I added subclade annotations to the CI build
and confirmed that the extension worked as expected by uploading the CI
Auspice JSON to the staging server before and after I included the
extension in the JSON.
  • Loading branch information
huddlej committed Nov 18, 2024
1 parent a010740 commit afe2cd9
Show file tree
Hide file tree
Showing 10 changed files with 118 additions and 18 deletions.
15 changes: 13 additions & 2 deletions config/h1n1pdm/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,16 @@
"metadata_columns": [
"accession_ha",
"accession_na"
]
}
],
"extensions": {
"nextclade": {
"clade_node_attrs": [
{
"name": "subclade",
"displayName": "Subclade",
"description": "Experimental fine-grained subclade annotation."
}
]
}
}
}
15 changes: 13 additions & 2 deletions config/h1n1pdm/ha/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,5 +263,16 @@
"gisaid_strain",
"accession_ha",
"accession_na"
]
}
],
"extensions": {
"nextclade": {
"clade_node_attrs": [
{
"name": "subclade",
"displayName": "Subclade",
"description": "Experimental fine-grained subclade annotation."
}
]
}
}
}
15 changes: 13 additions & 2 deletions config/h1n1pdm/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,5 +196,16 @@
"gisaid_strain",
"accession_ha",
"accession_na"
]
}
],
"extensions": {
"nextclade": {
"clade_node_attrs": [
{
"name": "subclade",
"displayName": "Subclade",
"description": "Experimental fine-grained subclade annotation."
}
]
}
}
}
15 changes: 13 additions & 2 deletions config/h3n2/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,16 @@
"metadata_columns": [
"accession_ha",
"accession_na"
]
}
],
"extensions": {
"nextclade": {
"clade_node_attrs": [
{
"name": "subclade",
"displayName": "Subclade",
"description": "Experimental fine-grained subclade annotation."
}
]
}
}
}
15 changes: 13 additions & 2 deletions config/h3n2/ha/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,5 +253,16 @@
"gisaid_strain",
"accession_ha",
"accession_na"
]
}
],
"extensions": {
"nextclade": {
"clade_node_attrs": [
{
"name": "subclade",
"displayName": "Subclade",
"description": "Experimental fine-grained subclade annotation."
}
]
}
}
}
15 changes: 13 additions & 2 deletions config/h3n2/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,16 @@
"gisaid_strain",
"accession_ha",
"accession_na"
]
}
],
"extensions": {
"nextclade": {
"clade_node_attrs": [
{
"name": "subclade",
"displayName": "Subclade",
"description": "Experimental fine-grained subclade annotation."
}
]
}
}
}
15 changes: 13 additions & 2 deletions config/vic/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,16 @@
"metadata_columns": [
"accession_ha",
"accession_na"
]
}
],
"extensions": {
"nextclade": {
"clade_node_attrs": [
{
"name": "subclade",
"displayName": "Subclade",
"description": "Experimental fine-grained subclade annotation."
}
]
}
}
}
15 changes: 13 additions & 2 deletions config/vic/ha/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,16 @@
"gisaid_strain",
"accession_ha",
"accession_na"
]
}
],
"extensions": {
"nextclade": {
"clade_node_attrs": [
{
"name": "subclade",
"displayName": "Subclade",
"description": "Experimental fine-grained subclade annotation."
}
]
}
}
}
15 changes: 13 additions & 2 deletions config/vic/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,5 +221,16 @@
"gisaid_strain",
"accession_ha",
"accession_na"
]
}
],
"extensions": {
"nextclade": {
"clade_node_attrs": [
{
"name": "subclade",
"displayName": "Subclade",
"description": "Experimental fine-grained subclade annotation."
}
]
}
}
}
1 change: 1 addition & 0 deletions profiles/ci/builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ builds:
annotation: "config/h3n2/{segment}/genemap.gff"
tree_exclude_sites: "config/h3n2/{segment}/exclude-sites.txt"
clades: "config/h3n2/ha/clades.tsv"
subclades: "config/h3n2/{segment}/subclades.tsv"
min_date: "12Y"
auspice_config: "config/h3n2/auspice_config.json"
enable_titer_models: true
Expand Down

0 comments on commit afe2cd9

Please sign in to comment.