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

ENH: Make UI copiable mutation summary nicer #735

Closed
corneliusroemer opened this issue Feb 15, 2022 · 4 comments
Closed

ENH: Make UI copiable mutation summary nicer #735

corneliusroemer opened this issue Feb 15, 2022 · 4 comments
Labels
package: nextclade_web t:feat Type: request of a new feature, functionality, enchancement

Comments

@corneliusroemer
Copy link
Member

Right now, when I copy all of the text of the mutation tooltip, it isn't really as nice as it could be.

Once #734 is implemented, it would be nice to clean up the way that copiable text appears after pasting.

This is what it looks like right now (with code fences, otherwise markup gets messed up with all the |)

There seems to be quite some duplication (because presumably you never intended this text to be neat after copying).

Nucleotide substitutions rel. to reference (67)G210TC241TC2842TC3037TG4181TC6402TC6740TC7124TC7851TC8986TG9053TC10029TA11201GA11332GC14408TA14457TA14844GG15451AC16466TC19220TC21292TC21618GC21762TC21846TG22578AT22673CC22674TT22679CC22686TG22813TT22882GG22898AG22992AC22995AA23013CA23040GG23048AA23055GA23063TT23075CC23202AA23403GC23525TT23599GC23604AC23854AG23948TC24130AA24424TT24469AC24503TC25000TC25584TC26270TA26530GC26534TC26577GG26709AC26873TA27259CC27807TA28271TC28311TG28881A(truncated)Aminoacid substitutions rel. to reference (52)S:T19RS:A67VS:T95IS:Y145DS:L212IS:G339DS:S371LS:S373PS:S375FS:K417NS:N440KS:G446SS:S477NS:T478KS:E484AS:Q493RS:G496SS:Q498RS:N501YS:Y505HS:T547KS:D614GS:H655YS:N679KS:P681HS:N764KS:D796YS:N856KS:Q954HS:N969KS:L981FORF1a:A1306SORF1a:P2046LORF1a:R2159WORF1a:P2287SORF1a:A2529VORF1a:V2930LORF1a:T3255IORF1a:T3646AORF1b:P314LORF1b:G662SORF1b:P1000LORF1b:A1918VORF1b:L2609FORF9b:P10SE:T9IM:D3GM:Q19EM:A63TN:P13LN:R203KN:G204RPrivate mutations rel. to tree (29)Reversions (8)G2832AG5386TA8393GA10449CG11537AC13195TT15240CG18163ALabeled private mutations (13)MutationLabelsG210T21J21I21A21BG4181T21JC6402T21JC7124T21J21GC7851T21JC8986T21JG9053T21JA11201G21J21BA11332G21JG15451A21J21I21AC16466T21J21I21AC19220T21JC21618G21J21I21AUnlabeled private mutations (8)C2842TC6740TA14457TA14844GC21292TC26534TC26873TC29666T | Nucleotide substitutions rel. to reference (67)G210TC241TC2842TC3037TG4181TC6402TC6740TC7124TC7851TC8986TG9053TC10029TA11201GA11332GC14408TA14457TA14844GG15451AC16466TC19220TC21292TC21618GC21762TC21846TG22578AT22673CC22674TT22679CC22686TG22813TT22882GG22898AG22992AC22995AA23013CA23040GG23048AA23055GA23063TT23075CC23202AA23403GC23525TT23599GC23604AC23854AG23948TC24130AA24424TT24469AC24503TC25000TC25584TC26270TA26530GC26534TC26577GG26709AC26873TA27259CC27807TA28271TC28311TG28881A(truncated)Aminoacid substitutions rel. to reference (52)S:T19RS:A67VS:T95IS:Y145DS:L212IS:G339DS:S371LS:S373PS:S375FS:K417NS:N440KS:G446SS:S477NS:T478KS:E484AS:Q493RS:G496SS:Q498RS:N501YS:Y505HS:T547KS:D614GS:H655YS:N679KS:P681HS:N764KS:D796YS:N856KS:Q954HS:N969KS:L981FORF1a:A1306SORF1a:P2046LORF1a:R2159WORF1a:P2287SORF1a:A2529VORF1a:V2930LORF1a:T3255IORF1a:T3646AORF1b:P314LORF1b:G662SORF1b:P1000LORF1b:A1918VORF1b:L2609FORF9b:P10SE:T9IM:D3GM:Q19EM:A63TN:P13LN:R203KN:G204RPrivate mutations rel. to tree (29)Reversions (8)G2832AG5386TA8393GA10449CG11537AC13195TT15240CG18163ALabeled private mutations (13)MutationLabelsG210T21J21I21A21BG4181T21JC6402T21JC7124T21J21GC7851T21JC8986T21JG9053T21JA11201G21J21BA11332G21JG15451A21J21I21AC16466T21J21I21AC19220T21JC21618G21J21I21AUnlabeled private mutations (8)C2842TC6740TA14457TA14844GC21292TC26534TC26873TC29666T | Nucleotide substitutions rel. to reference (67) | G210TC241TC2842TC3037TG4181TC6402TC6740TC7124TC7851TC8986TG9053TC10029TA11201GA11332GC14408TA14457TA14844GG15451AC16466TC19220TC21292TC21618GC21762TC21846TG22578AT22673CC22674TT22679CC22686TG22813TT22882GG22898AG22992AC22995AA23013CA23040GG23048AA23055GA23063TT23075CC23202AA23403GC23525TT23599GC23604AC23854AG23948TC24130AA24424TT24469AC24503TC25000TC25584TC26270TA26530GC26534TC26577GG26709AC26873TA27259CC27807TA28271TC28311TG28881A(truncated) | G210T | C241T | C2842T | C3037T | G4181T | C6402T | C6740T | C7124T | C7851T | C8986T | G9053T | C10029T | A11201G | A11332G | C14408T | A14457T | A14844G | G15451A | C16466T | C19220T | C21292T | C21618G | C21762T | C21846T | G22578A | T22673C | C22674T | T22679C | C22686T | G22813T | T22882G | G22898A | G22992A | C22995A | A23013C | A23040G | G23048A | A23055G | A23063T | T23075C | C23202A | A23403G | C23525T | T23599G | C23604A | C23854A | G23948T | C24130A | A24424T | T24469A | C24503T | C25000T | C25584T | C26270T | A26530G | C26534T | C26577G | G26709A | C26873T | A27259C | C27807T | A28271T | C28311T | G28881A | (truncated) | Aminoacid substitutions rel. to reference (52) | S:T19RS:A67VS:T95IS:Y145DS:L212IS:G339DS:S371LS:S373PS:S375FS:K417NS:N440KS:G446SS:S477NS:T478KS:E484AS:Q493RS:G496SS:Q498RS:N501YS:Y505HS:T547KS:D614GS:H655YS:N679KS:P681HS:N764KS:D796YS:N856KS:Q954HS:N969KS:L981FORF1a:A1306SORF1a:P2046LORF1a:R2159WORF1a:P2287SORF1a:A2529VORF1a:V2930LORF1a:T3255IORF1a:T3646AORF1b:P314LORF1b:G662SORF1b:P1000LORF1b:A1918VORF1b:L2609FORF9b:P10SE:T9IM:D3GM:Q19EM:A63TN:P13LN:R203KN:G204R | S:T19R | S:A67V | S:T95I | S:Y145D | S:L212I | S:G339D | S:S371L | S:S373P | S:S375F | S:K417N | S:N440K | S:G446S | S:S477N | S:T478K | S:E484A | S:Q493R | S:G496S | S:Q498R | S:N501Y | S:Y505H | S:T547K | S:D614G | S:H655Y | S:N679K | S:P681H | S:N764K | S:D796Y | S:N856K | S:Q954H | S:N969K | S:L981F | ORF1a:A1306S | ORF1a:P2046L | ORF1a:R2159W | ORF1a:P2287S | ORF1a:A2529V | ORF1a:V2930L | ORF1a:T3255I | ORF1a:T3646A | ORF1b:P314L | ORF1b:G662S | ORF1b:P1000L | ORF1b:A1918V | ORF1b:L2609F | ORF9b:P10S | E:T9I | M:D3G | M:Q19E | M:A63T | N:P13L | N:R203K | N:G204R | Private mutations rel. to tree (29) | Reversions (8)G2832AG5386TA8393GA10449CG11537AC13195TT15240CG18163ALabeled private mutations (13)MutationLabelsG210T21J21I21A21BG4181T21JC6402T21JC7124T21J21GC7851T21JC8986T21JG9053T21JA11201G21J21BA11332G21JG15451A21J21I21AC16466T21J21I21AC19220T21JC21618G21J21I21AUnlabeled private mutations (8)C2842TC6740TA14457TA14844GC21292TC26534TC26873TC29666T | Reversions (8) | G2832AG5386TA8393GA10449CG11537AC13195TT15240CG18163A | G2832A | G5386T | A8393G | A10449C | G11537A | C13195T | T15240C | G18163A | Labeled private mutations (13) | MutationLabelsG210T21J21I21A21BG4181T21JC6402T21JC7124T21J21GC7851T21JC8986T21JG9053T21JA11201G21J21BA11332G21JG15451A21J21I21AC16466T21J21I21AC19220T21JC21618G21J21I21A | Mutation | Labels | G210T | 21J21I21A21B | G4181T | 21J | C6402T | 21J | C7124T | 21J21G | C7851T | 21J | C8986T | 21J | G9053T | 21J | A11201G | 21J21B | A11332G | 21J | G15451A | 21J21I21A | C16466T | 21J21I21A | C19220T | 21J | C21618G | 21J21I21A | Unlabeled private mutations (8) | C2842TC6740TA14457TA14844GC21292TC26534TC26873TC29666T | C2842T | C6740T | A14457T | A14844G | C21292T | C26534T | C26873T | C29666T
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
Nucleotide substitutions rel. to reference (67)G210TC241TC2842TC3037TG4181TC6402TC6740TC7124TC7851TC8986TG9053TC10029TA11201GA11332GC14408TA14457TA14844GG15451AC16466TC19220TC21292TC21618GC21762TC21846TG22578AT22673CC22674TT22679CC22686TG22813TT22882GG22898AG22992AC22995AA23013CA23040GG23048AA23055GA23063TT23075CC23202AA23403GC23525TT23599GC23604AC23854AG23948TC24130AA24424TT24469AC24503TC25000TC25584TC26270TA26530GC26534TC26577GG26709AC26873TA27259CC27807TA28271TC28311TG28881A(truncated)Aminoacid substitutions rel. to reference (52)S:T19RS:A67VS:T95IS:Y145DS:L212IS:G339DS:S371LS:S373PS:S375FS:K417NS:N440KS:G446SS:S477NS:T478KS:E484AS:Q493RS:G496SS:Q498RS:N501YS:Y505HS:T547KS:D614GS:H655YS:N679KS:P681HS:N764KS:D796YS:N856KS:Q954HS:N969KS:L981FORF1a:A1306SORF1a:P2046LORF1a:R2159WORF1a:P2287SORF1a:A2529VORF1a:V2930LORF1a:T3255IORF1a:T3646AORF1b:P314LORF1b:G662SORF1b:P1000LORF1b:A1918VORF1b:L2609FORF9b:P10SE:T9IM:D3GM:Q19EM:A63TN:P13LN:R203KN:G204RPrivate mutations rel. to tree (29)Reversions (8)G2832AG5386TA8393GA10449CG11537AC13195TT15240CG18163ALabeled private mutations (13)MutationLabelsG210T21J21I21A21BG4181T21JC6402T21JC7124T21J21GC7851T21JC8986T21JG9053T21JA11201G21J21BA11332G21JG15451A21J21I21AC16466T21J21I21AC19220T21JC21618G21J21I21AUnlabeled private mutations (8)C2842TC6740TA14457TA14844GC21292TC26534TC26873TC29666T | G210TC241TC2842TC3037TG4181TC6402TC6740TC7124TC7851TC8986TG9053TC10029TA11201GA11332GC14408TA14457TA14844GG15451AC16466TC19220TC21292TC21618GC21762TC21846TG22578AT22673CC22674TT22679CC22686TG22813TT22882GG22898AG22992AC22995AA23013CA23040GG23048AA23055GA23063TT23075CC23202AA23403GC23525TT23599GC23604AC23854AG23948TC24130AA24424TT24469AC24503TC25000TC25584TC26270TA26530GC26534TC26577GG26709AC26873TA27259CC27807TA28271TC28311TG28881A(truncated) | G210T | C241T | C2842T | C3037T | G4181T | C6402T | C6740T | C7124T | C7851T | C8986T | G9053T | C10029T | A11201G | A11332G | C14408T | A14457T | A14844G | G15451A | C16466T | C19220T | C21292T | C21618G | C21762T | C21846T | G22578A | T22673C | C22674T | T22679C | C22686T | G22813T | T22882G | G22898A | G22992A | C22995A | A23013C | A23040G | G23048A | A23055G | A23063T | T23075C | C23202A | A23403G | C23525T | T23599G | C23604A | C23854A | G23948T | C24130A | A24424T | T24469A | C24503T | C25000T | C25584T | C26270T | A26530G | C26534T | C26577G | G26709A | C26873T | A27259C | C27807T | A28271T | C28311T | G28881A | (truncated) | S:T19RS:A67VS:T95IS:Y145DS:L212IS:G339DS:S371LS:S373PS:S375FS:K417NS:N440KS:G446SS:S477NS:T478KS:E484AS:Q493RS:G496SS:Q498RS:N501YS:Y505HS:T547KS:D614GS:H655YS:N679KS:P681HS:N764KS:D796YS:N856KS:Q954HS:N969KS:L981FORF1a:A1306SORF1a:P2046LORF1a:R2159WORF1a:P2287SORF1a:A2529VORF1a:V2930LORF1a:T3255IORF1a:T3646AORF1b:P314LORF1b:G662SORF1b:P1000LORF1b:A1918VORF1b:L2609FORF9b:P10SE:T9IM:D3GM:Q19EM:A63TN:P13LN:R203KN:G204R | S:T19R | S:A67V | S:T95I | S:Y145D | S:L212I | S:G339D | S:S371L | S:S373P | S:S375F | S:K417N | S:N440K | S:G446S | S:S477N | S:T478K | S:E484A | S:Q493R | S:G496S | S:Q498R | S:N501Y | S:Y505H | S:T547K | S:D614G | S:H655Y | S:N679K | S:P681H | S:N764K | S:D796Y | S:N856K | S:Q954H | S:N969K | S:L981F | ORF1a:A1306S | ORF1a:P2046L | ORF1a:R2159W | ORF1a:P2287S | ORF1a:A2529V | ORF1a:V2930L | ORF1a:T3255I | ORF1a:T3646A | ORF1b:P314L | ORF1b:G662S | ORF1b:P1000L | ORF1b:A1918V | ORF1b:L2609F | ORF9b:P10S | E:T9I | M:D3G | M:Q19E | M:A63T | N:P13L | N:R203K | N:G204R | Reversions (8)G2832AG5386TA8393GA10449CG11537AC13195TT15240CG18163ALabeled private mutations (13)MutationLabelsG210T21J21I21A21BG4181T21JC6402T21JC7124T21J21GC7851T21JC8986T21JG9053T21JA11201G21J21BA11332G21JG15451A21J21I21AC16466T21J21I21AC19220T21JC21618G21J21I21AUnlabeled private mutations (8)C2842TC6740TA14457TA14844GC21292TC26534TC26873TC29666T | Reversions (8) | G2832AG5386TA8393GA10449CG11537AC13195TT15240CG18163A | G2832A | G5386T | A8393G | A10449C | G11537A | C13195T | T15240C | G18163A | Labeled private mutations (13) | MutationLabelsG210T21J21I21A21BG4181T21JC6402T21JC7124T21J21GC7851T21JC8986T21JG9053T21JA11201G21J21BA11332G21JG15451A21J21I21AC16466T21J21I21AC19220T21JC21618G21J21I21A | G210T | 21J21I21A21B | G4181T | 21J | C6402T | 21J | C7124T | 21J21G | C7851T | 21J | C8986T | 21J | G9053T | 21J | A11201G | 21J21B | A11332G | 21J | G15451A | 21J21I21A | C16466T | 21J21I21A | C19220T | 21J | C21618G | 21J21I21A | Unlabeled private mutations (8) | C2842TC6740TA14457TA14844GC21292TC26534TC26873TC29666T | C2842T | C6740T | A14457T | A14844G | C21292T | C26534T | C26873T | C29666T

G210TC241TC2842TC3037TG4181TC6402TC6740TC7124TC7851TC8986TG9053TC10029TA11201GA11332GC14408TA14457TA14844GG15451AC16466TC19220TC21292TC21618GC21762TC21846TG22578AT22673CC22674TT22679CC22686TG22813TT22882GG22898AG22992AC22995AA23013CA23040GG23048AA23055GA23063TT23075CC23202AA23403GC23525TT23599GC23604AC23854AG23948TC24130AA24424TT24469AC24503TC25000TC25584TC26270TA26530GC26534TC26577GG26709AC26873TA27259CC27807TA28271TC28311TG28881A(truncated) | G210T | C241T | C2842T | C3037T | G4181T | C6402T | C6740T | C7124T | C7851T | C8986T | G9053T | C10029T | A11201G | A11332G | C14408T | A14457T | A14844G | G15451A | C16466T | C19220T | C21292T | C21618G | C21762T | C21846T | G22578A | T22673C | C22674T | T22679C | C22686T | G22813T | T22882G | G22898A | G22992A | C22995A | A23013C | A23040G | G23048A | A23055G | A23063T | T23075C | C23202A | A23403G | C23525T | T23599G | C23604A | C23854A | G23948T | C24130A | A24424T | T24469A | C24503T | C25000T | C25584T | C26270T | A26530G | C26534T | C26577G | G26709A | C26873T | A27259C | C27807T | A28271T | C28311T | G28881A | (truncated)
G210T | C241T | C2842T | C3037T | G4181T | C6402T | C6740T | C7124T
C7851T | C8986T | G9053T | C10029T | A11201G | A11332G | C14408T | A14457T
A14844G | G15451A | C16466T | C19220T | C21292T | C21618G | C21762T | C21846T
G22578A | T22673C | C22674T | T22679C | C22686T | G22813T | T22882G | G22898A
G22992A | C22995A | A23013C | A23040G | G23048A | A23055G | A23063T | T23075C
C23202A | A23403G | C23525T | T23599G | C23604A | C23854A | G23948T | C24130A
A24424T | T24469A | C24503T | C25000T | C25584T | C26270T | A26530G | C26534T
C26577G | G26709A | C26873T | A27259C | C27807T | A28271T | C28311T | G28881A


