line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# $Id: DB.pm,v 1.1 2007/01/24 01:16:20 cmungall Exp $ |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# This GO module is maintained by Chris Mungall |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# see also - http://www.geneontology.org |
6
|
|
|
|
|
|
|
# - http://www.godatabase.org/dev |
7
|
|
|
|
|
|
|
# |
8
|
|
|
|
|
|
|
# You may distribute this module under the same terms as perl itself |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
package GO::Model::DB; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 NAME |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
GO::Model::DB; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 SYNOPSIS |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 DESCRIPTION |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Fields: name fullname datatype generic_url url_syntax url_example |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=cut |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
14
|
|
|
14
|
|
88
|
use Carp qw(cluck confess); |
|
14
|
|
|
|
|
30
|
|
|
14
|
|
|
|
|
1026
|
|
27
|
14
|
|
|
14
|
|
79
|
use Exporter; |
|
14
|
|
|
|
|
27
|
|
|
14
|
|
|
|
|
525
|
|
28
|
14
|
|
|
14
|
|
90
|
use GO::Utils qw(rearrange); |
|
14
|
|
|
|
|
26
|
|
|
14
|
|
|
|
|
1993
|
|
29
|
14
|
|
|
14
|
|
1753
|
use GO::Model::Root; |
|
14
|
|
|
|
|
1714
|
|
|
14
|
|
|
|
|
389
|
|
30
|
14
|
|
|
14
|
|
102
|
use strict; |
|
14
|
|
|
|
|
31
|
|
|
14
|
|
|
|
|
503
|
|
31
|
14
|
|
|
14
|
|
1496
|
use vars qw(@ISA); |
|
14
|
|
|
|
|
24
|
|
|
14
|
|
|
|
|
3395
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
@ISA = qw(GO::Model::Root Exporter); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub _valid_params { |
36
|
0
|
|
|
0
|
|
|
return qw(name fullname datatype generic_url url_syntax url_example); |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |