GMOD / jbrowse-components

Source code for JBrowse 2, a modern React-based genome browser
https://jbrowse.org/jb2
Apache License 2.0
211 stars 63 forks source link

Standardize modification colors between alignments track coverage and pileup subtracks #4632

Closed cmdcolin closed 3 weeks ago

cmdcolin commented 3 weeks ago

Currently 'unknown' modification types are given a random color, but it is different between top and bottom and between different runs of jbrowse

This changes it to be a deterministic random color based on the input "hash" of the string of the modification type