maint: restructure to use Dist::Zilla
[bioperl-live.git] / lib / Bio / DB / GFF / Aggregator / ucsc_softberry.pm
blob8050f5d39f302c8e0465e1e0a82c833d0efaf836
1 =head1 NAME
3 Bio::DB::GFF::Aggregator::ucsc_softberry -- UCSC softberry 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 => ['transcript','clone'],
15 -------------------------------------------------
16 Aggregator method: softberry
17 Main method: transcript
18 Sub methods: softberryGene
19 -------------------------------------------------
21 =head1 DESCRIPTION
23 L<Bio::DB::GFF::Aggregator::transcript>
25 =cut
27 package Bio::DB::GFF::Aggregator::ucsc_softberry;
29 use strict;
31 use base qw(Bio::DB::GFF::Aggregator);
33 =head2 method
35 Title : method
36 Usage : $aggregator->method
37 Function: return the method for the composite object
38 Returns : the string "softberry"
39 Args : none
40 Status : Public
42 =cut
44 sub method { 'softberry' }
46 =head2 part_names
48 Title : part_names
49 Usage : $aggregator->part_names
50 Function: return the methods for the sub-parts
51 Returns : empty list
52 Args : none
53 Status : Public
55 =cut
57 sub part_names {
58 return ();
61 =head2 main_name
63 Title : main_name
64 Usage : $aggregator->main_name
65 Function: return the method for the main component
66 Returns : the string "transcript:softberryGene"
67 Args : none
68 Status : Public
70 =cut
72 sub main_name {
73 return 'transcript:softberryGene';
77 __END__
79 =head1 BUGS
81 None reported.
84 =head1 SEE ALSO
86 L<Bio::DB::GFF>, L<Bio::DB::GFF::Aggregator>
88 =head1 AUTHOR
90 Allen Day E<lt>allenday@ucla.eduE<gt>.
92 Copyright (c) 2002 Allen Day, University of California, Los Angeles.
94 This library is free software; you can redistribute it and/or modify
95 it under the same terms as Perl itself.
97 =cut