(truncated)

S:T19RS:A67VS:T95IS:Y145DS:L212IS:G339DS:S371LS:S373PS:S375FS:K417NS:N440KS:G446SS:S477NS:T478KS:E484AS:Q493RS:G496SS:Q498RS:N501YS:Y505HS:T547KS:D614GS:H655YS:N679KS:P681HS:N764KS:D796YS:N856KS:Q954HS:N969KS:L981FORF1a:A1306SORF1a:P2046LORF1a:R2159WORF1a:P2287SORF1a:A2529VORF1a:V2930LORF1a:T3255IORF1a:T3646AORF1b:P314LORF1b:G662SORF1b:P1000LORF1b:A1918VORF1b:L2609FORF9b:P10SE:T9IM:D3GM:Q19EM:A63TN:P13LN:R203KN:G204R | S:T19R | S:A67V | S:T95I | S:Y145D | S:L212I | S:G339D | S:S371L | S:S373P | S:S375F | S:K417N | S:N440K | S:G446S | S:S477N | S:T478K | S:E484A | S:Q493R | S:G496S | S:Q498R | S:N501Y | S:Y505H | S:T547K | S:D614G | S:H655Y | S:N679K | S:P681H | S:N764K | S:D796Y | S:N856K | S:Q954H | S:N969K | S:L981F | ORF1a:A1306S | ORF1a:P2046L | ORF1a:R2159W | ORF1a:P2287S | ORF1a:A2529V | ORF1a:V2930L | ORF1a:T3255I | ORF1a:T3646A | ORF1b:P314L | ORF1b:G662S | ORF1b:P1000L | ORF1b:A1918V | ORF1b:L2609F | ORF9b:P10S | E:T9I | M:D3G | M:Q19E | M:A63T | N:P13L | N:R203K | N:G204R
S:T19R | S:A67V | S:T95I | S:Y145D | S:L212I | S:G339D | S:S371L
S:S373P | S:S375F | S:K417N | S:N440K | S:G446S | S:S477N | S:T478K
S:E484A | S:Q493R | S:G496S | S:Q498R | S:N501Y | S:Y505H | S:T547K
S:D614G | S:H655Y | S:N679K | S:P681H | S:N764K | S:D796Y | S:N856K
S:Q954H | S:N969K | S:L981F | ORF1a:A1306S | ORF1a:P2046L | ORF1a:R2159W | ORF1a:P2287S
ORF1a:A2529V | ORF1a:V2930L | ORF1a:T3255I | ORF1a:T3646A | ORF1b:P314L | ORF1b:G662S | ORF1b:P1000L
ORF1b:A1918V | ORF1b:L2609F | ORF9b:P10S | E:T9I | M:D3G | M:Q19E | M:A63T
N:P13L | N:R203K | N:G204R


