[Bioperl-l] BioGraphics highlight segment

Lincoln Stein lstein@cshl.org
Wed, 6 Nov 2002 18:54:29 -0500


The heterogeneous_segments glyph looks for a single feature containing 
multiple subfeatures, and then changes the color depending on the method tag 
of the subfeature.

Lincoln

On Wednesday 06 November 2002 04:07 pm, Marco Aurelio Valtas Cunha wrote:
> Hi Robson,
>
> I've already though that, this is my backup plan since I'm planning yet and
> no code was written. If no glyph fits in I'll have to use this method.
>
> Tahnk you.
> Marco.
>
> Robson Francisco de Souza wrote:
> > 	Hi Marco,
> >
> > On Wed, 6 Nov 2002, Marco Aurelio Valtas Cunha wrote:
> >>Hi all,
> >>
> >>A Bio::Graphics question,
> >>
> >>I'm trying to draw is something like:
> >>
> >>----------------------------------- My anchor
> >>      ___________________________
> >>
> >>     |_____|XXXXXXXXXXX|_________|   My track
> >>
> >>Note that at some point my track changes its color, then get the color
> >>back. The information for such change is just coordnates it's not a
> >>SeqFeature like CDS or else. So what I'm looking for is something like
> >> this:
> >>
> >>  "my track has a lenght of 1000 and I want highlight the 300..500
> >> segment of it."
> >>
> >>Sugestions?
> >
> > 	Did you try to create a SeqFeature from your coordinates and add
> > them to the panel using add_track with option '-bump=>0'? I'm not sure it
> > works, but I would try it.
> > 					Robson
> >
> >>Thank you,
> >>Marco.
> >>
> >>--
> >>    _ _ _ _ _ Marco A Valtas Cunha    
> >> http://scarecrow.fmrp.usp.br/~mavcunha/ /  '`    / Lab de Bioinformatica
> >>    http://bit.fmrp.usp.br
> >>  /  '  `  /  Hemocentro de Rib Preto  http://ctc.fmrp.usp.br
> >>/_ _`..'_/   Fax: 55 16 3963-9309     Tel: 55 16 3963-9300 R:9603
> >>
> >>
> >>_______________________________________________
> >>Bioperl-l mailing list
> >>Bioperl-l@bioperl.org
> >>http://bioperl.org/mailman/listinfo/bioperl-l