-
Notifications
You must be signed in to change notification settings - Fork 1
/
rhea.yaml
671 lines (628 loc) · 16.6 KB
/
rhea.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
id: https://w3id.org/rhea
name: rhea-linkml
description: |-
Experimental alpha version of a rendering of Rhea as LinkML
For additional context, see [linkml-rhea docs](https://chemkg.github.io/linkml-rhea/home)
This schema should largely correspond one-to-one with classes and properties in Rhea.
Modifications:
* Added a AbstractReaction grouping
* prefixed properties directional/bidirectionalReaction with 'has'
- mkdocs requires case-insensitive names, so this avoids name clash with classes
- we retain the true rdf property as slot_uri
imports:
- linkml:types
prefixes:
rhea: http://rdf.rhea-db.org/
linkml: https://w3id.org/linkml/
chemrof: https://w3id.org/chemrof/
default_curi_maps:
- semweb_context
default_prefix: rhea
types:
Database identifier:
typeof: uriorcurie
CHEBI identifier:
typeof: Database identifier
pattern: "^CHEBI:\\d+$"
classes:
## generic/root
Class:
description: compounds and reactions are represented as classes in Rhea
slots:
- id
- comment
- type
- label
slot_usage: {}
class_uri: http://www.w3.org/2000/01/rdf-schema#Class
## Reactions
AbstractReaction:
abstract: true
is_a: Class
description: Grouping class for all three reaction forms
slots:
- status
- accession
- seeAlso
- isTransport
- isChemicallyBalanced
- citation
- htmlEquation
- equation
- subClassOf
slot_usage:
ec:
description: EC is always specified for unspecified direction
subClassOf:
range: AbstractReaction
Reaction:
is_a: AbstractReaction
aliases:
- direction neutral reaction
description: A chemical reaction, with unspecified direction.
slots:
- hasDirectionalReaction
- hasBidirectionalReaction
- side
- ec
slot_usage:
subClassOf:
range: Reaction
class_uri: http://rdf.rhea-db.org/Reaction
exact_mappings:
- chemrof:Reaction
DirectionalReaction:
is_a: AbstractReaction
description: A chemical reaction, with the direction specified by substrates and products.
slots:
- substrates
- products
slot_usage:
subClassOf:
range: DirectionalReaction
class_uri: http://rdf.rhea-db.org/DirectionalReaction
BidirectionalReaction:
is_a: AbstractReaction
description: A chemical reaction which can happen in one direction or the other, depending on the physiological conditions.
slots:
- substratesOrProducts
slot_usage:
subClassOf:
range: BidirectionalReaction
class_uri: http://rdf.rhea-db.org/BidirectionalReaction
ReactionParticipant:
is_a: Class
description: A reaction participant. Contained in a reaction side.
slots:
- compound
- location
slot_usage:
subClassOf:
range: Compound
class_uri: http://rdf.rhea-db.org/ReactionParticipant
exact_mappings:
- chemrof:ReactionParticipant
ReactionSide:
description: A reaction side in a chemical reaction. Contains one or more reaction participants.
slots:
- id
- contains
- transformableTo
- type
- curatedOrder
- contains1
- contains2
- contains4
- contains3
- contains6
- contains5
- contains8
- containsN
- contains7
- contains16
- contains9
- contains20
- contains11
- contains12
- containsNminus1
- contains2n
- contains10
- contains22
- contains24
- containsNplus1
- contains27
- contains18
- contains28
- contains32
- contains17
- contains13
- contains14
- contains40
- contains26
- contains21
- contains19
slot_usage: {}
class_uri: http://rdf.rhea-db.org/ReactionSide
ReactivePart:
is_a: Class
description: A reactive part in a generic compound, with a defined chemical structure. A subclass of a given ChEBI chemical entity.
slots:
- name
- charge
- chebi
- formula
- htmlName
- position
slot_usage:
subClassOf:
range: Compound
class_uri: http://rdf.rhea-db.org/ReactivePart
## compounds
Compound:
is_a: Class
description: A chemical compound
slots:
- name
- accession
- htmlName
- formula
slot_usage:
subClassOf:
range: Compound
class_uri: http://rdf.rhea-db.org/Compound
SmallMolecule:
is_a: Compound
description: A chemical compound that is a small molecule. A subclass of a given ChEBI chemical entity.
slots:
- chebi
- htmlName
- charge
- name
slot_usage:
subClassOf:
range: SmallMolecule
class_uri: http://rdf.rhea-db.org/SmallMolecule
GenericCompound:
is_a: Compound
description: A chemical compound whose complete chemical structure is not described. Have one or or more reactive part(s) with chemical structure(s).
slots:
- reactivePart
class_uri: http://rdf.rhea-db.org/GenericCompound
GenericPolynucleotide:
is_a: GenericCompound
description: A generic compound that is a polynucleotide. Have one or or more reactive part(s) with chemical structure(s).
class_uri: http://rdf.rhea-db.org/GenericPolynucleotide
GenericPolypeptide:
is_a: GenericCompound
description: A generic compound that is a polypeptide. Have one or or more reactive part(s) with chemical structure(s).
class_uri: http://rdf.rhea-db.org/GenericPolypeptide
Polymer:
is_a: Compound
description: A chemical compound that is a polymer. Described by a polymerization index, and an underlying polymer from ChEBI.
slots:
- charge
- underlyingChebi
- polymerizationIndex
slot_usage: {}
class_uri: http://rdf.rhea-db.org/Polymer
slots:
## generic/metadata
id:
identifier: true
range: uriorcurie
examples:
- value: http://rdf.rhea-db.org/Compound_12075
multivalued: true
slot_uri: http://rdf.rhea-db.org/id
name:
range: string
examples:
- value: beta-D-galactosyl-(1->4)-N-acetyl-beta-D-glucosaminyl-(1->3)-beta-D-galactosyl-(1->4)-[alpha-L-fucosyl-(1->3)]-N-acetyl-beta-D-glucosaminyl-(1->3)-beta-D-galactosyl-(1->4)-beta-D-glucosyl-(1<->1')-ceramide
slot_uri: http://rdf.rhea-db.org/name
exact_mappings:
- rdfs:label
accession:
range: Database identifier
examples:
- value: CHEBI:90358
slot_uri: http://rdf.rhea-db.org/accession
chebi:
range: string
examples:
- value: CHEBI_90358
slot_uri: http://rdf.rhea-db.org/chebi
htmlName:
range: string
examples:
- value: 700;)-ceramide
slot_uri: http://rdf.rhea-db.org/htmlName
status:
range: status_enum
examples:
- value: Approved
slot_uri: http://rdf.rhea-db.org/status
label:
range: string
examples:
- value: 3-(4-hydroxyphenyl)pyruvate + L-glutamate => 2-oxoglutarate + L-tyrosine
slot_uri: http://www.w3.org/2000/01/rdf-schema#label
seeAlso:
range: string
examples:
- value: R-HSA-517444.2
multivalued: true
slot_uri: http://www.w3.org/2000/01/rdf-schema#seeAlso
comment:
range: string
examples:
- value: RHEA:51568 part of RHEA:51564.
slot_uri: http://www.w3.org/2000/01/rdf-schema#comment
citation:
range: integer
examples:
- value: '10074065'
multivalued: true
slot_uri: http://rdf.rhea-db.org/citation
## relationships
type:
range: uriorcurie
slot_uri: http://www.w3.org/1999/02/22-rdf-syntax-ns#type
subClassOf:
range: Class
examples:
- value: CHEBI_90358
slot_uri: http://www.w3.org/2000/01/rdf-schema#subClassOf
## chemical
formula:
range: string
examples:
- value: C50H83N3O37R2
slot_uri: http://rdf.rhea-db.org/formula
charge:
range: integer
examples:
- value: '0'
slot_uri: http://rdf.rhea-db.org/charge
## reaction
equation:
range: string
examples:
- value: 3-(4-hydroxyphenyl)pyruvate + L-glutamate => 2-oxoglutarate + L-tyrosine
slot_uri: http://rdf.rhea-db.org/equation
htmlEquation:
range: string
examples:
- value: small>-tyrosine
slot_uri: http://rdf.rhea-db.org/htmlEquation
ec:
range: string
examples:
- value: 4.2.3.87
multivalued: true
slot_uri: http://rdf.rhea-db.org/ec
compound:
range: Compound
examples:
- value: Compound_1264
slot_uri: http://rdf.rhea-db.org/compound
location:
range: location_enum
examples:
- value: In
slot_uri: http://rdf.rhea-db.org/location
isTransport:
range: boolean
slot_uri: http://rdf.rhea-db.org/isTransport
isChemicallyBalanced:
range: boolean
slot_uri: http://rdf.rhea-db.org/isChemicallyBalanced
substratesOrProducts:
range: ReactionSide
examples:
- value: 49544_R|49544_L
multivalued: true
slot_uri: http://rdf.rhea-db.org/substratesOrProducts
substrates:
range: ReactionSide
examples:
- value: 15093_R
slot_uri: http://rdf.rhea-db.org/substrates
products:
range: ReactionSide
examples:
- value: 15093_L
slot_uri: http://rdf.rhea-db.org/products
side:
range: ReactionSide
examples:
- value: 28843_L|28843_R
multivalued: true
slot_uri: http://rdf.rhea-db.org/side
hasBidirectionalReaction:
range: BidirectionalReaction
examples:
- value: '28846'
slot_uri: http://rdf.rhea-db.org/bidirectionalReaction
hasDirectionalReaction:
range: DirectionalReaction
examples:
- value: 28844|28845
multivalued: true
slot_uri: http://rdf.rhea-db.org/directionalReaction
transformableTo:
range: ReactionSide
examples:
- value: 38219_L
slot_uri: http://rdf.rhea-db.org/transformableTo
curatedOrder:
range: integer
examples:
- value: '2'
slot_uri: http://rdf.rhea-db.org/curatedOrder
position:
range: integer
examples:
- value: '2457'
slot_uri: http://rdf.rhea-db.org/position
reactivePart:
range: string
examples:
- value: Compound_10195_rp1
multivalued: true
slot_uri: http://rdf.rhea-db.org/reactivePart
underlyingChebi:
range: CHEBI identifier
examples:
- value: CHEBI_131728
slot_uri: http://rdf.rhea-db.org/underlyingChebi
polymerizationIndex:
range: polymerizationIndex_enum
examples:
- value: n
slot_uri: http://rdf.rhea-db.org/polymerizationIndex
contains:
range: ReactionParticipant
examples:
- value: Participant_38219_compound_7375|Participant_38219_compound_1264
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains
contains1:
is_a: contains
range: string
examples:
- value: Participant_38219_compound_7375|Participant_38219_compound_1264
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains1
contains2:
is_a: contains
range: string
examples:
- value: Participant_33599_compound_10439
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains2
contains4:
is_a: contains
range: string
examples:
- value: Participant_56272_compound_12863
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains4
contains3:
is_a: contains
range: string
examples:
- value: Participant_58440_compound_6127
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains3
contains6:
is_a: contains
range: string
examples:
- value: Participant_40963_compound_1283
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains6
contains5:
is_a: contains
range: string
examples:
- value: Participant_56864_compound_5188
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains5
contains8:
is_a: contains
range: string
examples:
- value: Participant_58904_compound_2780
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains8
containsN:
is_a: contains
range: string
examples:
- value: Participant_58948_compound_2790
multivalued: true
slot_uri: http://rdf.rhea-db.org/containsN
contains7:
is_a: contains
range: string
examples:
- value: Participant_35179_compound_5125
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains7
contains16:
is_a: contains
range: string
examples:
- value: Participant_58904_compound_3438
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains16
contains9:
is_a: contains
range: string
examples:
- value: Participant_50352_compound_3249
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains9
contains20:
is_a: contains
range: string
examples:
- value: Participant_66812_compound_3249
slot_uri: http://rdf.rhea-db.org/contains20
contains11:
is_a: contains
range: string
examples:
- value: Participant_18565_compound_3438
slot_uri: http://rdf.rhea-db.org/contains11
contains12:
is_a: contains
range: string
examples:
- value: Participant_58944_compound_3249
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains12
containsNminus1:
is_a: contains
range: string
examples:
- value: Participant_23392_compound_1283
slot_uri: http://rdf.rhea-db.org/containsNminus1
contains2n:
is_a: contains
range: string
examples:
- value: Participant_20157_compound_3249|Participant_20157_compound_10350
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains2n
contains10:
is_a: contains
range: string
examples:
- value: Participant_27614_compound_2106
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains10
contains22:
is_a: contains
range: string
examples:
- value: Participant_58028_compound_3438
slot_uri: http://rdf.rhea-db.org/contains22
contains24:
is_a: contains
range: string
examples:
- value: Participant_58904_compound_3249
slot_uri: http://rdf.rhea-db.org/contains24
containsNplus1:
is_a: contains
range: string
examples:
- value: Participant_22452_compound_5518
slot_uri: http://rdf.rhea-db.org/containsNplus1
contains27:
is_a: contains
range: string
examples:
- value: Participant_50468_compound_3249
slot_uri: http://rdf.rhea-db.org/contains27
contains18:
is_a: contains
range: string
examples:
- value: Participant_15645_compound_3249
slot_uri: http://rdf.rhea-db.org/contains18
contains28:
is_a: contains
range: string
examples:
- value: Participant_34391_compound_3249|Participant_34391_compound_2692
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains28
contains32:
is_a: contains
range: string
examples:
- value: Participant_58028_compound_3249
slot_uri: http://rdf.rhea-db.org/contains32
contains17:
is_a: contains
range: string
examples:
- value: Participant_66808_compound_3249
slot_uri: http://rdf.rhea-db.org/contains17
contains13:
is_a: contains
range: string
examples:
- value: Participant_66812_compound_5188
slot_uri: http://rdf.rhea-db.org/contains13
contains14:
is_a: contains
range: string
examples:
- value: Participant_58908_compound_3438
slot_uri: http://rdf.rhea-db.org/contains14
contains40:
is_a: contains
range: string
examples:
- value: Participant_55540_compound_5518|Participant_55540_compound_2710
multivalued: true
slot_uri: http://rdf.rhea-db.org/contains40
contains26:
is_a: contains
range: string
examples:
- value: Participant_55540_compound_3249
slot_uri: http://rdf.rhea-db.org/contains26
contains21:
is_a: contains
range: string
examples:
- value: Participant_58908_compound_3249
slot_uri: http://rdf.rhea-db.org/contains21
contains19:
is_a: contains
range: string
examples:
- value: Participant_18565_compound_3249
slot_uri: http://rdf.rhea-db.org/contains19
enums:
location_enum:
permissible_values:
Out:
description: Out
meaning: http://rdf.rhea-db.org/Out
In:
description: In
meaning: http://rdf.rhea-db.org/In
status_enum:
permissible_values:
Approved:
description: Approved
meaning: http://rdf.rhea-db.org/Approved
Obsolete:
description: Obsolete
meaning: http://rdf.rhea-db.org/Obsolete
Preliminary:
description: Preliminary
meaning: http://rdf.rhea-db.org/Preliminary
polymerizationIndex_enum:
permissible_values:
n-2:
description: n-2
n+1:
description: n+1
n-3:
description: n-3
n-1:
description: n-1
n:
description: n
n-5:
description: n-5
n-4:
description: n-4
n+2:
description: n+2