Reversions (8)G2832AG5386TA8393GA10449CG11537AC13195TT15240CG18163ALabeled private mutations (13)MutationLabelsG210T21J21I21A21BG4181T21JC6402T21JC7124T21J21GC7851T21JC8986T21JG9053T21JA11201G21J21BA11332G21JG15451A21J21I21AC16466T21J21I21AC19220T21JC21618G21J21I21AUnlabeled private mutations (8)C2842TC6740TA14457TA14844GC21292TC26534TC26873TC29666T | Reversions (8) | G2832AG5386TA8393GA10449CG11537AC13195TT15240CG18163A | G2832A | G5386T | A8393G | A10449C | G11537A | C13195T | T15240C | G18163A | Labeled private mutations (13) | MutationLabelsG210T21J21I21A21BG4181T21JC6402T21JC7124T21J21GC7851T21JC8986T21JG9053T21JA11201G21J21BA11332G21JG15451A21J21I21AC16466T21J21I21AC19220T21JC21618G21J21I21A | G210T | 21J21I21A21B | G4181T | 21J | C6402T | 21J | C7124T | 21J21G | C7851T | 21J | C8986T | 21J | G9053T | 21J | A11201G | 21J21B | A11332G | 21J | G15451A | 21J21I21A | C16466T | 21J21I21A | C19220T | 21J | C21618G | 21J21I21A | Unlabeled private mutations (8) | C2842TC6740TA14457TA14844GC21292TC26534TC26873TC29666T | C2842T | C6740T | A14457T | A14844G | C21292T | C26534T | C26873T | C29666T
Reversions (8)
G2832AG5386TA8393GA10449CG11537AC13195TT15240CG18163A | G2832A | G5386T | A8393G | A10449C | G11537A | C13195T | T15240C | G18163A
G2832A | G5386T | A8393G | A10449C | G11537A | C13195T | T15240C | G18163A


