| 1 | =head1 NAME | ||
| 2 | |||
| 3 | Bio::DB::GFF::Aggregator::orf -- An aggregator for orf regions | ||
| 4 | |||
| 5 | =head1 SYNOPSIS | ||
| 6 | |||
| 7 | use Bio::DB::GFF; | ||
| 8 | |||
| 9 | # Open the sequence database | ||
| 10 | my $db = Bio::DB::GFF->new( -adaptor => 'dbi:mysql', | ||
| 11 | -dsn => 'dbi:mysql:elegans42', | ||
| 12 | -aggregator => ['orf','clone'], | ||
| 13 | ); | ||
| 14 | |||
| 15 | --------------------------- | ||
| 16 | Aggregator method: orf | ||
| 17 | Main method: -none- | ||
| 18 | Sub methods: ORF | ||
| 19 | --------------------------- | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | Bio::DB::GFF::Aggregator::orf was written to work with the "cds" | ||
| 24 | glyph. GFF files. It aggregates raw "ORF" features into "coding" | ||
| 25 | features. This is basically identical to the "coding" aggregator, | ||
| 26 | except that it looks for features of type "ORF" rather than "cds". | ||
| 27 | |||
| 28 | =cut | ||
| 29 | |||
| 30 | package Bio::DB::GFF::Aggregator::orf; | ||
| 31 | 1 | $Bio::DB::GFF::Aggregator::orf::VERSION = '1.7.4'; | |
| 32 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 33 | 1 | ▶ | use Bio::DB::GFF::Aggregator; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 34 | |||
| 35 | 1 | ▶ | use base qw(Bio::DB::GFF::Aggregator); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 36 | |||
| 37 | =head2 method | ||
| 38 | |||
| 39 | Title : method | ||
| 40 | Usage : $aggregator->method | ||
| 41 | Function: return the method for the composite object | ||
| 42 | Returns : the string "orf" | ||
| 43 | Args : none | ||
| 44 | Status : Public | ||
| 45 | |||
| 46 | =cut | ||
| 47 | |||
| 48 | 0 | ▶ | sub method { 'orf' } |
|
Subroutine
method: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 49 | |||
| 50 | # sub require_whole_object { 1; } | ||
| 51 | |||
| 52 | =head2 part_names | ||
| 53 | |||
| 54 | Title : part_names | ||
| 55 | Usage : $aggregator->part_names | ||
| 56 | Function: return the methods for the sub-parts | ||
| 57 | Returns : the list "CDS" | ||
| 58 | Args : none | ||
| 59 | Status : Public | ||
| 60 | |||
| 61 | =cut | ||
| 62 | |||
| 63 | 0 | ▶ | sub part_names { |
|
Subroutine
part_names: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 64 | 0 | return qw(ORF); | |
| 65 | } | ||
| 66 | |||
| 67 | 1 | 1; | |
| 68 | __END__ | ||