switcherswitcherswitcherswitcher

User login

Who's online

There are currently 1 user and 3 guests online.

Online users

  • gish_85

Who's new

  • gish_85
  • vsn3480
  • fengzhixuan
  • caseybergman
  • tomas81

RSS Feeds

Technorati

Ensembl dna_align_feature custom colours

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Submitted by stevo on September 3, 2008 - 4:11pm.

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

Submitted by liisakoski on September 4, 2008 - 2:04pm.

Thanks Stevo, I'll have a look.

I did fill the oligo tables as well but I can't seem to get them to display in the contigview. Which is why I also filled the dna_align_feature table.

Cheers,
Liisa