Labeled private mutations (13)
MutationLabelsG210T21J21I21A21BG4181T21JC6402T21JC7124T21J21GC7851T21JC8986T21JG9053T21JA11201G21J21BA11332G21JG15451A21J21I21AC16466T21J21I21AC19220T21JC21618G21J21I21A | G210T | 21J21I21A21B | G4181T | 21J | C6402T | 21J | C7124T | 21J21G | C7851T | 21J | C8986T | 21J | G9053T | 21J | A11201G | 21J21B | A11332G | 21J | G15451A | 21J21I21A | C16466T | 21J21I21A | C19220T | 21J | C21618G | 21J21I21A

G210T | 21J21I21A21B
G4181T | 21J
C6402T | 21J
C7124T | 21J21G
C7851T | 21J
C8986T | 21J
G9053T | 21J
A11201G | 21J21B
A11332G | 21J
G15451A | 21J21I21A
C16466T | 21J21I21A
C19220T | 21J
C21618G | 21J21I21A
Unlabeled private mutations (8)
C2842TC6740TA14457TA14844GC21292TC26534TC26873TC29666T | C2842T | C6740T | A14457T | A14844G | C21292T | C26534T | C26873T | C29666T
C2842T | C6740T | A14457T | A14844G | C21292T | C26534T | C26873T | C29666T
@corneliusroemer corneliusroemer added t:feat Type: request of a new feature, functionality, enchancement needs triage Mark for review and label assignment package: nextclade_web labels Feb 15, 2022
@ivan-aksamentov
Copy link
Member

