biointerchange 0.1.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +17 -0
- data/VERSION +1 -1
- data/generators/GOxrefify.rb +41 -0
- data/generators/rdfxml.rb +6 -4
- data/lib/biointerchange/core.rb +94 -20
- data/lib/biointerchange/genomics/gff3_feature_set.rb +11 -3
- data/lib/biointerchange/genomics/gff3_pragmas.rb +3 -3
- data/lib/biointerchange/genomics/gff3_rdf_ntriples.rb +217 -12
- data/lib/biointerchange/genomics/gff3_reader.rb +78 -20
- data/lib/biointerchange/genomics/gvf_reader.rb +9 -3
- data/lib/biointerchange/gff3o.rb +69 -55
- data/lib/biointerchange/goxref.rb +867 -0
- data/lib/biointerchange/gvf1o.rb +546 -82
- data/lib/biointerchange/textmining/text_mining_reader.rb +9 -0
- data/spec/gff3_rdfwriter_spec.rb +1 -1
- data/spec/gvf_rdfwriter_spec.rb +1 -1
- data/spec/text_mining_pdfx_xml_reader_spec.rb +3 -0
- data/spec/text_mining_pubannos_json_reader_spec.rb +4 -1
- data/supplemental/java/biointerchange/pom.xml +1 -1
- data/supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/GFF3O.java +93 -125
- data/supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/GVF1O.java +304 -205
- data/supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/SIO.java +4044 -4290
- data/supplemental/java/biointerchange/src/main/java/org/biointerchange/vocabulary/SOFA.java +3 -3
- data/supplemental/python/biointerchange/gff3o.py +1 -89
- data/supplemental/python/biointerchange/gvf1o.py +129 -147
- data/supplemental/python/biointerchange/sio.py +817 -46
- data/supplemental/python/biointerchange/sofa.py +543 -543
- data/supplemental/python/setup.py +1 -1
- data/web/ontologies.html +1 -3
- metadata +7 -2
@@ -1,31 +1,46 @@
|
|
1
|
+
require 'stringio'
|
2
|
+
|
1
3
|
module BioInterchange::Genomics
|
2
4
|
|
3
5
|
class GFF3Reader
|
4
6
|
|
5
7
|
# Creates a new instance of a Generic Feature Format Version 3 (GFF3) reader.
|
6
8
|
#
|
9
|
+
# The reader supports batch processing.
|
10
|
+
#
|
7
11
|
# +name+:: Optional name of the person who generated the GFF3 file.
|
8
12
|
# +name_uri+:: Optional e-mail address of the person who generated the GFF3 file.
|
9
13
|
# +date+:: Optional date of when the GFF3 file was produced.
|
10
|
-
|
14
|
+
# +batch_size+:: Optional integer that determines that number of features that
|
15
|
+
# should be processed in one go.
|
16
|
+
def initialize(name = nil, name_uri = nil, date = nil, batch_size = nil)
|
11
17
|
@name = name
|
12
18
|
@name_uri = name_uri
|
13
19
|
@date = date
|
20
|
+
@batch_size = batch_size
|
14
21
|
end
|
15
22
|
|
16
23
|
# Reads a GFF3 file from the input stream and returns an associated model.
|
17
24
|
#
|
25
|
+
# If this method is called when +postponed?+ returns true, then the reading will
|
26
|
+
# continue from where it has been interrupted beforehand.
|
27
|
+
#
|
18
28
|
# +inputstream+:: an instance of class IO or String that holds the contents of a GFF3 file
|
19
29
|
def deserialize(inputstream)
|
20
30
|
if inputstream.kind_of?(IO)
|
21
|
-
create_model(inputstream.read)
|
22
|
-
elsif inputstream.kind_of?(String) then
|
23
31
|
create_model(inputstream)
|
32
|
+
elsif inputstream.kind_of?(String) then
|
33
|
+
create_model(StringIO.new(inputstream))
|
24
34
|
else
|
25
35
|
raise BioInterchange::Exceptions::ImplementationReaderError, 'The provided input stream needs to be either of type IO or String.'
|
26
36
|
end
|
27
37
|
end
|
28
38
|
|
39
|
+
# Returns true if the reading of the input was postponed due to a full batch.
|
40
|
+
def postponed?
|
41
|
+
@postponed
|
42
|
+
end
|
43
|
+
|
29
44
|
protected
|
30
45
|
|
31
46
|
def create_feature_set
|
@@ -33,32 +48,56 @@ protected
|
|
33
48
|
end
|
34
49
|
|
35
50
|
def create_model(gff3)
|
36
|
-
|
37
|
-
|
51
|
+
if @postponed then
|
52
|
+
@postponed = false
|
53
|
+
@feature_set.prune
|
54
|
+
else
|
55
|
+
@feature_set = create_feature_set
|
56
|
+
end
|
57
|
+
feature_no = 0
|
58
|
+
|
59
|
+
# Note: there is a `while true` statement at the end of this block!
|
60
|
+
begin
|
61
|
+
line = gff3.readline
|
62
|
+
line.chomp!
|
63
|
+
|
38
64
|
next if line.start_with?('#') and not line.start_with?('##')
|
39
65
|
|
40
66
|
# Ignore sequences for now.
|
41
67
|
break if line.start_with?('##FASTA')
|
42
68
|
|
43
69
|
unless line.start_with?('##') then
|
44
|
-
add_feature(feature_set, line)
|
70
|
+
add_feature(@feature_set, line)
|
71
|
+
feature_no += 1
|
72
|
+
|
73
|
+
if @batch_size and feature_no >= @batch_size then
|
74
|
+
@postponed = true
|
75
|
+
break
|
76
|
+
end
|
45
77
|
else
|
46
|
-
add_pragma(feature_set, line)
|
78
|
+
add_pragma(@feature_set, line)
|
47
79
|
end
|
48
|
-
|
80
|
+
rescue EOFError
|
81
|
+
# Expected. Do nothing, since just the end of the file/input has been reached.
|
82
|
+
break
|
83
|
+
end while true
|
49
84
|
|
50
|
-
feature_set
|
85
|
+
@feature_set
|
51
86
|
end
|
52
87
|
|
53
88
|
def add_feature(feature_set, line)
|
54
89
|
line.chomp!
|
55
90
|
seqid, source, type, start_coordinate, end_coordinate, score, strand, phase, attributes = line.split("\t")
|
56
91
|
|
57
|
-
# The type might be a SO/SOFA term
|
58
|
-
|
59
|
-
type
|
60
|
-
|
61
|
-
|
92
|
+
# The type might be a SO/SOFA term or SO/SOFA accession:
|
93
|
+
begin
|
94
|
+
if type.match(/^SO:\d{7}$/) then
|
95
|
+
type = RDF::URI.new("http://www.sequenceontology.org/miso/current_release/term/#{feature.type}")
|
96
|
+
else
|
97
|
+
type = BioInterchange::SOFA.send(BioInterchange.make_safe_label(type))
|
98
|
+
end
|
99
|
+
rescue NoMethodError
|
100
|
+
raise BioInterchange::Exceptions::InputFormatError, 'Type of feature is set to an unknown SOFA term.'
|
62
101
|
end
|
63
102
|
|
64
103
|
# String to numeric value conversions:
|
@@ -88,9 +127,7 @@ protected
|
|
88
127
|
phase = nil
|
89
128
|
end
|
90
129
|
|
91
|
-
|
92
|
-
attributes.split(';').map { |assignment| match = assignment.match(/([^=]+)=(.+)/) ; { match[1].strip => match[2].split(',').map { |value| value.strip } } }.map { |hash| hash.each_pair { |tag,list| temp[tag] = list } }
|
93
|
-
attributes = temp
|
130
|
+
attributes = split_attributes(attributes)
|
94
131
|
|
95
132
|
feature_set.add(BioInterchange::Genomics::GFF3Feature.new(seqid, source, type, start_coordinate, end_coordinate, score, strand, phase, attributes))
|
96
133
|
end
|
@@ -100,20 +137,41 @@ protected
|
|
100
137
|
name, value = line[2..-1].split(/\s/, 2)
|
101
138
|
value.strip!
|
102
139
|
|
103
|
-
# Interpret pragmas depending on their definition:
|
104
|
-
if name == '
|
140
|
+
# Interpret pragmas depending on their definition (sorted alphabetically):
|
141
|
+
if name == 'feature-ontology' then
|
142
|
+
ontologies = feature_set.pragma(name)
|
143
|
+
ontologies = { name => [] } unless ontologies
|
144
|
+
ontologies[name] << value
|
145
|
+
feature_set.set_pragma(name, ontologies)
|
146
|
+
elsif name == 'genome-build' then
|
147
|
+
builds = feature_set.pragma(name)
|
148
|
+
builds = { name => {} } unless builds
|
149
|
+
source, build_name = value.split(/\s+/, 2)
|
150
|
+
build_name.sub!(/\s.*$/, '') # Remove possible comments
|
151
|
+
builds[name][source] = build_name
|
152
|
+
feature_set.set_pragma(name, builds)
|
153
|
+
elsif name == 'gff-version' then
|
105
154
|
feature_set.set_pragma(name, { name => value.to_f })
|
106
155
|
elsif name == 'sequence-region' then
|
107
156
|
regions = feature_set.pragma(name)
|
108
157
|
regions = {} unless regions
|
109
158
|
seqid, start_coordinate, end_coordinate = value.split(/\s+/, 3)
|
110
|
-
regions[seqid] = BioInterchange::Genomics::
|
159
|
+
regions[seqid] = BioInterchange::Genomics::GFF3Landmark.new(seqid, start_coordinate.to_i, end_coordinate.to_i)
|
111
160
|
feature_set.set_pragma(name, regions)
|
161
|
+
elsif name == 'species' then
|
162
|
+
feature_set.set_pragma(name, { name => value })
|
112
163
|
else
|
113
164
|
# Unhandled pragma. Just save the value in its string form.
|
114
165
|
feature_set.set_pragma(name, value)
|
115
166
|
end
|
116
167
|
end
|
168
|
+
|
169
|
+
def split_attributes(attribute_string)
|
170
|
+
attributes = {}
|
171
|
+
attribute_string.split(';').map { |assignment| match = assignment.match(/([^=]+)=(.+)/) ; { match[1].strip => match[2].split(',').map { |value| value.strip } } }.map { |hash| hash.each_pair { |tag,list| attributes[tag] = list } }
|
172
|
+
attributes
|
173
|
+
end
|
174
|
+
|
117
175
|
end
|
118
176
|
|
119
177
|
end
|
@@ -7,7 +7,7 @@ class GVFReader < GFF3Reader
|
|
7
7
|
# +name+:: Optional name of the person who generated the GVF file.
|
8
8
|
# +name_uri+:: Optional e-mail address of the person who generated the GVF file.
|
9
9
|
# +date+:: Optional date of when the GVF file was produced.
|
10
|
-
def initialize(name = nil, name_uri = nil, date = nil)
|
10
|
+
def initialize(name = nil, name_uri = nil, date = nil, batch_size = nil)
|
11
11
|
# Remember: calling super without brackets passes all arguments of initialize!
|
12
12
|
super
|
13
13
|
end
|
@@ -23,8 +23,14 @@ protected
|
|
23
23
|
name, value = line[2..-1].split(/\s/, 2)
|
24
24
|
value.strip!
|
25
25
|
|
26
|
-
# Interpret pragmas, and if not known, delegate to GFF3Reader:
|
27
|
-
if name == '
|
26
|
+
# Interpret pragmas, and if not known, delegate to GFF3Reader (in alphabetical order):
|
27
|
+
if name == 'attribute-method' or name == 'data-source' or name == 'score-method' or name == 'source-method' or name == 'technology-platform' then
|
28
|
+
attributes = split_attributes(value)
|
29
|
+
structured_attributes = feature_set.pragma(name)
|
30
|
+
structured_attributes = { name => [] } unless structured_attributes
|
31
|
+
structured_attributes[name] << attributes
|
32
|
+
feature_set.set_pragma(name, structured_attributes)
|
33
|
+
elsif name == 'gvf-version' then
|
28
34
|
feature_set.set_pragma(name, { name => value.to_f })
|
29
35
|
else
|
30
36
|
super(feature_set, line)
|
data/lib/biointerchange/gff3o.rb
CHANGED
@@ -3,6 +3,18 @@ module BioInterchange
|
|
3
3
|
|
4
4
|
class GFF3O
|
5
5
|
|
6
|
+
# Establishes the landmark (e.g. a chromosome) on which a feature is located.
|
7
|
+
# (http://www.biointerchange.org/gff3o#GFF3_0004)
|
8
|
+
def self.seqid
|
9
|
+
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0004')
|
10
|
+
end
|
11
|
+
|
12
|
+
# Type of the feature, which is either an entry the "lite" version of the Sequence Ontology (SOFA) or a child entry of sequence_feature (SO:0000110) of the full Sequence Ontology (SO).
|
13
|
+
# (http://www.biointerchange.org/gff3o#GFF3_0006)
|
14
|
+
def self.type
|
15
|
+
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0006')
|
16
|
+
end
|
17
|
+
|
6
18
|
# Either:
|
7
19
|
# Strand of the feature.
|
8
20
|
# (http://www.biointerchange.org/gff3o#GFF3_0010)
|
@@ -101,10 +113,10 @@ class GFF3O
|
|
101
113
|
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0047')
|
102
114
|
end
|
103
115
|
|
104
|
-
#
|
105
|
-
# (http://www.biointerchange.org/gff3o#
|
106
|
-
def self.
|
107
|
-
return RDF::URI.new('http://www.biointerchange.org/gff3o#
|
116
|
+
# Explicit link-out to one or more ontologies that have been used for describing features. This is a meta comment about the URIs that link out to SO/SOFA or other ontologies.
|
117
|
+
# (http://www.biointerchange.org/gff3o#GFF3_0056)
|
118
|
+
def self.feature_ontology
|
119
|
+
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0056')
|
108
120
|
end
|
109
121
|
|
110
122
|
# A free text qualifier that describes the algorithm or operating procedure that generated this feature. For example, the name of the software that generated this feature or a database name.
|
@@ -113,20 +125,17 @@ class GFF3O
|
|
113
125
|
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0005')
|
114
126
|
end
|
115
127
|
|
116
|
-
# Type of the feature, which is either a term from the "lite" version of the Sequence Ontology (SOFA), a term from the full Sequence Ontology (SO) that is a child of sequence_feature (SO:0000110), or a SOFA or SO accession number.
|
117
|
-
# (http://www.biointerchange.org/gff3o#GFF3_0006)
|
118
|
-
def self.type
|
119
|
-
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0006')
|
120
|
-
end
|
121
|
-
|
122
128
|
# Either:
|
123
129
|
# Start coordinate of the feature on the seqid landmark.
|
124
130
|
# (http://www.biointerchange.org/gff3o#GFF3_0007)
|
125
131
|
# Or:
|
126
132
|
# Start coordinate of the target.
|
127
133
|
# (http://www.biointerchange.org/gff3o#GFF3_0042)
|
134
|
+
# Or:
|
135
|
+
# Genomic start coordinate of the landmark.
|
136
|
+
# (http://www.biointerchange.org/gff3o#GFF3_0054)
|
128
137
|
def self.start
|
129
|
-
return [ RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0007'), RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0042') ]
|
138
|
+
return [ RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0007'), RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0042'), RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0054') ]
|
130
139
|
end
|
131
140
|
|
132
141
|
# Either:
|
@@ -135,8 +144,11 @@ class GFF3O
|
|
135
144
|
# Or:
|
136
145
|
# End coordinate of the target.
|
137
146
|
# (http://www.biointerchange.org/gff3o#GFF3_0043)
|
147
|
+
# Or:
|
148
|
+
# Genomic end coordinate of the landmark.
|
149
|
+
# (http://www.biointerchange.org/gff3o#GFF3_0055)
|
138
150
|
def self.end
|
139
|
-
return [ RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0008'), RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0043') ]
|
151
|
+
return [ RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0008'), RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0043'), RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0055') ]
|
140
152
|
end
|
141
153
|
|
142
154
|
# Score of the feature. For example, an E-value for sequence similarity features or a P-value for ab initio gene prediction features.
|
@@ -175,26 +187,10 @@ class GFF3O
|
|
175
187
|
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0029')
|
176
188
|
end
|
177
189
|
|
178
|
-
#
|
179
|
-
# (http://www.biointerchange.org/gff3o#
|
180
|
-
def self.dbxref_properties
|
181
|
-
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0031')
|
182
|
-
end
|
183
|
-
|
184
|
-
# Either:
|
185
|
-
# Name of an external database. For example, "dbSNP" or "OMIM".
|
186
|
-
# (http://www.biointerchange.org/gff3o#GFF3_0032)
|
187
|
-
# Or:
|
188
|
-
# Name of a feature, which can be used for display purposes. The name is not a unique property among features.
|
189
|
-
# (http://www.biointerchange.org/gff3o#GFF3_0036)
|
190
|
+
# Name of a feature, which can be used for display purposes. The name is not a unique property among features.
|
191
|
+
# (http://www.biointerchange.org/gff3o#GFF3_0036)
|
190
192
|
def self.name
|
191
|
-
return
|
192
|
-
end
|
193
|
-
|
194
|
-
# External database identifier. For example, for dbSNP, this identifier could be "rs3131969".
|
195
|
-
# (http://www.biointerchange.org/gff3o#GFF3_0033)
|
196
|
-
def self.xref
|
197
|
-
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0033')
|
193
|
+
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0036')
|
198
194
|
end
|
199
195
|
|
200
196
|
# An alternative name for a feature. This can be another descriptive name of a feature, such as a locus name or accession number.
|
@@ -227,6 +223,18 @@ class GFF3O
|
|
227
223
|
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0049')
|
228
224
|
end
|
229
225
|
|
226
|
+
# Properties that are directly associated with Landmark class instances.
|
227
|
+
# (http://www.biointerchange.org/gff3o#GFF3_0052)
|
228
|
+
def self.landmark_properties
|
229
|
+
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0052')
|
230
|
+
end
|
231
|
+
|
232
|
+
# ID that uniquely establishes the Landmark's identity within a Set.
|
233
|
+
# (http://www.biointerchange.org/gff3o#GFF3_0053)
|
234
|
+
def self.id
|
235
|
+
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0053')
|
236
|
+
end
|
237
|
+
|
230
238
|
# Set of genomic sequence features, whose identifiers are unique within the set.
|
231
239
|
# (http://www.biointerchange.org/gff3o#GFF3_0001)
|
232
240
|
def self.Set
|
@@ -251,18 +259,18 @@ class GFF3O
|
|
251
259
|
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0016')
|
252
260
|
end
|
253
261
|
|
254
|
-
# A class describing relationships between features and external databases.
|
255
|
-
# (http://www.biointerchange.org/gff3o#GFF3_0030)
|
256
|
-
def self.DBXRef
|
257
|
-
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0030')
|
258
|
-
end
|
259
|
-
|
260
262
|
# Indicates a feature's "target" of a nucleotide-to-nucleotide or protein-to-nucleotide alignment.
|
261
263
|
# (http://www.biointerchange.org/gff3o#GFF3_0038)
|
262
264
|
def self.Target
|
263
265
|
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0038')
|
264
266
|
end
|
265
267
|
|
268
|
+
# A landmark that establishes the coordinate system for features.
|
269
|
+
# (http://www.biointerchange.org/gff3o#GFF3_0051)
|
270
|
+
def self.Landmark
|
271
|
+
return RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0051')
|
272
|
+
end
|
273
|
+
|
266
274
|
# Location on the positive (forward) strand.
|
267
275
|
# (http://www.biointerchange.org/gff3o#GFF3_0017)
|
268
276
|
def self.Positive
|
@@ -291,6 +299,12 @@ class GFF3O
|
|
291
299
|
#
|
292
300
|
# +uri+:: URI that is tested for being an object property
|
293
301
|
def self.is_object_property?(uri)
|
302
|
+
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0004') then
|
303
|
+
return true
|
304
|
+
end
|
305
|
+
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0006') then
|
306
|
+
return true
|
307
|
+
end
|
294
308
|
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0010') then
|
295
309
|
return true
|
296
310
|
end
|
@@ -336,6 +350,9 @@ class GFF3O
|
|
336
350
|
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0050') then
|
337
351
|
return true
|
338
352
|
end
|
353
|
+
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0056') then
|
354
|
+
return true
|
355
|
+
end
|
339
356
|
return false
|
340
357
|
end
|
341
358
|
|
@@ -343,15 +360,9 @@ class GFF3O
|
|
343
360
|
#
|
344
361
|
# +uri+:: URI that is tested for being a datatype property
|
345
362
|
def self.is_datatype_property?(uri)
|
346
|
-
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0004') then
|
347
|
-
return true
|
348
|
-
end
|
349
363
|
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0005') then
|
350
364
|
return true
|
351
365
|
end
|
352
|
-
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0006') then
|
353
|
-
return true
|
354
|
-
end
|
355
366
|
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0007') then
|
356
367
|
return true
|
357
368
|
end
|
@@ -382,15 +393,6 @@ class GFF3O
|
|
382
393
|
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0029') then
|
383
394
|
return true
|
384
395
|
end
|
385
|
-
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0031') then
|
386
|
-
return true
|
387
|
-
end
|
388
|
-
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0032') then
|
389
|
-
return true
|
390
|
-
end
|
391
|
-
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0033') then
|
392
|
-
return true
|
393
|
-
end
|
394
396
|
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0036') then
|
395
397
|
return true
|
396
398
|
end
|
@@ -418,6 +420,18 @@ class GFF3O
|
|
418
420
|
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0049') then
|
419
421
|
return true
|
420
422
|
end
|
423
|
+
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0052') then
|
424
|
+
return true
|
425
|
+
end
|
426
|
+
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0053') then
|
427
|
+
return true
|
428
|
+
end
|
429
|
+
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0054') then
|
430
|
+
return true
|
431
|
+
end
|
432
|
+
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0055') then
|
433
|
+
return true
|
434
|
+
end
|
421
435
|
return false
|
422
436
|
end
|
423
437
|
|
@@ -437,10 +451,10 @@ class GFF3O
|
|
437
451
|
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0016') then
|
438
452
|
return true
|
439
453
|
end
|
440
|
-
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#
|
454
|
+
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0038') then
|
441
455
|
return true
|
442
456
|
end
|
443
|
-
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#
|
457
|
+
if uri == RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0051') then
|
444
458
|
return true
|
445
459
|
end
|
446
460
|
return false
|
@@ -488,7 +502,7 @@ class GFF3O
|
|
488
502
|
end
|
489
503
|
|
490
504
|
private
|
491
|
-
@@parent_properties = { RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0010') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0012') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0014') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0015') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0025') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0021') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0023') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0025') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0034') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0035') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0039') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0045') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0044') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0047') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0050') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0044') , RDF::URI.new('http://www.biointerchange.org/gff3o#
|
505
|
+
@@parent_properties = { RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0004') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0006') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0010') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0012') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0014') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0015') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0025') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0021') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0023') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0025') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0034') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0035') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0039') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0045') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0044') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0047') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0026') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0050') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0044') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0056') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0025') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0005') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0028') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0007') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0028') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0008') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0028') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0009') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0028') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0011') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0028') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0013') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0029') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0022') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0027') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0024') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0027') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0036') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0028') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0037') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0028') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0041') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0040') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0042') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0040') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0043') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0040') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0046') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0028') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0048') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0028') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0049') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0028') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0053') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0052') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0054') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0052') , RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0055') => RDF::URI.new('http://www.biointerchange.org/gff3o#GFF3_0052') }
|
492
506
|
|
493
507
|
end
|
494
508
|
|
@@ -0,0 +1,867 @@
|
|
1
|
+
module BioInterchange
|
2
|
+
|
3
|
+
class GOXRef
|
4
|
+
|
5
|
+
# Returns the link-out URI for objects of "Arabidopsis Genome Initiative".
|
6
|
+
def self.AGI_LocusCode
|
7
|
+
RDF::URI.new("http://arabidopsis.org/servlets/TairObject?type=locus&name=")
|
8
|
+
end
|
9
|
+
|
10
|
+
# Returns the link-out URI for objects of "PlasmoDB Plasmodium Genome Resource".
|
11
|
+
def self.ApiDB_PlasmoDB
|
12
|
+
RDF::URI.new("http://www.plasmodb.org/gene/")
|
13
|
+
end
|
14
|
+
|
15
|
+
# Returns the link-out URI for objects of "AraCyc metabolic pathway database for Arabidopsis thaliana".
|
16
|
+
def self.AraCyc
|
17
|
+
RDF::URI.new("http://www.arabidopsis.org:1555/ARA/NEW-IMAGE?type=NIL&object=")
|
18
|
+
end
|
19
|
+
|
20
|
+
# Returns the link-out URI for objects of "A Systematic Annotation Package for Community Analysis of Genomes".
|
21
|
+
def self.ASAP
|
22
|
+
RDF::URI.new("https://asap.ahabs.wisc.edu/annotation/php/feature_info.php?FeatureID=")
|
23
|
+
end
|
24
|
+
|
25
|
+
# Returns the link-out URI for objects of "Aspergillus Genome Database".
|
26
|
+
def self.AspGD
|
27
|
+
RDF::URI.new("http://www.aspergillusgenome.org/cgi-bin/locus.pl?dbid=")
|
28
|
+
end
|
29
|
+
|
30
|
+
# Returns the link-out URI for objects of "Aspergillus Genome Database".
|
31
|
+
def self.AspGD_LOCUS
|
32
|
+
RDF::URI.new("http://www.aspergillusgenome.org/cgi-bin/locus.pl?locus=")
|
33
|
+
end
|
34
|
+
|
35
|
+
# Returns the link-out URI for objects of "Aspergillus Genome Database".
|
36
|
+
def self.AspGD_REF
|
37
|
+
RDF::URI.new("http://www.aspergillusgenome.org/cgi-bin/reference/reference.pl?dbid=")
|
38
|
+
end
|
39
|
+
|
40
|
+
# Returns the link-out URI for objects of "Basic Formal Ontology".
|
41
|
+
def self.BFO
|
42
|
+
RDF::URI.new("http://purl.obolibrary.org/obo/BFO_")
|
43
|
+
end
|
44
|
+
|
45
|
+
# Returns the link-out URI for objects of "BioCyc collection of metabolic pathway databases".
|
46
|
+
def self.BioCyc
|
47
|
+
RDF::URI.new("http://biocyc.org/META/NEW-IMAGE?type=PATHWAY&object=")
|
48
|
+
end
|
49
|
+
|
50
|
+
# Returns the link-out URI for objects of "BioModels Database".
|
51
|
+
def self.BIOMD
|
52
|
+
RDF::URI.new("http://www.ebi.ac.uk/compneur-srv/biomodels-main/publ-model.do?mid=")
|
53
|
+
end
|
54
|
+
|
55
|
+
# Returns the link-out URI for objects of "BRENDA, The Comprehensive Enzyme Information System".
|
56
|
+
def self.BRENDA
|
57
|
+
RDF::URI.new("http://www.brenda-enzymes.info/php/result_flat.php4?ecno=")
|
58
|
+
end
|
59
|
+
|
60
|
+
# Returns the link-out URI for objects of "Magnaporthe grisea Database".
|
61
|
+
def self.Broad_MGG
|
62
|
+
RDF::URI.new("http://www.broad.mit.edu/annotation/genome/magnaporthe_grisea/GeneLocus.html?sp=S")
|
63
|
+
end
|
64
|
+
|
65
|
+
# Returns the link-out URI for objects of "Catalog of Fishes genus database".
|
66
|
+
def self.CASGEN
|
67
|
+
RDF::URI.new("http://research.calacademy.org/research/ichthyology/catalog/getname.asp?rank=Genus&id=")
|
68
|
+
end
|
69
|
+
|
70
|
+
# Returns the link-out URI for objects of "Catalog of Fishes publications database".
|
71
|
+
def self.CASREF
|
72
|
+
RDF::URI.new("http://research.calacademy.org/research/ichthyology/catalog/getref.asp?id=")
|
73
|
+
end
|
74
|
+
|
75
|
+
# Returns the link-out URI for objects of "Catalog of Fishes species database".
|
76
|
+
def self.CASSPC
|
77
|
+
RDF::URI.new("http://research.calacademy.org/research/ichthyology/catalog/getname.asp?rank=Species&id=1979")
|
78
|
+
end
|
79
|
+
|
80
|
+
# Returns the link-out URI for objects of "Conserved Domain Database at NCBI".
|
81
|
+
def self.CDD
|
82
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/Structure/cdd/cddsrv.cgi?uid=")
|
83
|
+
end
|
84
|
+
|
85
|
+
# Returns the link-out URI for objects of "Candida Genome Database".
|
86
|
+
def self.CGD
|
87
|
+
RDF::URI.new("http://www.candidagenome.org/cgi-bin/locus.pl?dbid=")
|
88
|
+
end
|
89
|
+
|
90
|
+
# Returns the link-out URI for objects of "Candida Genome Database".
|
91
|
+
def self.CGD_LOCUS
|
92
|
+
RDF::URI.new("http://www.candidagenome.org/cgi-bin/locus.pl?locus=")
|
93
|
+
end
|
94
|
+
|
95
|
+
# Returns the link-out URI for objects of "Candida Genome Database".
|
96
|
+
def self.CGD_REF
|
97
|
+
RDF::URI.new("http://www.candidagenome.org/cgi-bin/reference/reference.pl?dbid=")
|
98
|
+
end
|
99
|
+
|
100
|
+
# Returns the link-out URI for objects of "Chemical Entities of Biological Interest".
|
101
|
+
def self.CHEBI
|
102
|
+
RDF::URI.new("http://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:")
|
103
|
+
end
|
104
|
+
|
105
|
+
# Returns the link-out URI for objects of "Cell Type Ontology".
|
106
|
+
def self.CL
|
107
|
+
RDF::URI.new("http://purl.obolibrary.org/obo/CL_")
|
108
|
+
end
|
109
|
+
|
110
|
+
# Returns the link-out URI for objects of "NCBI COG cluster".
|
111
|
+
def self.COG_Cluster
|
112
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/COG/new/release/cow.cgi?cog=")
|
113
|
+
end
|
114
|
+
|
115
|
+
# Returns the link-out URI for objects of "NCBI COG function".
|
116
|
+
def self.COG_Function
|
117
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/COG/grace/shokog.cgi?fun=")
|
118
|
+
end
|
119
|
+
|
120
|
+
# Returns the link-out URI for objects of "NCBI COG pathway".
|
121
|
+
def self.COG_Pathway
|
122
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/COG/new/release/coglist.cgi?pathw=")
|
123
|
+
end
|
124
|
+
|
125
|
+
# Returns the link-out URI for objects of "CORUM - the Comprehensive Resource of Mammalian protein complexes".
|
126
|
+
def self.CORUM
|
127
|
+
RDF::URI.new("http://mips.gsf.de/genre/proj/corum/complexdetails.html?id=")
|
128
|
+
end
|
129
|
+
|
130
|
+
# Returns the link-out URI for objects of "NCBI dbSNP".
|
131
|
+
def self.dbSNP
|
132
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/projects/SNP/snp_ref.cgi?rs=")
|
133
|
+
end
|
134
|
+
|
135
|
+
# Returns the link-out URI for objects of "DNA Databank of Japan".
|
136
|
+
def self.DDBJ
|
137
|
+
RDF::URI.new("http://arsa.ddbj.nig.ac.jp/arsa/ddbjSplSearch?KeyWord=")
|
138
|
+
end
|
139
|
+
|
140
|
+
# Returns the link-out URI for objects of "dictyBase".
|
141
|
+
def self.dictyBase
|
142
|
+
RDF::URI.new("http://dictybase.org/gene/")
|
143
|
+
end
|
144
|
+
|
145
|
+
# Returns the link-out URI for objects of "dictyBase".
|
146
|
+
def self.dictyBase_gene_name
|
147
|
+
RDF::URI.new("http://dictybase.org/gene/")
|
148
|
+
end
|
149
|
+
|
150
|
+
# Returns the link-out URI for objects of "dictyBase literature references".
|
151
|
+
def self.dictyBase_REF
|
152
|
+
RDF::URI.new("http://dictybase.org/db/cgi-bin/dictyBase/reference/reference.pl?refNo=")
|
153
|
+
end
|
154
|
+
|
155
|
+
# Returns the link-out URI for objects of "Digital Object Identifier".
|
156
|
+
def self.DOI
|
157
|
+
RDF::URI.new("http://dx.doi.org/DOI:")
|
158
|
+
end
|
159
|
+
|
160
|
+
# Returns the link-out URI for objects of "Enzyme Commission".
|
161
|
+
def self.EC
|
162
|
+
RDF::URI.new("http://www.expasy.org/enzyme/")
|
163
|
+
end
|
164
|
+
|
165
|
+
# Returns the link-out URI for objects of "EchoBASE post-genomic database for Escherichia coli".
|
166
|
+
def self.EchoBASE
|
167
|
+
RDF::URI.new("http://www.biolws1.york.ac.uk/echobase/Gene.cfm?recordID=")
|
168
|
+
end
|
169
|
+
|
170
|
+
# Returns the link-out URI for objects of "EcoGene Database of Escherichia coli Sequence and Function".
|
171
|
+
def self.ECK
|
172
|
+
RDF::URI.new("http://www.ecogene.org/geneInfo.php?eck_id=")
|
173
|
+
end
|
174
|
+
|
175
|
+
# Returns the link-out URI for objects of "Encyclopedia of E. coli metabolism".
|
176
|
+
def self.EcoCyc
|
177
|
+
RDF::URI.new("http://biocyc.org/ECOLI/NEW-IMAGE?type=PATHWAY&object=")
|
178
|
+
end
|
179
|
+
|
180
|
+
# Returns the link-out URI for objects of "Encyclopedia of E. coli metabolism".
|
181
|
+
def self.EcoCyc_REF
|
182
|
+
RDF::URI.new("http://biocyc.org/ECOLI/reference.html?type=CITATION-FRAME&object=")
|
183
|
+
end
|
184
|
+
|
185
|
+
# Returns the link-out URI for objects of "EcoGene Database of Escherichia coli Sequence and Function".
|
186
|
+
def self.ECOGENE
|
187
|
+
RDF::URI.new("http://www.ecogene.org/geneInfo.php?eg_id=")
|
188
|
+
end
|
189
|
+
|
190
|
+
# Returns the link-out URI for objects of "EMBL Nucleotide Sequence Database".
|
191
|
+
def self.EMBL
|
192
|
+
RDF::URI.new("http://www.ebi.ac.uk/cgi-bin/emblfetch?style=html&Submit=Go&id=")
|
193
|
+
end
|
194
|
+
|
195
|
+
# Returns the link-out URI for objects of "European Nucleotide Archive".
|
196
|
+
def self.ENA
|
197
|
+
RDF::URI.new("http://www.ebi.ac.uk/ena/data/view/")
|
198
|
+
end
|
199
|
+
|
200
|
+
# Returns the link-out URI for objects of "Ensembl database of automatically annotated genomic data".
|
201
|
+
def self.ENSEMBL
|
202
|
+
RDF::URI.new("http://www.ensembl.org/id/")
|
203
|
+
end
|
204
|
+
|
205
|
+
# Returns the link-out URI for objects of "Ensembl database of automatically annotated genomic data".
|
206
|
+
def self.ENSEMBL_GeneID
|
207
|
+
RDF::URI.new("http://www.ensembl.org/id/")
|
208
|
+
end
|
209
|
+
|
210
|
+
# Returns the link-out URI for objects of "Ensembl database of automatically annotated genomic data".
|
211
|
+
def self.ENSEMBL_ProteinID
|
212
|
+
RDF::URI.new("http://www.ensembl.org/id/")
|
213
|
+
end
|
214
|
+
|
215
|
+
# Returns the link-out URI for objects of "Ensembl database of automatically annotated genomic data".
|
216
|
+
def self.ENSEMBL_TranscriptID
|
217
|
+
RDF::URI.new("http://www.ensembl.org/id/")
|
218
|
+
end
|
219
|
+
|
220
|
+
# Returns the link-out URI for objects of "Swiss Institute of Bioinformatics enzyme database".
|
221
|
+
def self.ENZYME
|
222
|
+
RDF::URI.new("http://www.expasy.ch/cgi-bin/nicezyme.pl?")
|
223
|
+
end
|
224
|
+
|
225
|
+
# Returns the link-out URI for objects of "Drosophila gross anatomy".
|
226
|
+
def self.FBbt
|
227
|
+
RDF::URI.new("http://flybase.org/cgi-bin/fbcvq.html?query=FBbt:")
|
228
|
+
end
|
229
|
+
|
230
|
+
# Returns the link-out URI for objects of "Human Genome Database".
|
231
|
+
def self.GDB
|
232
|
+
RDF::URI.new("http://www.gdb.org/gdb-bin/genera/accno?accessionNum=GDB:")
|
233
|
+
end
|
234
|
+
|
235
|
+
# Returns the link-out URI for objects of "GenBank".
|
236
|
+
def self.GenBank
|
237
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?db=nucleotide&val=")
|
238
|
+
end
|
239
|
+
|
240
|
+
# Returns the link-out URI for objects of "Domain Architecture Classification".
|
241
|
+
def self.Gene3D
|
242
|
+
RDF::URI.new("http://gene3d.biochem.ucl.ac.uk/superfamily/?accession=")
|
243
|
+
end
|
244
|
+
|
245
|
+
# Returns the link-out URI for objects of "Glossina morsitans GeneDB".
|
246
|
+
def self.GeneDB_Gmorsitans
|
247
|
+
RDF::URI.new("http://www.genedb.org/genedb/Search?organism=glossina&name=")
|
248
|
+
end
|
249
|
+
|
250
|
+
# Returns the link-out URI for objects of "Leishmania major GeneDB".
|
251
|
+
def self.GeneDB_Lmajor
|
252
|
+
RDF::URI.new("http://www.genedb.org/genedb/Search?organism=leish&name=")
|
253
|
+
end
|
254
|
+
|
255
|
+
# Returns the link-out URI for objects of "Plasmodium falciparum GeneDB".
|
256
|
+
def self.GeneDB_Pfalciparum
|
257
|
+
RDF::URI.new("http://www.genedb.org/genedb/Search?organism=malaria&name=")
|
258
|
+
end
|
259
|
+
|
260
|
+
# Returns the link-out URI for objects of "Schizosaccharomyces pombe GeneDB".
|
261
|
+
def self.GeneDB_Spombe
|
262
|
+
RDF::URI.new("http://old.genedb.org/genedb/Search?organism=pombe&name=")
|
263
|
+
end
|
264
|
+
|
265
|
+
# Returns the link-out URI for objects of "Trypanosoma brucei GeneDB".
|
266
|
+
def self.GeneDB_Tbrucei
|
267
|
+
RDF::URI.new("http://www.genedb.org/genedb/Search?organism=tryp&name=")
|
268
|
+
end
|
269
|
+
|
270
|
+
# Returns the link-out URI for objects of "NCBI Gene Expression Omnibus".
|
271
|
+
def self.GEO
|
272
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/sites/GDSbrowser?acc=")
|
273
|
+
end
|
274
|
+
|
275
|
+
# Returns the link-out URI for objects of "Gene Ontology Database".
|
276
|
+
def self.GO
|
277
|
+
RDF::URI.new("http://amigo.geneontology.org/cgi-bin/amigo/term-details.cgi?term=GO:")
|
278
|
+
end
|
279
|
+
|
280
|
+
# Returns the link-out URI for objects of "Gene Ontology Database references".
|
281
|
+
def self.GO_REF
|
282
|
+
RDF::URI.new("http://www.geneontology.org/cgi-bin/references.cgi#GO_REF:")
|
283
|
+
end
|
284
|
+
|
285
|
+
# Returns the link-out URI for objects of "Gene Ontology Normal Usage Tracking System (GONUTS)".
|
286
|
+
def self.GONUTS
|
287
|
+
RDF::URI.new("http://gowiki.tamu.edu/wiki/index.php/")
|
288
|
+
end
|
289
|
+
|
290
|
+
# Returns the link-out URI for objects of "Gramene: A Comparative Mapping Resource for Grains".
|
291
|
+
def self.GR
|
292
|
+
RDF::URI.new("http://www.gramene.org/db/searches/browser?search_type=All&RGN=on&query=")
|
293
|
+
end
|
294
|
+
|
295
|
+
# Returns the link-out URI for objects of "Gramene: A Comparative Mapping Resource for Grains".
|
296
|
+
def self.GR_GENE
|
297
|
+
RDF::URI.new("http://www.gramene.org/db/genes/search_gene?acc=")
|
298
|
+
end
|
299
|
+
|
300
|
+
# Returns the link-out URI for objects of "Gramene: A Comparative Mapping Resource for Grains".
|
301
|
+
def self.GR_PROTEIN
|
302
|
+
RDF::URI.new("http://www.gramene.org/db/protein/protein_search?acc=")
|
303
|
+
end
|
304
|
+
|
305
|
+
# Returns the link-out URI for objects of "Gramene: A Comparative Mapping Resource for Grains".
|
306
|
+
def self.GR_QTL
|
307
|
+
RDF::URI.new("http://www.gramene.org/db/qtl/qtl_display?qtl_accession_id=")
|
308
|
+
end
|
309
|
+
|
310
|
+
# Returns the link-out URI for objects of "Gramene: A Comparative Mapping Resource for Grains".
|
311
|
+
def self.GR_REF
|
312
|
+
RDF::URI.new("http://www.gramene.org/db/literature/pub_search?ref_id=")
|
313
|
+
end
|
314
|
+
|
315
|
+
# Returns the link-out URI for objects of "H-invitational Database".
|
316
|
+
def self.H_invDB_cDNA
|
317
|
+
RDF::URI.new("http://www.h-invitational.jp/hinv/spsoup/transcript_view?acc_id=")
|
318
|
+
end
|
319
|
+
|
320
|
+
# Returns the link-out URI for objects of "H-invitational Database".
|
321
|
+
def self.H_invDB_locus
|
322
|
+
RDF::URI.new("http://www.h-invitational.jp/hinv/spsoup/locus_view?hix_id=")
|
323
|
+
end
|
324
|
+
|
325
|
+
# Returns the link-out URI for objects of "High-quality Automated and Manual Annotation of microbial Proteomes".
|
326
|
+
def self.HAMAP
|
327
|
+
RDF::URI.new("http://us.expasy.org/unirules/")
|
328
|
+
end
|
329
|
+
|
330
|
+
# Returns the link-out URI for objects of "HUGO Gene Nomenclature Committee".
|
331
|
+
def self.HGNC
|
332
|
+
RDF::URI.new("http://www.genenames.org/data/hgnc_data.php?hgnc_id=HGNC:")
|
333
|
+
end
|
334
|
+
|
335
|
+
# Returns the link-out URI for objects of "HUGO Gene Nomenclature Committee".
|
336
|
+
def self.HGNC_gene
|
337
|
+
RDF::URI.new("http://www.genenames.org/data/hgnc_data.php?app_sym=")
|
338
|
+
end
|
339
|
+
|
340
|
+
# Returns the link-out URI for objects of "Human Protein Atlas tissue profile information".
|
341
|
+
def self.HPA
|
342
|
+
RDF::URI.new("http://www.proteinatlas.org/tissue_profile.php?antibody_id=")
|
343
|
+
end
|
344
|
+
|
345
|
+
# Returns the link-out URI for objects of "Human Protein Atlas antibody information".
|
346
|
+
def self.HPA_antibody
|
347
|
+
RDF::URI.new("http://www.proteinatlas.org/antibody_info.php?antibody_id=")
|
348
|
+
end
|
349
|
+
|
350
|
+
# Returns the link-out URI for objects of "Integrated Microbial Genomes; JGI web site for genome annotation".
|
351
|
+
def self.IMG
|
352
|
+
RDF::URI.new("http://img.jgi.doe.gov/cgi-bin/pub/main.cgi?section=GeneDetail&page=geneDetail&gene_oid=")
|
353
|
+
end
|
354
|
+
|
355
|
+
# Returns the link-out URI for objects of "IntAct protein interaction database".
|
356
|
+
def self.IntAct
|
357
|
+
RDF::URI.new("http://www.ebi.ac.uk/intact/search/do/search?searchString=")
|
358
|
+
end
|
359
|
+
|
360
|
+
# Returns the link-out URI for objects of "InterPro database of protein domains and motifs".
|
361
|
+
def self.InterPro
|
362
|
+
RDF::URI.new("http://www.ebi.ac.uk/interpro/IEntry?ac=")
|
363
|
+
end
|
364
|
+
|
365
|
+
# Returns the link-out URI for objects of "International Standard Book Number".
|
366
|
+
def self.ISBN
|
367
|
+
RDF::URI.new("http://my.linkbaton.com/get?lbCC=q&nC=q&genre=book&item=")
|
368
|
+
end
|
369
|
+
|
370
|
+
# Returns the link-out URI for objects of "International Union of Pharmacology".
|
371
|
+
def self.IUPHAR_GPCR
|
372
|
+
RDF::URI.new("http://www.iuphar-db.org/DATABASE/FamilyMenuForward?familyId=")
|
373
|
+
end
|
374
|
+
|
375
|
+
# Returns the link-out URI for objects of "International Union of Pharmacology".
|
376
|
+
def self.IUPHAR_RECEPTOR
|
377
|
+
RDF::URI.new("http://www.iuphar-db.org/DATABASE/ObjectDisplayForward?objectId=")
|
378
|
+
end
|
379
|
+
|
380
|
+
# Returns the link-out URI for objects of "Comprehensive Microbial Resource at the J. Craig Venter Institute".
|
381
|
+
def self.JCVI_CMR
|
382
|
+
RDF::URI.new("http://cmr.jcvi.org/cgi-bin/CMR/shared/GenePage.cgi?locus=")
|
383
|
+
end
|
384
|
+
|
385
|
+
# Returns the link-out URI for objects of "Comprehensive Microbial Resource at the J. Craig Venter Institute".
|
386
|
+
def self.JCVI_EGAD
|
387
|
+
RDF::URI.new("http://cmr.jcvi.org/cgi-bin/CMR/EgadSearch.cgi?search_string=")
|
388
|
+
end
|
389
|
+
|
390
|
+
# Returns the link-out URI for objects of "Genome Properties database at the J. Craig Venter Institute".
|
391
|
+
def self.JCVI_GenProp
|
392
|
+
RDF::URI.new("http://cmr.jcvi.org/cgi-bin/CMR/shared/GenomePropDefinition.cgi?prop_acc=")
|
393
|
+
end
|
394
|
+
|
395
|
+
# Returns the link-out URI for objects of "Medicago truncatula genome database at the J. Craig Venter Institute ".
|
396
|
+
def self.JCVI_Medtr
|
397
|
+
RDF::URI.new("http://medicago.jcvi.org/cgi-bin/medicago/search/shared/ORF_infopage.cgi?orf=")
|
398
|
+
end
|
399
|
+
|
400
|
+
# Returns the link-out URI for objects of "TIGRFAMs HMM collection at the J. Craig Venter Institute".
|
401
|
+
def self.JCVI_TIGRFAMS
|
402
|
+
RDF::URI.new("http://search.jcvi.org/search?p&q=")
|
403
|
+
end
|
404
|
+
|
405
|
+
# Returns the link-out URI for objects of "Digital archive of scholarly articles".
|
406
|
+
def self.JSTOR
|
407
|
+
RDF::URI.new("http://www.jstor.org/stable/")
|
408
|
+
end
|
409
|
+
|
410
|
+
# Returns the link-out URI for objects of "KEGG Enzyme Database".
|
411
|
+
def self.KEGG_ENZYME
|
412
|
+
RDF::URI.new("http://www.genome.jp/dbget-bin/www_bget?ec:")
|
413
|
+
end
|
414
|
+
|
415
|
+
# Returns the link-out URI for objects of "KEGG LIGAND Database".
|
416
|
+
def self.KEGG_LIGAND
|
417
|
+
RDF::URI.new("http://www.genome.jp/dbget-bin/www_bget?cpd:")
|
418
|
+
end
|
419
|
+
|
420
|
+
# Returns the link-out URI for objects of "KEGG Pathways Database".
|
421
|
+
def self.KEGG_PATHWAY
|
422
|
+
RDF::URI.new("http://www.genome.jp/dbget-bin/www_bget?path:")
|
423
|
+
end
|
424
|
+
|
425
|
+
# Returns the link-out URI for objects of "KEGG Reaction Database".
|
426
|
+
def self.KEGG_REACTION
|
427
|
+
RDF::URI.new("http://www.genome.jp/dbget-bin/www_bget?rn:")
|
428
|
+
end
|
429
|
+
|
430
|
+
# Returns the link-out URI for objects of "LifeDB".
|
431
|
+
def self.LIFEdb
|
432
|
+
RDF::URI.new("http://www.dkfz.de/LIFEdb/LIFEdb.aspx?ID=")
|
433
|
+
end
|
434
|
+
|
435
|
+
# Returns the link-out URI for objects of "Adult Mouse Anatomical Dictionary".
|
436
|
+
def self.MA
|
437
|
+
RDF::URI.new("http://www.informatics.jax.org/searches/AMA.cgi?id=MA:")
|
438
|
+
end
|
439
|
+
|
440
|
+
# Returns the link-out URI for objects of "MaizeGDB".
|
441
|
+
def self.MaizeGDB
|
442
|
+
RDF::URI.new("http://www.maizegdb.org/cgi-bin/id_search.cgi?id=")
|
443
|
+
end
|
444
|
+
|
445
|
+
# Returns the link-out URI for objects of "MaizeGDB".
|
446
|
+
def self.MaizeGDB_Locus
|
447
|
+
RDF::URI.new("http://www.maizegdb.org/cgi-bin/displaylocusresults.cgi?term=")
|
448
|
+
end
|
449
|
+
|
450
|
+
# Returns the link-out URI for objects of "MEROPS peptidase database".
|
451
|
+
def self.MEROPS
|
452
|
+
RDF::URI.new("http://merops.sanger.ac.uk/cgi-bin/pepsum?mid=")
|
453
|
+
end
|
454
|
+
|
455
|
+
# Returns the link-out URI for objects of "MEROPS peptidase database".
|
456
|
+
def self.MEROPS_fam
|
457
|
+
RDF::URI.new("http://merops.sanger.ac.uk/cgi-bin/famsum?family=")
|
458
|
+
end
|
459
|
+
|
460
|
+
# Returns the link-out URI for objects of "Medical Subject Headings".
|
461
|
+
def self.MeSH
|
462
|
+
RDF::URI.new("http://www.nlm.nih.gov/cgi/mesh/2005/MB_cgi?mode=&term=")
|
463
|
+
end
|
464
|
+
|
465
|
+
# Returns the link-out URI for objects of "Metabolic Encyclopedia of metabolic and other pathways".
|
466
|
+
def self.MetaCyc
|
467
|
+
RDF::URI.new("http://biocyc.org/META/NEW-IMAGE?type=NIL&object=")
|
468
|
+
end
|
469
|
+
|
470
|
+
# Returns the link-out URI for objects of "Mouse Genome Informatics".
|
471
|
+
def self.MGI
|
472
|
+
RDF::URI.new("http://www.informatics.jax.org/accession/")
|
473
|
+
end
|
474
|
+
|
475
|
+
# Returns the link-out URI for objects of "MIPS Functional Catalogue".
|
476
|
+
def self.MIPS_funcat
|
477
|
+
RDF::URI.new("http://mips.gsf.de/cgi-bin/proj/funcatDB/search_advanced.pl?action=2&wert=")
|
478
|
+
end
|
479
|
+
|
480
|
+
# Returns the link-out URI for objects of "MGED Ontology".
|
481
|
+
def self.MO
|
482
|
+
RDF::URI.new("http://mged.sourceforge.net/ontologies/MGEDontology.php#")
|
483
|
+
end
|
484
|
+
|
485
|
+
# Returns the link-out URI for objects of "ModBase comprehensive Database of Comparative Protein Structure Models".
|
486
|
+
def self.ModBase
|
487
|
+
RDF::URI.new("http://salilab.org/modbase/searchbyid?databaseID=")
|
488
|
+
end
|
489
|
+
|
490
|
+
# Returns the link-out URI for objects of "Nottingham Arabidopsis Stock Centre Seeds Database".
|
491
|
+
def self.NASC_code
|
492
|
+
RDF::URI.new("http://seeds.nottingham.ac.uk/NASC/stockatidb.lasso?code=")
|
493
|
+
end
|
494
|
+
|
495
|
+
# Returns the link-out URI for objects of "NCBI Gene".
|
496
|
+
def self.NCBI_Gene
|
497
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=Retrieve&db=gene&list_uids=")
|
498
|
+
end
|
499
|
+
|
500
|
+
# Returns the link-out URI for objects of "NCBI databases".
|
501
|
+
def self.NCBI_gi
|
502
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?val=")
|
503
|
+
end
|
504
|
+
|
505
|
+
# Returns the link-out URI for objects of "NCBI GenPept".
|
506
|
+
def self.NCBI_GP
|
507
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?db=protein&val=")
|
508
|
+
end
|
509
|
+
|
510
|
+
# Returns the link-out URI for objects of "Neuroscience Information Framework standard ontology, subcellular hierarchy".
|
511
|
+
def self.NIF_Subcellular
|
512
|
+
RDF::URI.new("http://www.neurolex.org/wiki/")
|
513
|
+
end
|
514
|
+
|
515
|
+
# Returns the link-out URI for objects of "National Microbial Pathogen Data Resource".
|
516
|
+
def self.NMPDR
|
517
|
+
RDF::URI.new("http://www.nmpdr.org/linkin.cgi?id=")
|
518
|
+
end
|
519
|
+
|
520
|
+
# Returns the link-out URI for objects of "Mendelian Inheritance in Man".
|
521
|
+
def self.OMIM
|
522
|
+
RDF::URI.new("http://omim.org/entry/")
|
523
|
+
end
|
524
|
+
|
525
|
+
# Returns the link-out URI for objects of "Genome Annotation Tool (Agrobacterium tumefaciens C58); PAMGO Interest Group".
|
526
|
+
def self.PAMGO_GAT
|
527
|
+
RDF::URI.new("http://agro.vbi.vt.edu/public/servlet/GeneEdit?&Search=Search&level=2&genename=")
|
528
|
+
end
|
529
|
+
|
530
|
+
# Returns the link-out URI for objects of "Magnaporthe grisea database".
|
531
|
+
def self.PAMGO_MGG
|
532
|
+
RDF::URI.new("http://scotland.fgl.ncsu.edu/cgi-bin/adHocQuery.cgi?adHocQuery_dbName=smeng_goannotation&Action=Data&QueryName=Functional+Categorization+of+MGG+GO+Annotation&P_KeyWord=")
|
533
|
+
end
|
534
|
+
|
535
|
+
# Returns the link-out URI for objects of "Virginia Bioinformatics Institute Microbial Database".
|
536
|
+
def self.PAMGO_VMD
|
537
|
+
RDF::URI.new("http://vmd.vbi.vt.edu/cgi-bin/browse/go_detail.cgi?gene_id=")
|
538
|
+
end
|
539
|
+
|
540
|
+
# Returns the link-out URI for objects of "Protein ANalysis THrough Evolutionary Relationships".
|
541
|
+
def self.PANTHER
|
542
|
+
RDF::URI.new("http://pantree.org/node/annotationNode.jsp?id=")
|
543
|
+
end
|
544
|
+
|
545
|
+
# Returns the link-out URI for objects of "PathoSystems Resource Integration Center".
|
546
|
+
def self.PATRIC
|
547
|
+
RDF::URI.new("http://patric.vbi.vt.edu/gene/overview.php?fid=")
|
548
|
+
end
|
549
|
+
|
550
|
+
# Returns the link-out URI for objects of "Protein Data Bank".
|
551
|
+
def self.PDB
|
552
|
+
RDF::URI.new("http://www.rcsb.org/pdb/cgi/explore.cgi?pdbId=")
|
553
|
+
end
|
554
|
+
|
555
|
+
# Returns the link-out URI for objects of "Pfam database of protein families".
|
556
|
+
def self.Pfam
|
557
|
+
RDF::URI.new("http://www.sanger.ac.uk/cgi-bin/Pfam/getacc?")
|
558
|
+
end
|
559
|
+
|
560
|
+
# Returns the link-out URI for objects of "Pharmacogenetics and Pharmacogenomics Knowledge Base".
|
561
|
+
def self.PharmGKB
|
562
|
+
RDF::URI.new("http://www.pharmgkb.org/do/serve?objId=")
|
563
|
+
end
|
564
|
+
|
565
|
+
# Returns the link-out URI for objects of "Protein Information Resource".
|
566
|
+
def self.PIR
|
567
|
+
RDF::URI.new("http://pir.georgetown.edu/cgi-bin/pirwww/nbrfget?uid=")
|
568
|
+
end
|
569
|
+
|
570
|
+
# Returns the link-out URI for objects of "PIR Superfamily Classification System".
|
571
|
+
def self.PIRSF
|
572
|
+
RDF::URI.new("http://pir.georgetown.edu/cgi-bin/ipcSF?id=")
|
573
|
+
end
|
574
|
+
|
575
|
+
# Returns the link-out URI for objects of "Pubmed Central".
|
576
|
+
def self.PMCID
|
577
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/sites/entrez?db=pmc&cmd=search&term=")
|
578
|
+
end
|
579
|
+
|
580
|
+
# Returns the link-out URI for objects of "PubMed".
|
581
|
+
def self.PMID
|
582
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/pubmed/")
|
583
|
+
end
|
584
|
+
|
585
|
+
# Returns the link-out URI for objects of "Plant Ontology Consortium Database".
|
586
|
+
def self.PO
|
587
|
+
RDF::URI.new("http://www.plantontology.org/amigo/go.cgi?action=query&view=query&search_constraint=terms&query=PO:")
|
588
|
+
end
|
589
|
+
|
590
|
+
# Returns the link-out URI for objects of "Plant Ontology custom references".
|
591
|
+
def self.PO_REF
|
592
|
+
RDF::URI.new("http://wiki.plantontology.org:8080/index.php/PO_REF:")
|
593
|
+
end
|
594
|
+
|
595
|
+
# Returns the link-out URI for objects of "PomBase".
|
596
|
+
def self.PomBase
|
597
|
+
RDF::URI.new("http://www.pombase.org/spombe/result/")
|
598
|
+
end
|
599
|
+
|
600
|
+
# Returns the link-out URI for objects of "Protein Ontology".
|
601
|
+
def self.PR
|
602
|
+
RDF::URI.new("http://www.proconsortium.org/cgi-bin/pro/entry_pro?id=PR:")
|
603
|
+
end
|
604
|
+
|
605
|
+
# Returns the link-out URI for objects of "PRINTS compendium of protein fingerprints".
|
606
|
+
def self.PRINTS
|
607
|
+
RDF::URI.new("http://www.bioinf.manchester.ac.uk/cgi-bin/dbbrowser/sprint/searchprintss.cgi?display_opts=Prints&category=None&queryform=false®expr=off&prints_accn=")
|
608
|
+
end
|
609
|
+
|
610
|
+
# Returns the link-out URI for objects of "ProDom protein domain families".
|
611
|
+
def self.ProDom
|
612
|
+
RDF::URI.new("http://prodom.prabi.fr/prodom/current/cgi-bin/request.pl?question=DBEN&query=")
|
613
|
+
end
|
614
|
+
|
615
|
+
# Returns the link-out URI for objects of "Prosite database of protein families and domains".
|
616
|
+
def self.Prosite
|
617
|
+
RDF::URI.new("http://www.expasy.ch/cgi-bin/prosite-search-ac?")
|
618
|
+
end
|
619
|
+
|
620
|
+
# Returns the link-out URI for objects of "Pseudomonas Genome Project".
|
621
|
+
def self.PseudoCAP
|
622
|
+
RDF::URI.new("http://v2.pseudomonas.com/getAnnotation.do?locusID=")
|
623
|
+
end
|
624
|
+
|
625
|
+
# Returns the link-out URI for objects of "Proteomics Standards Initiative protein modification ontology".
|
626
|
+
def self.PSI_MOD
|
627
|
+
RDF::URI.new("http://www.ebi.ac.uk/ontology-lookup/?termId=MOD:")
|
628
|
+
end
|
629
|
+
|
630
|
+
# Returns the link-out URI for objects of "NCBI PubChem database of bioassay records".
|
631
|
+
def self.PubChem_BioAssay
|
632
|
+
RDF::URI.new("http://pubchem.ncbi.nlm.nih.gov/assay/assay.cgi?aid=")
|
633
|
+
end
|
634
|
+
|
635
|
+
# Returns the link-out URI for objects of "NCBI PubChem database of chemical structures".
|
636
|
+
def self.PubChem_Compound
|
637
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?CMD=search&DB=pccompound&term=")
|
638
|
+
end
|
639
|
+
|
640
|
+
# Returns the link-out URI for objects of "NCBI PubChem database of chemical substances".
|
641
|
+
def self.PubChem_Substance
|
642
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?CMD=search&DB=pcsubstance&term=")
|
643
|
+
end
|
644
|
+
|
645
|
+
# Returns the link-out URI for objects of "Reactome - a curated knowledgebase of biological pathways".
|
646
|
+
def self.Reactome
|
647
|
+
RDF::URI.new("http://www.reactome.org/cgi-bin/eventbrowser_st_id?ST_ID=")
|
648
|
+
end
|
649
|
+
|
650
|
+
# Returns the link-out URI for objects of "RefSeq".
|
651
|
+
def self.RefSeq
|
652
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?val=")
|
653
|
+
end
|
654
|
+
|
655
|
+
# Returns the link-out URI for objects of "RefSeq (Nucleic Acid)".
|
656
|
+
def self.RefSeq_NA
|
657
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?val=")
|
658
|
+
end
|
659
|
+
|
660
|
+
# Returns the link-out URI for objects of "RefSeq (Protein)".
|
661
|
+
def self.RefSeq_Prot
|
662
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?val=")
|
663
|
+
end
|
664
|
+
|
665
|
+
# Returns the link-out URI for objects of "Rfam database of RNA families".
|
666
|
+
def self.Rfam
|
667
|
+
RDF::URI.new("http://rfam.sanger.ac.uk/family/")
|
668
|
+
end
|
669
|
+
|
670
|
+
# Returns the link-out URI for objects of "Rat Genome Database".
|
671
|
+
def self.RGD
|
672
|
+
RDF::URI.new("http://rgd.mcw.edu/generalSearch/RgdSearch.jsp?quickSearch=1&searchKeyword=")
|
673
|
+
end
|
674
|
+
|
675
|
+
# Returns the link-out URI for objects of "Rhea, the Annotated Reactions Database".
|
676
|
+
def self.RHEA
|
677
|
+
RDF::URI.new("http://www.ebi.ac.uk/rhea/reaction.xhtml?id=")
|
678
|
+
end
|
679
|
+
|
680
|
+
# Returns the link-out URI for objects of "RNA Modification Database".
|
681
|
+
def self.RNAmods
|
682
|
+
RDF::URI.new("http://s59.cas.albany.edu/RNAmods/cgi-bin/rnashow.cgi?")
|
683
|
+
end
|
684
|
+
|
685
|
+
# Returns the link-out URI for objects of "OBO Relation Ontology Ontology".
|
686
|
+
def self.RO
|
687
|
+
RDF::URI.new("http://purl.obolibrary.org/obo/RO_")
|
688
|
+
end
|
689
|
+
|
690
|
+
# Returns the link-out URI for objects of "SABIO Reaction Kinetics".
|
691
|
+
def self.SABIO_RK
|
692
|
+
RDF::URI.new("http://sabio.villa-bosch.de/reacdetails.jsp?reactid=")
|
693
|
+
end
|
694
|
+
|
695
|
+
# Returns the link-out URI for objects of "The SEED;".
|
696
|
+
def self.SEED
|
697
|
+
RDF::URI.new("http://www.theseed.org/linkin.cgi?id=")
|
698
|
+
end
|
699
|
+
|
700
|
+
# Returns the link-out URI for objects of "Saccharomyces Genome Database".
|
701
|
+
def self.SGD
|
702
|
+
RDF::URI.new("http://db.yeastgenome.org/cgi-bin/locus.pl?dbid=")
|
703
|
+
end
|
704
|
+
|
705
|
+
# Returns the link-out URI for objects of "Saccharomyces Genome Database".
|
706
|
+
def self.SGD_LOCUS
|
707
|
+
RDF::URI.new("http://db.yeastgenome.org/cgi-bin/locus.pl?locus=")
|
708
|
+
end
|
709
|
+
|
710
|
+
# Returns the link-out URI for objects of "Saccharomyces Genome Database".
|
711
|
+
def self.SGD_REF
|
712
|
+
RDF::URI.new("http://db.yeastgenome.org/cgi-bin/reference/reference.pl?dbid=")
|
713
|
+
end
|
714
|
+
|
715
|
+
# Returns the link-out URI for objects of "Sol Genomics Network".
|
716
|
+
def self.SGN
|
717
|
+
RDF::URI.new("http://www.sgn.cornell.edu/phenome/locus_display.pl?locus_id=")
|
718
|
+
end
|
719
|
+
|
720
|
+
# Returns the link-out URI for objects of "Sol Genomics Network".
|
721
|
+
def self.SGN_ref
|
722
|
+
RDF::URI.new("http://www.sgn.cornell.edu/chado/publication.pl?pub_id=")
|
723
|
+
end
|
724
|
+
|
725
|
+
# Returns the link-out URI for objects of "Simple Modular Architecture Research Tool".
|
726
|
+
def self.SMART
|
727
|
+
RDF::URI.new("http://smart.embl-heidelberg.de/smart/do_annotation.pl?BLAST=DUMMY&DOMAIN=")
|
728
|
+
end
|
729
|
+
|
730
|
+
# Returns the link-out URI for objects of "Sequence Ontology".
|
731
|
+
def self.SO
|
732
|
+
RDF::URI.new("http://song.sourceforge.net/SOterm_tables.html#SO:")
|
733
|
+
end
|
734
|
+
|
735
|
+
# Returns the link-out URI for objects of "SUPERFAMILY protein annotation database".
|
736
|
+
def self.SUPERFAMILY
|
737
|
+
RDF::URI.new("http://supfam.cs.bris.ac.uk/SUPERFAMILY/cgi-bin/scop.cgi?ipid=SSF")
|
738
|
+
end
|
739
|
+
|
740
|
+
# Returns the link-out URI for objects of "UniProtKB/Swiss-Prot".
|
741
|
+
def self.Swiss_Prot
|
742
|
+
RDF::URI.new("http://www.uniprot.org/uniprot/")
|
743
|
+
end
|
744
|
+
|
745
|
+
# Returns the link-out URI for objects of "The Arabidopsis Information Resource".
|
746
|
+
def self.TAIR
|
747
|
+
RDF::URI.new("http://arabidopsis.org/servlets/TairObject?accession=")
|
748
|
+
end
|
749
|
+
|
750
|
+
# Returns the link-out URI for objects of "NCBI Taxonomy".
|
751
|
+
def self.taxon
|
752
|
+
RDF::URI.new("http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=")
|
753
|
+
end
|
754
|
+
|
755
|
+
# Returns the link-out URI for objects of "Transport Protein Database".
|
756
|
+
def self.TC
|
757
|
+
RDF::URI.new("http://www.tcdb.org/tcdb/index.php?tc=")
|
758
|
+
end
|
759
|
+
|
760
|
+
# Returns the link-out URI for objects of "Tetrahymena Genome Database".
|
761
|
+
def self.TGD_LOCUS
|
762
|
+
RDF::URI.new("http://db.ciliate.org/cgi-bin/locus.pl?locus=")
|
763
|
+
end
|
764
|
+
|
765
|
+
# Returns the link-out URI for objects of "Tetrahymena Genome Database".
|
766
|
+
def self.TGD_REF
|
767
|
+
RDF::URI.new("http://db.ciliate.org/cgi-bin/reference/reference.pl?dbid=")
|
768
|
+
end
|
769
|
+
|
770
|
+
# Returns the link-out URI for objects of "UniProtKB-TrEMBL protein sequence database".
|
771
|
+
def self.TrEMBL
|
772
|
+
RDF::URI.new("http://www.uniprot.org/uniprot/")
|
773
|
+
end
|
774
|
+
|
775
|
+
# Returns the link-out URI for objects of "Uber-anatomy ontology".
|
776
|
+
def self.UBERON
|
777
|
+
RDF::URI.new("http://purl.obolibrary.org/obo/UBERON_")
|
778
|
+
end
|
779
|
+
|
780
|
+
# Returns the link-out URI for objects of "University of Minnesota Biocatalysis/Biodegradation Database".
|
781
|
+
def self.UM_BBD_enzymeID
|
782
|
+
RDF::URI.new("http://umbbd.msi.umn.edu/servlets/pageservlet?ptype=ep&enzymeID=")
|
783
|
+
end
|
784
|
+
|
785
|
+
# Returns the link-out URI for objects of "University of Minnesota Biocatalysis/Biodegradation Database".
|
786
|
+
def self.UM_BBD_reactionID
|
787
|
+
RDF::URI.new("http://umbbd.msi.umn.edu/servlets/pageservlet?ptype=r&reacID=")
|
788
|
+
end
|
789
|
+
|
790
|
+
# Returns the link-out URI for objects of "University of Minnesota Biocatalysis/Biodegradation Database".
|
791
|
+
def self.UM_BBD_ruleID
|
792
|
+
RDF::URI.new("http://umbbd.msi.umn.edu/servlets/rule.jsp?rule=")
|
793
|
+
end
|
794
|
+
|
795
|
+
# Returns the link-out URI for objects of "UniMod".
|
796
|
+
def self.UniMod
|
797
|
+
RDF::URI.new("http://www.unimod.org/modifications_view.php?editid1=")
|
798
|
+
end
|
799
|
+
|
800
|
+
# Returns the link-out URI for objects of "UniProt Archive".
|
801
|
+
def self.UniParc
|
802
|
+
RDF::URI.new("http://www.uniprot.org/uniparc/")
|
803
|
+
end
|
804
|
+
|
805
|
+
# Returns the link-out URI for objects of "UniPathway".
|
806
|
+
def self.UniPathway
|
807
|
+
RDF::URI.new("http://www.grenoble.prabi.fr/obiwarehouse/unipathway/upa?upid=")
|
808
|
+
end
|
809
|
+
|
810
|
+
# Returns the link-out URI for objects of "Universal Protein Knowledgebase".
|
811
|
+
def self.UniProtKB
|
812
|
+
RDF::URI.new("http://www.uniprot.org/uniprot/")
|
813
|
+
end
|
814
|
+
|
815
|
+
# Returns the link-out URI for objects of "UniProt Knowledgebase keywords".
|
816
|
+
def self.UniProtKB_KW
|
817
|
+
RDF::URI.new("http://www.uniprot.org/keywords/")
|
818
|
+
end
|
819
|
+
|
820
|
+
# Returns the link-out URI for objects of "UniProt Knowledgebase Subcellular Location vocabulary".
|
821
|
+
def self.UniProtKB_SubCell
|
822
|
+
RDF::URI.new("http://www.uniprot.org/locations/")
|
823
|
+
end
|
824
|
+
|
825
|
+
# Returns the link-out URI for objects of "Viral Bioinformatics Resource Center".
|
826
|
+
def self.VBRC
|
827
|
+
RDF::URI.new("http://vbrc.org/query.asp?web_id=VBRC:")
|
828
|
+
end
|
829
|
+
|
830
|
+
# Returns the link-out URI for objects of "Vertebrate Genome Annotation database".
|
831
|
+
def self.VEGA
|
832
|
+
RDF::URI.new("http://vega.sanger.ac.uk/perl/searchview?species=all&idx=All&q=")
|
833
|
+
end
|
834
|
+
|
835
|
+
# Returns the link-out URI for objects of "Virginia Bioinformatics Institute Microbial Database".
|
836
|
+
def self.VMD
|
837
|
+
RDF::URI.new("http://vmd.vbi.vt.edu/cgi-bin/browse/browserDetail_new.cgi?gene_id=")
|
838
|
+
end
|
839
|
+
|
840
|
+
# Returns the link-out URI for objects of "WormBase database of nematode biology".
|
841
|
+
def self.WB
|
842
|
+
RDF::URI.new("http://www.wormbase.org/db/gene/gene?name=")
|
843
|
+
end
|
844
|
+
|
845
|
+
# Returns the link-out URI for objects of "WormBase database of nematode biology".
|
846
|
+
def self.WB_REF
|
847
|
+
RDF::URI.new("http://www.wormbase.org/db/misc/paper?name=")
|
848
|
+
end
|
849
|
+
|
850
|
+
# Returns the link-out URI for objects of "Wikipedia".
|
851
|
+
def self.Wikipedia
|
852
|
+
RDF::URI.new("http://en.wikipedia.org/wiki/")
|
853
|
+
end
|
854
|
+
|
855
|
+
# Returns the link-out URI for objects of "Wormpep database of proteins of C. elegans".
|
856
|
+
def self.WP
|
857
|
+
RDF::URI.new("http://www.wormbase.org/db/get?class=Protein;name=WP:")
|
858
|
+
end
|
859
|
+
|
860
|
+
# Returns the link-out URI for objects of "Zebrafish Information Network".
|
861
|
+
def self.ZFIN
|
862
|
+
RDF::URI.new("http://zfin.org/cgi-bin/ZFIN_jump?record=")
|
863
|
+
end
|
864
|
+
|
865
|
+
end
|
866
|
+
|
867
|
+
end
|