Sync'ed RichSeqI with the implementation. RichSeq provides backward
[bioperl-live.git] / Bio / DB / GFF / Aggregator / ucsc_ensgene.pm
blobdd1740cc9bc475f3d3eb91f86c43c3891f43efd7
1 =head1 NAME
3 Bio::DB::GFF::Aggregator::ucsc_ensgene -- UCSC ensGene 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: ensgene
17 Main method: transcript
18 Sub methods: ensGene
19 -------------------------------------------------
21 =head1 DESCRIPTION
23 L<Bio::DB::GFF::Aggregator::transcript>
25 =cut
27 package Bio::DB::GFF::Aggregator::ucsc_ensgene;
29 use strict;
30 use Bio::DB::GFF::Aggregator;
32 use vars qw($VERSION @ISA);
33 @ISA = qw(Bio::DB::GFF::Aggregator);
35 $VERSION = '0.10';
37 =head2 method
39 Title : method
40 Usage : $aggregator->method
41 Function: return the method for the composite object
42 Returns : the string "ensgene"
43 Args : none
44 Status : Public
46 =cut
48 sub method { 'ensgene' }
50 =head2 part_names
52 Title : part_names
53 Usage : $aggregator->part_names
54 Function: return the methods for the sub-parts
55 Returns : the list "ensGene"
56 Args : none
57 Status : Public
59 =cut
61 sub part_names {
62 return qw(ensGene);
65 =head2 main_name
67 Title : main_name
68 Usage : $aggregator->main_name
69 Function: return the method for the main component
70 Returns : the string "transcript"
71 Args : none
72 Status : Public
74 =cut
76 sub main_name {
77 return 'transcript';
81 __END__
83 =head1 BUGS
85 None reported.
88 =head1 SEE ALSO
90 L<Bio::DB::GFF>, L<Bio::DB::GFF::Aggregator>
92 =head1 AUTHOR
94 Allen Day E<lt>allenday@ucla.eduE<gt>.
96 Copyright (c) 2002 Allen Day, University of California, Los Angeles.
98 This library is free software; you can redistribute it and/or modify
99 it under the same terms as Perl itself.
101 =cut