8 |
# all work done in this module will be LOST |
# all work done in this module will be LOST |
9 |
|
|
10 |
|
|
11 |
package Ontology::pdb; |
package Ontology::rfam; |
12 |
|
|
13 |
use DBObject; |
use DBObject; |
14 |
|
use base qw(DBObject); |
15 |
|
|
16 |
|
sub attributes { |
17 |
|
return { |
18 |
|
id => [ DB_SCALAR, undef, 0, undef ], |
19 |
|
pmid => [ DB_SCALAR, undef, 0, undef ], |
20 |
|
description => [ DB_SCALAR, undef, 0, undef ], |
21 |
|
term => [ DB_SCALAR, undef, 0, undef ], |
22 |
|
}; |
23 |
|
} |
24 |
|
|
25 |
|
sub unique_indices { |
26 |
|
return |
27 |
|
[ |
28 |
|
]; |
29 |
|
} |
30 |
|
|
31 |
our @ISA = qw(DBObject); |
sub indices { |
32 |
|
return |
33 |
|
[ |
34 |
|
[ "id" ], |
35 |
|
]; |
36 |
|
} |
37 |
|
|
38 |
|
1; |
39 |
|
|
40 |
|
package Ontology::pdb; |
41 |
|
|
42 |
|
use DBObject; |
43 |
|
use base qw(DBObject); |
44 |
|
|
45 |
sub attributes { |
sub attributes { |
46 |
return { |
return { |
51 |
}; |
}; |
52 |
} |
} |
53 |
|
|
54 |
|
sub unique_indices { |
55 |
|
return |
56 |
|
[ |
57 |
|
]; |
58 |
|
} |
59 |
|
|
60 |
sub indices { |
sub indices { |
61 |
return |
return |
62 |
[ |
[ |
69 |
package Ontology::prosite; |
package Ontology::prosite; |
70 |
|
|
71 |
use DBObject; |
use DBObject; |
72 |
|
use base qw(DBObject); |
|
our @ISA = qw(DBObject); |
|
73 |
|
|
74 |
sub attributes { |
sub attributes { |
75 |
return { |
return { |
78 |
}; |
}; |
79 |
} |
} |
80 |
|
|
81 |
|
sub unique_indices { |
82 |
|
return |
83 |
|
[ |
84 |
|
]; |
85 |
|
} |
86 |
|
|
87 |
sub indices { |
sub indices { |
88 |
return |
return |
89 |
[ |
[ |
96 |
package Ontology::pfam; |
package Ontology::pfam; |
97 |
|
|
98 |
use DBObject; |
use DBObject; |
99 |
|
use base qw(DBObject); |
|
our @ISA = qw(DBObject); |
|
100 |
|
|
101 |
sub attributes { |
sub attributes { |
102 |
return { |
return { |
105 |
}; |
}; |
106 |
} |
} |
107 |
|
|
108 |
|
sub unique_indices { |
109 |
|
return |
110 |
|
[ |
111 |
|
]; |
112 |
|
} |
113 |
|
|
114 |
sub indices { |
sub indices { |
115 |
return |
return |
116 |
[ |
[ |
123 |
package Ontology::interpro; |
package Ontology::interpro; |
124 |
|
|
125 |
use DBObject; |
use DBObject; |
126 |
|
use base qw(DBObject); |
|
our @ISA = qw(DBObject); |
|
127 |
|
|
128 |
sub attributes { |
sub attributes { |
129 |
return { |
return { |
132 |
}; |
}; |
133 |
} |
} |
134 |
|
|
135 |
|
sub unique_indices { |
136 |
|
return |
137 |
|
[ |
138 |
|
]; |
139 |
|
} |
140 |
|
|
141 |
sub indices { |
sub indices { |
142 |
return |
return |
143 |
[ |
[ |
150 |
package Ontology::pir; |
package Ontology::pir; |
151 |
|
|
152 |
use DBObject; |
use DBObject; |
153 |
|
use base qw(DBObject); |
|
our @ISA = qw(DBObject); |
|
154 |
|
|
155 |
sub attributes { |
sub attributes { |
156 |
return { |
return { |
159 |
}; |
}; |
160 |
} |
} |
161 |
|
|
162 |
|
sub unique_indices { |
163 |
|
return |
164 |
|
[ |
165 |
|
]; |
166 |
|
} |
167 |
|
|
168 |
sub indices { |
sub indices { |
169 |
return |
return |
170 |
[ |
[ |
174 |
|
|
175 |
1; |
1; |
176 |
|
|
177 |
package Ontology::go; |
package Ontology::cdd; |
178 |
|
|
179 |
use DBObject; |
use DBObject; |
180 |
|
use base qw(DBObject); |
181 |
|
|
182 |
|
sub attributes { |
183 |
|
return { |
184 |
|
id => [ DB_SCALAR, undef, 0, undef ], |
185 |
|
description => [ DB_SCALAR, undef, 0, undef ], |
186 |
|
term => [ DB_SCALAR, undef, 0, undef ], |
187 |
|
}; |
188 |
|
} |
189 |
|
|
190 |
our @ISA = qw(DBObject); |
sub unique_indices { |
191 |
|
return |
192 |
|
[ |
193 |
|
]; |
194 |
|
} |
195 |
|
|
196 |
|
sub indices { |
197 |
|
return |
198 |
|
[ |
199 |
|
]; |
200 |
|
} |
201 |
|
|
202 |
|
1; |
203 |
|
|
204 |
|
package Ontology::go; |
205 |
|
|
206 |
|
use DBObject; |
207 |
|
use base qw(DBObject); |
208 |
|
|
209 |
sub attributes { |
sub attributes { |
210 |
return { |
return { |
213 |
}; |
}; |
214 |
} |
} |
215 |
|
|
216 |
|
sub unique_indices { |
217 |
|
return |
218 |
|
[ |
219 |
|
]; |
220 |
|
} |
221 |
|
|
222 |
sub indices { |
sub indices { |
223 |
return |
return |
224 |
[ |
[ |