Draft
Conversation
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
This was referenced Oct 2, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 cladesannotations. Since the Nextclade annotation of subclade already exists in the metadata we pass toaugur export, we just need to rename that column to avoid conflicting with the "subclade" attribute that also appears in the node data JSON inputs toaugur 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 cladeswith 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