Bio::Graphics::Feature 1.4 review

Download
by rbytes.net on

Bio::Graphics::Feature is a simple feature object for use with Bio::Graphics::Panel. SYNOPSIS use Bio::Graphics::Feature;

License: Perl Artistic License
File size: 4788K
Developer: Lincoln Stein
0 stars award from rbytes.net

Bio::Graphics::Feature is a simple feature object for use with Bio::Graphics::Panel.

SYNOPSIS

use Bio::Graphics::Feature;

# create a simple feature with no internal structure
$f = Bio::Graphics::Feature->new(-start => 1000,
-stop => 2000,
-type => 'transcript',
-name => 'alpha-1 antitrypsin',
-desc => 'an enzyme inhibitor',
);

# create a feature composed of multiple segments, all of type "similarity"
$f = Bio::Graphics::Feature->new(-segments => [[1000,1100],[1500,1550],[1800,2000]],
-name => 'ABC-3',
-type => 'gapped_alignment',
-subtype => 'similarity');

# build up a gene exon by exon
$e1 = Bio::Graphics::Feature->new(-start=>1,-stop=>100,-type=>'exon');
$e2 = Bio::Graphics::Feature->new(-start=>150,-stop=>200,-type=>'exon');
$e3 = Bio::Graphics::Feature->new(-start=>300,-stop=>500,-type=>'exon');
$f = Bio::Graphics::Feature->new(-segments=>[$e1,$e2,$e3],-type=>'gene');

This is a simple Bio::SeqFeatureI-compliant object that is compatible with Bio::Graphics::Panel. With it you can create lightweight feature objects for drawing.

Requirements:
Perl

Bio::Graphics::Feature 1.4 keywords