Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use accession for node name but display strain #275

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jameshadfield
Copy link
Member

@jameshadfield jameshadfield commented Aug 26, 2024

This is a companion commit to changes in Auspice nextstrain/auspice#1668 which allow any node-attr to be used as the tip label and which displays this tip label in the node hover/click boxes as well as alongside nodes (at suitable zoom levels). This allows us to drop the set_final_strain_name script and ensures all node names are unique which improves the behaviour of Auspice

This commit only changes the Nextstrain datasets, not the Nextclade ones

When viewed on a version of Auspice without the companion changes an error is printed to the console "Invalid JSON-defined tip label: strain" and we fall back to using the node.name (accession) as the tip label.

Testing datasets available at:

This is a companion commit to changes in Auspice <nextstrain/auspice#1668>
which allow any node-attr to be used as the tip label and which displays
this tip label in the node hover/click boxes as well as alongside nodes
(at suitable zoom levels). This allows us to drop the `set_final_strain_name`
script and ensures all node names are unique which improves the behaviour
of Auspice

This commit only changes the Nextstrain datasets, not the Nextclade ones
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