Skip to content

ENH: Show unaliased Pango lineage in tooltip #984

@corneliusroemer

Description

@corneliusroemer

Even though I spend about a lot of time working with Pango lineages, I get confused what the aliases correspond to.

It would be amazing if we could show the unaliased Pango lineages in a tooltip.

This should be pretty easy to do:

Where do we get the aliases from? We could store them in the tree, in the .extra properties for Nextclade. Or we put them in virus properties, or an optional input file - or we download directly from Github (https://raw.githubusercontent.com/cov-lineages/pango-designation/master/pango_designation/alias_key.json).

Then we just need to have a bit of JS code to notice when the feature should be switched on (Nextclade Pango column contained in dataset). And it's a simple lookup: take the letters in alias_key.json and tag on the dots.

This could be very helpful for a lot of people to learn what new aliases correspond to.

I know that @chaoran-chen is working on a similar feature for covSpectrum.

See here for why this would be useful:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: nextclade_webt:featType: request of a new feature, functionality, enchancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions