[Bioperl-l] Bio::Graphics

Lincoln Stein lstein at cshl.edu
Thu Jul 17 11:33:35 EDT 2003


Hi Josh,

You can pass a subroutine to -glyph, -bgcolor, or in fact to any of the 
options.  You might also want to look at the new glyph named 
"processed_transcript", which adds support for drawing UTRs (including a UCSC 
genome browser compatibility mode)

Lincoln


On Wednesday 02 July 2003 01:14 pm, Josh Lauricha wrote:
> On Wed  10:11, Josh Lauricha wrote:
> > Is there a way to add multiple features to a single track and have the
> > features display in different colors?
> >
> > Ex:
> > [utr][cds]---[cds]---[cds][utr]
> >
> > With utrs in green and cds in orange.
> > Passing code to -glyph doesn't look like it will work. Is it possible to
> > pass a sub to -color?
>
> or rather to -bgcolor

-- 
========================================================================
Lincoln D. Stein                           Cold Spring Harbor Laboratory
lstein at cshl.org			                  Cold Spring Harbor, NY
========================================================================




More information about the Bioperl-l mailing list