hms-dbmi / chromoscope

Interactive multiscale visualization for structural variation in human genomes
https://chromoscope.bio/
MIT License
64 stars 6 forks source link

Mutation display #80

Open dominikglodzikhms opened 1 year ago

dominikglodzikhms commented 1 year ago

If Gosling already allows that, would be helpful to add the ability to show bases (in the read view) that are absent in reference genome. This makes it easy to identify reads which might be mis-mapped. If Gosling does not have such functionality, let's ignore for now.

From IGV, example of cleanly mapping region and one with likely misalignments. igv_snapshot_dup igv_snapshot_artifact

sehilyi commented 1 year ago

Let me draft a track and get feedback from you.

sehilyi commented 1 year ago
Screenshot 2023-01-13 at 09 08 23

I've added an initial design. Let's discuss how to adjust it (e.g., use of colors).

reference: https://github.com/gosling-lang/gosling.js/blob/master/src/data-fetchers/bam/bam-worker.ts

sehilyi commented 1 year ago

Todo