3 Bio::DB::GFF::Aggregator::coding -- The Coding Region Aggregator
9 # Open the sequence database
10 my $db = Bio::DB::GFF->new( -adaptor => 'dbi:mysql',
11 -dsn => 'dbi:mysql:elegans42',
12 -aggregator => ['coding'],
15 ------------------------------------------------------------------------
16 Aggregator method: coding
19 ------------------------------------------------------------------------
23 Bio::DB::GFF::Aggregator::coding aggregates "CDS" features into a
24 feature called "coding" and was written to be compatible with the
25 Sequence Ontology canonical gene. The CDS features are expected to
26 belong to a parent of type "mRNA," but the aggregator will work even
27 if this isn't the case.
31 package Bio
::DB
::GFF
::Aggregator
::coding
;
35 use base
qw(Bio::DB::GFF::Aggregator);
40 Usage : $aggregator->method
41 Function: return the method for the composite object
42 Returns : the string "coding"
48 sub method
{ 'coding' }
53 Usage : $aggregator->part_names
54 Function: return the methods for the sub-parts
55 Returns : the list (CDS cds)
68 Usage : $aggregator->main_name
69 Function: return the method for the main component
70 Returns : the string "mRNA"
90 L<Bio::DB::GFF>, L<Bio::DB::GFF::Aggregator>
94 Lincoln Stein E<lt>lstein@cshl.orgE<gt>.
96 Copyright (c) 2001 Cold Spring Harbor Laboratory.
98 This library is free software; you can redistribute it and/or modify
99 it under the same terms as Perl itself.