ivan-aksamentov commented Feb 15, 2022

Not sure how to even approach that. There's some heavy html markup, including tables, involved. I have yet to encounter a website where copying something like that looks good. The result probably also depends on how browser and OS interact with each other. And perhaps even on where you paste that.

For example if you paste something like that into MS Word on Windows, it may preserve the tables.

One could add a dedicated "copy" button with carefully generated text. But the text generation code will duplicate a lot of code of the displayed markup, so twice the code to write and maintain. And eventually the 2 places will diverge.

There might be some tricks people have come up with over the years. Needs some googling.

@ivan-aksamentov ivan-aksamentov removed the needs triage Mark for review and label assignment label Feb 15, 2022
@corneliusroemer
Copy link
Member Author

I see, hmm, copying just the mutation badges seems to work. I get something like this which is quite ok:

C300T | C5643T | T7302C | G12793T | A13428G

Problems start when you copy the heading or extend beyond just a set of badges.

@ivan-aksamentov
Copy link
Member

ivan-aksamentov commented Feb 15, 2022

It's a little miracle of technology and I don't know why that happens and where these pretty | symbols come from.

When I copy on my Linux machine from Chromium, it appears without these symbols:

G13045T	G17331T	C20762T	A25948G	G26152T	C27247T

@corneliusroemer
Copy link
Member Author

corneliusroemer commented Feb 15, 2022

It's pasted as a markdown table, at least into this little boxy box here on Github.

C300T C5643T T7302C G12793T A13428G

If I press shift, it pastes without formatting, perfect!

C300T C5643T T7302C G12793T A13428G

@ivan-aksamentov ivan-aksamentov moved this from New to Backlog in Nextstrain planning (archived) Feb 16, 2022
@ivan-aksamentov ivan-aksamentov closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: nextclade_web t:feat Type: request of a new feature, functionality, enchancement
Projects
No open projects
Development

No branches or pull requests

2 participants