dasmoth / dalliance

Interactive web-based genome browser.
http://www.biodalliance.org/
BSD 2-Clause "Simplified" License
226 stars 68 forks source link

Change Genome colors #177

Closed doomedramen closed 8 years ago

doomedramen commented 8 years ago

Is there any way to change the colors used in the reference track ? They dont really fit with the rest of the site at the moment.

dalliance_color copy

dasmoth commented 8 years ago

Yes. Try something like:

new Browser({ baseColors: { 'A': 'purple', 'C': 'yellow', // ... } });

For reference, the defaults are at:

https://github.com/dasmoth/dalliance/blob/master/js/cbrowser.js#L151-L157

doomedramen commented 8 years ago

awesome, cheers