GenSpectrum / cov-spectrum-website

A web platform to detect and analyze variants of SARS-CoV-2
https://cov-spectrum.org
GNU General Public License v3.0
60 stars 14 forks source link

Pango lineage relationship tree #608

Open chaoran-chen opened 1 year ago

chaoran-chen commented 1 year ago

When comparing only Pango lineages, we could show a small tree to visualize their relationships.

For example, if the user is comparing B.1.1.7, BA.1, and BA.2.75 (see here), we would show:

graph LR;
    B.1.1-->B.1.1.7;
    B.1.1-->B.1.1.529;
    B.1.1.529-->BA.1;
    B.1.1.529-->BA.2.75;

Potential bonus: We could show the mutation differences when the user hovers over the branches (only fixed/>90% mutations)

chaoran-chen commented 1 year ago

@jsan4christ is going to look into this issue - thank you!

corneliusroemer commented 1 year ago

Nice idea. This is a bit like reimplementing the Nextclade reference tree.

Potentially, the JSON could be used here.