Mercurial > repos > mahtabm > ensembl
comparison variant_effect_predictor/Bio/EnsEMBL/DBSQL/OntologyDBAdaptor.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::OntologyDBAdaptor | |
24 | |
25 =head1 DESCRIPTION | |
26 | |
27 Database adaptor for the ontology database ensembl_ontology_NN. | |
28 Mostly inheriting from Bio::EnsEMBL::DBSQL::DBAdaptor, overriding its | |
29 get_available_adaptors() method. Not doing very much else at this | |
30 moment. | |
31 | |
32 =cut | |
33 | |
34 package Bio::EnsEMBL::DBSQL::OntologyDBAdaptor; | |
35 | |
36 use strict; | |
37 use warnings; | |
38 | |
39 use base qw ( Bio::EnsEMBL::DBSQL::DBAdaptor ); | |
40 | |
41 sub get_available_adaptors { | |
42 return { | |
43 'GOTerm' => 'Bio::EnsEMBL::DBSQL::OntologyTermAdaptor', #deprecated | |
44 'SOTerm' => 'Bio::EnsEMBL::DBSQL::OntologyTermAdaptor', #deprecated | |
45 'OntologyTerm' => 'Bio::EnsEMBL::DBSQL::OntologyTermAdaptor' }; | |
46 } | |
47 | |
48 1; |