0
|
1 =head1 LICENSE
|
|
2
|
|
3 Copyright (c) 1999-2012 The European Bioinformatics Institute and
|
|
4 Genome Research Limited. All rights reserved.
|
|
5
|
|
6 This software is distributed under a modified Apache license.
|
|
7 For license details, please see
|
|
8
|
|
9 http://www.ensembl.org/info/about/code_licence.html
|
|
10
|
|
11 =head1 CONTACT
|
|
12
|
|
13 Please email comments or questions to the public Ensembl
|
|
14 developers list at <dev@ensembl.org>.
|
|
15
|
|
16 Questions may also be sent to the Ensembl help desk at
|
|
17 <helpdesk@ensembl.org>.
|
|
18
|
|
19 =cut
|
|
20
|
|
21 =head1 NAME
|
|
22
|
|
23 Bio::EnsEMBL::DBSQL::GOTermAdaptor
|
|
24
|
|
25 =head1 DESCRIPTION
|
|
26
|
|
27 A specialization of Bio::EnsEMBL::DBSQL::OntologyTermAdaptor,
|
|
28 specifically for Gene Ontology (GO) terms. See the documentation of
|
|
29 Bio::EnsEMBL::DBSQL::OntologyTermAdaptor for further information.
|
|
30
|
|
31 =head1 METHODS
|
|
32
|
|
33 =cut
|
|
34
|
|
35 package Bio::EnsEMBL::DBSQL::GOTermAdaptor;
|
|
36
|
|
37 use strict;
|
|
38 use warnings;
|
|
39
|
|
40 use base qw( Bio::EnsEMBL::DBSQL::OntologyTermAdaptor );
|
|
41
|
|
42 =head2 new
|
|
43
|
|
44 Arg [1] : Bio::EnsEMBL::DBSQL::DBAdaptor
|
|
45 Argument required for parent class
|
|
46 Bio::EnsEMBL::DBSQL::BaseAdaptor.
|
|
47
|
|
48 Description : Creates an ontology term adaptor for GO terms.
|
|
49
|
|
50 Example :
|
|
51
|
|
52 my $go_adaptor = Bio::EnsEMBL::DBSQL::GOTermAdaptor->new( $dba );
|
|
53
|
|
54 Return type : Bio::EnsEMBL::DBSQL::GOTermAdaptor
|
|
55
|
|
56 =cut
|
|
57
|
|
58 sub new {
|
|
59 my ( $proto, $dba ) = @_;
|
|
60
|
|
61 my $this = $proto->SUPER::new( $dba, 'GO' );
|
|
62
|
|
63 return $this;
|
|
64 }
|
|
65
|
|
66 1;
|