[Bioperl-l] about the gc% plotting

Lincoln Stein lstein at cshl.org
Thu Feb 27 08:34:19 EST 2003


Hi,

Enclosed is a script and its output that demonstrates how to use the GC 
plotting.  I don't know why your script didn't produce the expected output, 
except that possibly you didn't quote the color names (e.g. green rather than 
'green') and maybe the histogram line came out white on white.

Lincoln


On Wednesday 26 February 2003 08:34 am, Magic Fang wrote:
> What the $seq must be? Does it needs a feature descripts the gc% when i
> want to plot gc%? I just got an axis of gc% figure, no gc% line. And then
> my codes are: $generic=Bio::SeqFeature::Generic->new(-start=>1,
>  -end=>$seq->length,
>  -seq_id=>$seq->display_name);
> $generic->attach_seq($seq);
> .....
> $panel->add_track($generic,
>  -glyph=>'dna',
>  -height=>100,
>  -fgcolor=>blue,
>  -axis_color=>purple,
>  -bgcolor=>green,
>  -linewidth=>3,
>  -outlinecolor=>red);
> Can anybody tell me why? And another thing is if we can not use
> Bio::Graphics::Glyph::dna etc. directly? Magic Fang
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l

-- 
Lincoln Stein
lstein at cshl.org
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724
(516) 367-8380 (voice)
(516) 367-8389 (fax)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_gc.png
Type: image/png
Size: 2096 bytes
Desc: not available
Url : /pipermail/attachments/20030227/3e6dbd55/test_gc.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_gc.pl
Type: text/x-perl
Size: 815 bytes
Desc: not available
Url : /pipermail/attachments/20030227/3e6dbd55/test_gc.bin


More information about the Bioperl-l mailing list