| 1 | =head1 NAME | ||
| 2 | |||
| 3 | Bio::DB::GFF::Aggregator::match -- Match aggregator | ||
| 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 => ['match'], | ||
| 13 | ); | ||
| 14 | |||
| 15 | ------------------------------------------------- | ||
| 16 | Aggregator method: match | ||
| 17 | Main method: match | ||
| 18 | Sub methods: similarity HSP | ||
| 19 | ------------------------------------------------- | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This aggregator is used for Sequence Ontology-compatible gapped | ||
| 24 | alignments, in which there is a single top-level alignment called | ||
| 25 | "match" and a series of subalignments called either "similarity" or | ||
| 26 | "HSP". | ||
| 27 | |||
| 28 | Also see the "alignment" aggregator. | ||
| 29 | |||
| 30 | =cut | ||
| 31 | |||
| 32 | package Bio::DB::GFF::Aggregator::match; | ||
| 33 | 1 | $Bio::DB::GFF::Aggregator::match::VERSION = '1.7.4'; | |
| 34 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 35 | |||
| 36 | 1 | ▶ | use base qw(Bio::DB::GFF::Aggregator); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 37 | |||
| 38 | =head2 method | ||
| 39 | |||
| 40 | Title : method | ||
| 41 | Usage : $aggregator->method | ||
| 42 | Function: return the method for the composite object | ||
| 43 | Returns : the string "match" | ||
| 44 | Args : none | ||
| 45 | Status : Public | ||
| 46 | |||
| 47 | =cut | ||
| 48 | |||
| 49 | 0 | ▶ | sub method { 'match' } |
|
Subroutine
method: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 50 | |||
| 51 | =head2 part_names | ||
| 52 | |||
| 53 | Title : part_names | ||
| 54 | Usage : $aggregator->part_names | ||
| 55 | Function: return the methods for the sub-parts | ||
| 56 | Returns : the list "similarity", "HSP" | ||
| 57 | Args : none | ||
| 58 | Status : Public | ||
| 59 | |||
| 60 | =cut | ||
| 61 | |||
| 62 | 0 | ▶ | sub part_names { |
|
Subroutine
part_names: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 63 | 0 | return qw(similarity HSP); | |
| 64 | } | ||
| 65 | |||
| 66 | =head2 main_name | ||
| 67 | |||
| 68 | Title : main_name | ||
| 69 | Usage : $aggregator->main_name | ||
| 70 | Function: return the method for the main component | ||
| 71 | Returns : the string "match" | ||
| 72 | Args : none | ||
| 73 | Status : Public | ||
| 74 | |||
| 75 | =cut | ||
| 76 | |||
| 77 | 0 | ▶ | sub main_name { |
|
Subroutine
main_name: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 78 | 0 | return 'match'; | |
| 79 | } | ||
| 80 | |||
| 81 | 0 | ▶ | sub require_whole_object {1} |
|
Subroutine
require_whole_object: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 82 | |||
| 83 | 1 | 1; | |
| 84 | __END__ | ||