Archive Ensembl HomeArchive Ensembl Home
GOTermAdaptor.pm
Go to the documentation of this file.
00001 =head1 LICENSE
00002 
00003   Copyright (c) 1999-2012 The European Bioinformatics Institute and
00004   Genome Research Limited.  All rights reserved.
00005 
00006   This software is distributed under a modified Apache license.
00007   For license details, please see
00008 
00009     http://www.ensembl.org/info/about/code_licence.html
00010 
00011 =head1 CONTACT
00012 
00013   Please email comments or questions to the public Ensembl
00014   developers list at <dev@ensembl.org>.
00015 
00016   Questions may also be sent to the Ensembl help desk at
00017   <helpdesk@ensembl.org>.
00018 
00019 =cut
00020 
00021 =head1 NAME
00022 
00023 Bio::EnsEMBL::DBSQL::GOTermAdaptor
00024 
00025 =head1 DESCRIPTION
00026 
00027 A specialization of Bio::EnsEMBL::DBSQL::OntologyTermAdaptor,
00028 specifically for Gene Ontology (GO) terms.  See the documentation of
00029 Bio::EnsEMBL::DBSQL::OntologyTermAdaptor for further information.
00030 
00031 =head1 METHODS
00032 
00033 =cut
00034 
00035 package Bio::EnsEMBL::DBSQL::GOTermAdaptor;
00036 
00037 use strict;
00038 use warnings;
00039 
00040 use base qw( Bio::EnsEMBL::DBSQL::OntologyTermAdaptor );
00041 
00042 =head2 new
00043 
00044   Arg [1]       : Bio::EnsEMBL::DBSQL::DBAdaptor
00045                   Argument required for parent class
00046                   Bio::EnsEMBL::DBSQL::BaseAdaptor.
00047 
00048   Description   : Creates an ontology term adaptor for GO terms.
00049 
00050   Example       :
00051 
00052     my $go_adaptor = Bio::EnsEMBL::DBSQL::GOTermAdaptor->new( $dba );
00053 
00054   Return type   : Bio::EnsEMBL::DBSQL::GOTermAdaptor
00055 
00056 =cut
00057 
00058 sub new {
00059   my ( $proto, $dba ) = @_;
00060 
00061   my $this = $proto->SUPER::new( $dba, 'GO' );
00062 
00063   return $this;
00064 }
00065 
00066 1;