JetBrains-Research / jbr

JBR Genome Browser
https://doi.org/10.1093/bioinformatics/btab376
11 stars 0 forks source link

Make methylation look different from other mismatches on small scale #209

Closed iromeo closed 1 year ago

iromeo commented 1 year ago

Methylation mismatches look like T and C by our initial design, idea was that unmethylated cytosine coloured like ordinary cytosine and methylated cytosine looks like changed cytosine. Also, it is consistent with IGV and often people show methylated CpG using red/green/black colors and not methylated using blue/white colours. Maybe the intuition of colors selection is a bit misleading, because red is color of T and T are mismatches where cytosine wasn't protected by methylation, so maybe other color scheme will be easier to memorise.

On the other hand, we want to visualize mismatches that cannot be explained by bisulfite treatment., e.g. to highlight SNP and combination for SNP+methylaiton.

At the moment, SNP looks like methylation: image

Let's fix it. Suggestions:

image and with reads coloring: image

iromeo commented 1 year ago

Additional examples for new colors: image image

iromeo commented 1 year ago

The color scheme was updated. For my examples looks good.