RNAcentral / r2dt-web

Web component for visualising RNA secondary structure in standard orientations
https://rnacentral.github.io/r2dt-web/
Apache License 2.0
3 stars 1 forks source link

Display alignment quality #15

Open AntonPetrov opened 1 year ago

AntonPetrov commented 1 year ago

@blakesweeney As discussed, here is an issue describing the changes required for R2DT v1.4.

Starting from version 1.4 R2DT provides a new SVG file that is annotated by alignment quality. It would be useful to show this information in the results viewer using a toggle or a button to Hide/Show alignment quality, similar to how one can hide or show the nucleotide colours. The SVG file is named <rna_id>.enriched.svg similar to the existing <rna_id>.colored.svg files.

One could do it using 2 approaches:

  1. Load the .enriched.svg file instead of the .colored.svg file and show the alignment quality by default
  2. Load the .enriched.svg only if the Show alignment quality button is clicked.

I would advocate for the first approach but the second one is fine too.

I will post further information here once the new API goes live on wwwdev and the new .enriched.svg files are created.

blakesweeney commented 1 year ago

Hi, would you like us to deploy the current version of R2DT to dev? I don't see a tagged release for v1.4, which is why I am asking.

AntonPetrov commented 1 year ago

That's a good idea, it's safe to start running the develop branch while I finalise the last few bits for the release. Thank you!