t/AlignIO/AlignIO.t: fix number of tests in plan (fixup c523e6bed866)
[bioperl-live.git] / Bio / DB / GFF / Aggregator / match.pm
blobea61855b8fffccc8f7bcc77353931049eed82b4d
1 =head1 NAME
3 Bio::DB::GFF::Aggregator::match -- Match aggregator
5 =head1 SYNOPSIS
7 use Bio::DB::GFF;
9 # Open the sequence database
10 my $db = Bio::DB::GFF->new( -adaptor => 'dbi:mysql',
11 -dsn => 'dbi:mysql:elegans42',
12 -aggregator => ['match'],
15 -------------------------------------------------
16 Aggregator method: match
17 Main method: match
18 Sub methods: similarity HSP
19 -------------------------------------------------
21 =head1 DESCRIPTION
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".
28 Also see the "alignment" aggregator.
30 =cut
32 package Bio::DB::GFF::Aggregator::match;
34 use strict;
36 use base qw(Bio::DB::GFF::Aggregator);
38 =head2 method
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
47 =cut
49 sub method { 'match' }
51 =head2 part_names
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
60 =cut
62 sub part_names {
63 return qw(similarity HSP);
66 =head2 main_name
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
75 =cut
77 sub main_name {
78 return 'match';
81 sub require_whole_object {1}
84 __END__
86 =head1 BUGS
88 None reported.
91 =head1 SEE ALSO
93 L<Bio::DB::GFF>, L<Bio::DB::GFF::Aggregator>
95 =head1 AUTHOR
97 Lincoln Stein E<lt>lstein@cshl.orgE<gt>.
99 Copyright (c) 2001 Cold Spring Harbor Laboratory.
101 This library is free software; you can redistribute it and/or modify
102 it under the same terms as Perl itself.
104 =cut