Skip to content

Comments

Export a distinct Nextclade subclade column#258

Draft
huddlej wants to merge 1 commit intomasterfrom
export-nextclade-subclades
Draft

Export a distinct Nextclade subclade column#258
huddlej wants to merge 1 commit intomasterfrom
export-nextclade-subclades

Conversation

@huddlej
Copy link
Contributor

@huddlej huddlej commented Oct 2, 2025

Description of proposed changes

Copies the Nextclade "subclade" column to a new "subclade_nextclade" field and adds this new column to the Auspice config JSON for H3N2 HA as a proof of concept for exporting Nextclade-based clade annotations alongside the augur clades annotations. Since the Nextclade annotation of subclade already exists in the metadata we pass to augur export, we just need to rename that column to avoid conflicting with the "subclade" attribute that also appears in the node data JSON inputs to augur export. To avoid breaking any downstream logic that relies on the Nextclade column name of "subclade", I've chosen to duplicate the original column to a new column with the desired name.

This approach could be a simple first step toward the complete replacement of augur clades with Nextclade as described in #131. This approach does not try to solve the issue of assigning clade labels to internal nodes or creating branch labels for clades.

Related issue(s)

Related to #254
Related to #131

Checklist

  • Checks pass
  • Update changelog

Copies the Nextclade "subclade" column to a new "subclade_nextclade"
field and adds this new column to the Auspice config JSON for H3N2 HA as
a proof of concept for exporting Nextclade-based clade annotations
alongside the `augur clades` annotations. Since the Nextclade annotation
of subclade already exists in the metadata we pass to `augur export`, we
just need to rename that column to avoid conflicting with the "subclade"
attribute that also appears in the node data JSON inputs to `augur
export`. To avoid breaking any downstream logic that relies on the
Nextclade column name of "subclade", I've chosen to duplicate the
original column to a new column with the desired name.

Related to #254
Related to #131
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant