3
use Bio::Graphics::Panel;
13
Bio::Graphics - Generate GD images of Bio::Seq objects
18
use Ace::Sequence; # or any other way to create a Bio::Seq object
20
# get a set of Bio::SeqFeature objects ... somehow
21
my $db = Ace->connect(-host=>'brie2.cshl.org',-port=>2005) or die;
22
my $cosmid = Ace::Sequence->new(-seq=>'Y16B4A',
23
-db=>$db,-start=>-15000,-end=>15000) or die;
24
my @transcripts = $cosmid->transcripts;
26
# let the drawing begin...
27
my $panel = Bio::Graphics::Panel->new( -segment => $cosmid,
30
$panel->add_track(arrow => $cosmid,
34
$panel->add_track(transcript => \@transcripts,
37
-key => 'Curated Genes',
42
my $boxes = $panel->boxes;
47
Please see L<Bio::Graphics::Panel> for the full API.
51
L<Bio::Graphics::Panel>,
52
L<Bio::Graphics::Glyph>,
56
L<Bio::DB::GFF::Feature>,
62
Lincoln Stein E<lt>lstein@cshl.orgE<gt>.
64
Copyright (c) 2001 Cold Spring Harbor Laboratory
66
This library is free software; you can redistribute it and/or modify
67
it under the same terms as Perl itself. See DISCLAIMER.txt for
68
disclaimers of warranty.