| 1 | =head1 NAME | ||
| 2 | |||
| 3 | Bio::DB::GFF::Aggregator::none -- No aggregation | ||
| 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 => 'none' | ||
| 13 | ); | ||
| 14 | |||
| 15 | |||
| 16 | =head1 DESCRIPTION | ||
| 17 | |||
| 18 | Bio::DB::GFF::Aggregator::none can be used to indicate that you do not | ||
| 19 | want any aggregation performed. It is equivalent to providing undef | ||
| 20 | to the B<-aggregator> argument. It overrides disaggregate() and | ||
| 21 | aggregate() so that they do exactly nothing. | ||
| 22 | |||
| 23 | =cut | ||
| 24 | |||
| 25 | package Bio::DB::GFF::Aggregator::none; | ||
| 26 | 1 | $Bio::DB::GFF::Aggregator::none::VERSION = '1.7.4'; | |
| 27 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 28 | |||
| 29 | 1 | ▶ | use base qw(Bio::DB::GFF::Aggregator); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 30 | |||
| 31 | 0 | ▶ | sub disaggregate { |
|
Subroutine
disaggregate: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 32 | 0 | my $self = shift; | |
| 33 | 0 | my $types = shift; | |
| 34 | # no change | ||
| 35 | } | ||
| 36 | |||
| 37 | 0 | ▶ | sub aggregate { |
|
Subroutine
aggregate: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 38 | 0 | my $self = shift; | |
| 39 | 0 | my $features = shift; | |
| 40 | 0 | return; # no change | |
| 41 | } | ||
| 42 | |||
| 43 | 1 | 1; | |