Mercurial > repos > mahtabm > ensembl
comparison variant_effect_predictor/Bio/EnsEMBL/DBSQL/SOTermAdaptor.pm @ 0:1f6dce3d34e0
Uploaded
author | mahtabm |
---|---|
date | Thu, 11 Apr 2013 02:01:53 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1f6dce3d34e0 |
---|---|
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::SOTermAdaptor | |
24 | |
25 =head1 DESCRIPTION | |
26 | |
27 A specialization of Bio::EnsEMBL::DBSQL::OntologyTermAdaptor, | |
28 specifically for Sequence ontology (SO) terms. See the | |
29 documentation of Bio::EnsEMBL::DBSQL::OntologyTermAdaptor for | |
30 further information. | |
31 | |
32 =head1 METHODS | |
33 | |
34 =cut | |
35 | |
36 package Bio::EnsEMBL::DBSQL::SOTermAdaptor; | |
37 | |
38 use strict; | |
39 use warnings; | |
40 | |
41 use base qw( Bio::EnsEMBL::DBSQL::OntologyTermAdaptor ); | |
42 | |
43 =head2 new | |
44 | |
45 Arg [1] : Bio::EnsEMBL::DBSQL::DBAdaptor | |
46 Argument required for parent class | |
47 Bio::EnsEMBL::DBSQL::BaseAdaptor. | |
48 | |
49 Description : Creates an ontology term adaptor for SO terms. | |
50 | |
51 Example : | |
52 | |
53 my $go_adaptor = Bio::EnsEMBL::DBSQL::SOTermAdaptor->new( $dba ); | |
54 | |
55 Return type : Bio::EnsEMBL::DBSQL::SOTermAdaptor | |
56 | |
57 =cut | |
58 | |
59 sub new { | |
60 my ( $proto, $dba ) = @_; | |
61 | |
62 my $this = $proto->SUPER::new( $dba, 'SO' ); | |
63 | |
64 return $this; | |
65 } | |
66 | |
67 1; |