igvteam / igv.js

Embeddable genomic visualization component based on the Integrative Genomics Viewer
MIT License
640 stars 226 forks source link

Colour different segments of a BED track #1453

Closed maltesemike closed 2 years ago

maltesemike commented 2 years ago

I have a BED track loaded into IGV defining a series of chromatin states (1-12). Once loaded, IGV colours these with its own set palette. Is there a way for me to individually colour the different states as I see fit? Changing the track colour just changes all the segments to one colour...

jrobinso commented 2 years ago

@maltesemike If you are seeing different colors they are baked into the BED records, specifically column 9, IGV does not assign colors to bed file features.