Hello,
I have added oligo data to the dna_align_feature table in a local copy of Ensembl. Now would like to customize the display of the individual features in the Contig view based on their 'score'. I am able to customize the colour of the entire Track but not the individual features within that Track. Has anyone done this before?
Thanks in advance for your help!
Cheers,
Liisa




News Feed
Hi Liisa,
I suspect the way to do it is to actually modify the glyphset itself. I assume you've changed the colour of the entire by modifying ColourMap.pm, but as you've seen the code assigns one colour only per logic_name. If you want to incorporate the score into that, then you'll need to alter the way the colour is defined (by modifying the definitions in ColourMap to account for score ?), and then modify ensembl-draw/modules/Bio/EnsEMBL/GlyphSet_feature.pm to retrieve the new colours and link the correct colour to the score of the feature you're drawing.
Cheers,
Stevo
PS There are also varous oligo_* tables in the core schema that you could use as a place for your data