-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathShrubDBD.xml
More file actions
1057 lines (1057 loc) · 53.4 KB
/
ShrubDBD.xml
File metadata and controls
1057 lines (1057 loc) · 53.4 KB
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
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<Database >
<Title>SEED Bioinformatics Database</Title>
<Notes>[p]The SEED database manages bio-informatics data imported from
exchange files. It contains information that can be used to derive
subsystem spreadsheets and support annotation of genomes. The
annotation is three-tiered: for each protein, we recognize a
[i]privileged[/i] annotation, which is curated by a human expert,
a [i]projected[/i] annotation which is computed by annotation software,
and a [i]non-priviliged[/i] annotation which is proposed by the
user
community.[/p]
[p]The diagram colors indicate the general category of data.[/p]
[list]
[b]Red[/b]
Genome group: includes all taxonomy and sequence data.[*]
[b]Blue[/b]
Annotation group: includes the subsystems and all the functions and
roles.[*]
[b]Green[/b] Feature group: includes features, protein sequences,
and related publications.[*]
[b]Navy[/b] Chemistry group: includes reactions and compounds.[*]
[b]Black[/b] Sampling group: includes samples and bins from the
Human Microbiome project.
[/list]
</Notes>
<Regions>
<Region name="Sampling">
<Notes>The Sampling region contains data relating to the binning and
analysis of metagenomic samples from the Human Microbiome project.</Notes>
</Region>
</Regions>
<Diagram height="800" width="800" ratio="0.7" size="90"
fontSize="12" editable="0" />
<Entities>
<Entity name="Genome" keyType="short-string" default="id name">
<DisplayInfo theme="red">
<RegionInfo name="" col="3" row="1" />
<RegionInfo name="Sampling" col="7" row="5" />
</DisplayInfo>
<Notes>A genome represents a specific organism with DNA, or a
specific meta-genome. All DNA sequences in the database belong to
genomes.
</Notes>
<Fields>
<Field name="core" type="boolean">
<Notes>TRUE if this is a core genome, else FALSE.
Annotation data is projected from core genomes.</Notes>
</Field>
<Field name="name" type="string">
<Notes>Full genus/species/strain name of the genome, occasionally
containing notes from the uploader.
</Notes>
</Field>
<Field name="dna-size" type="counter">
<Notes>Number of base pairs in the genome.</Notes>
</Field>
<Field name="contigs" type="int">
<Notes>Number of contigs for this genome.</Notes>
</Field>
<Field name="md5-identifier" type="short-string">
<Notes>MD5 identifier for this genome, for comparison with genomes
in other databases. The MD5 is computed by taking the MD5s of
the contigs, lexically sorting them, joining them together with
commas, and computing a hex MD5 of the result.
</Notes>
</Field>
<Field name="gc-content" type="float">
<Notes>Percent GC content present in the genome's DNA.</Notes>
</Field>
<Field name="contig-file" type="long-string">
<Notes>Name of the file containing the genome's contig FASTA,
relative to the repository root.
</Notes>
</Field>
<Field name="prokaryotic" type="boolean">
<Notes>TRUE if this is a prokaryotic genome, else FALSE.</Notes>
</Field>
<Field name="domain" type="string">
<Notes>Domain for this genome-- Eukaryota, Archaea, Bacteria, etc.</Notes>
</Field>
<Field name="well-behaved" type="boolean">
<Notes>TRUE if this is a well-behaved genome (prokaryotic, nearly complete), else FALSE</Notes>
</Field>
<Field name="genetic-code" type="int">
<Notes>Genetic code for translating this genome's coding features to
proteins.</Notes>
</Field>
<Field name="longest-feature" type="int">
<Notes>Length of the longest feature in this genome, used to optimize
the genes-in-region function.</Notes>
</Field>
</Fields>
<Indexes>
<Index>
<Notes>This index allows searching for genomes by name.</Notes>
<IndexFields>
<IndexField name="name" order="ascending" />
</IndexFields>
</Index>
<Index>
<Notes>This index allows searching for genomes by MD5 identifier.
</Notes>
<IndexFields>
<IndexField name="md5-identifier" order="ascending" />
</IndexFields>
</Index>
<Index>
<Notes>This index presents the core genomes first in
sequence.</Notes>
<IndexFields>
<IndexField name="core" order="ascending" />
</IndexFields>
</Index>
</Indexes>
</Entity>
<Entity name="Contig" keyType="string" default="id length">
<DisplayInfo theme="red">
<RegionInfo name="" col="1" row="1" />
</DisplayInfo>
<Notes>A contig is a contiguous sequence of base pairs belonging to
a single genome. The key of the contig is the genome ID followed
by a colon and then the contig ID. The contig's DNA information is
located in a flat file on disk named "contigs.fa" in the
directory named by the parent genome.
</Notes>
<Fields>
<Field name="length" type="counter">
<Notes>Number of base pairs in the contig.</Notes>
</Field>
<Field name="md5-identifier" type="string">
<Notes>MD5 identifier of this contig, for comparison with contigs
in other databases. This is a standard hex MD5 of the contig
DNA sequence.
</Notes>
</Field>
</Fields>
<Indexes>
<Index>
<Notes>This index allows searching for contigs by MD5 identifier.
</Notes>
<IndexFields>
<IndexField name="md5-identifier" order="ascending" />
</IndexFields>
</Index>
</Indexes>
</Entity>
<Entity name="Feature" keyType="string" default="id">
<DisplayInfo theme="green">
<RegionInfo name="" col="3" row="3" />
</DisplayInfo>
<Notes>A feature (sometimes also called a gene) is a part of a
genome that is of special interest. Features may be spread across
multiple DNA sequences (contigs) of a genome, but never across more
than one genome. Each feature in the database has a unique FIG
ID that functions as its ID in this table.
</Notes>
<Fields>
<Field name="feature-type" type="short-string">
<Notes>Code indicating the type of this feature. Among the
codes currently supported are "peg" for a protein encoding
gene, "bs" for a binding site, "opr" for an operon, and so
forth.
</Notes>
</Field>
<Field name="sequence-length" type="counter">
<Notes>Number of base pairs in this feature.</Notes>
</Field>
<Field name="alias" type="string" relation="FeatureAlias">
<Notes>An alternative name for the feature. These are frequently
ambiguous or incomplete.
</Notes>
</Field>
<Field name="checksum" type="short-string">
<Notes>An MD5 checksum of the feature's original function when it was loaded.
This is used to compare it to the original data.</Notes>
</Field>
</Fields>
<Indexes>
<Index>
<Notes>This index is used to find a feature by alias name.</Notes>
<IndexFields>
<IndexField name="alias" order="ascending" />
</IndexFields>
</Index>
</Indexes>
</Entity>
<Entity name="Protein" keyType="short-string" default="id" engine="MyISAM" estimate="16000000">
<DisplayInfo theme="green">
<RegionInfo name="" col="1" row="3" />
</DisplayInfo>
<Notes>A protein sequence is a specific sequence of amino acids.
Unlike a DNA sequence, a protein sequence does not belong to a
genome. Identical proteins generated by different genomes are
stored as a single Protein instance. The key is a hex MD5
hash code computed from the protein letter sequence.
</Notes>
<Fields>
<Field name="sequence" type="text">
<Notes>The sequence contains the letters corresponding to
the protein's amino acids.
</Notes>
</Field>
</Fields>
</Entity>
<Entity name="TaxonomicGrouping" keyType="short-string" default="id scientific-name">
<DisplayInfo theme="red" caption="Taxonomic\nGrouping">
<RegionInfo name="Sampling" col="5" row="3" />
</DisplayInfo>
<Notes>A taxonomic grouping is a segment of the classification for
an organism. Taxonomic groupings are organized into a strict
hierarchy by the IsGroupContaining relationship.
</Notes>
<Fields>
<Field name="domain" type="boolean">
<Notes>TRUE if this is a domain grouping, else FALSE.</Notes>
</Field>
<Field name="hidden" type="boolean">
<Notes>TRUE if this is a hidden grouping, else FALSE. Hidden
groupings are not typically shown in a lineage list.
</Notes>
</Field>
<Field name="scientific-name" type="string">
<Notes>Primary scientific name for this grouping. This is the name
used when displaying a taxonomy.
</Notes>
</Field>
<Field name="type" type="short-string">
<Notes>Type of this taxonomic grouping (family, genus, order, etc.)</Notes>
</Field>
<Field name="alias" type="string" relation="TaxonomicGroupingAlias">
<Notes>Alternate name for this grouping. A grouping
may have many alternate names. The scientific name should also
be in this list.
</Notes>
</Field>
</Fields>
<Indexes>
<Index>
<Notes>This index allows the user to find a particular
taxonomic grouping by scientific name.
</Notes>
<IndexFields>
<IndexField name="scientific-name" order="ascending" />
</IndexFields>
</Index>
</Indexes>
</Entity>
<Entity name="Function" keyType="string" default="id description">
<DisplayInfo theme="blue">
<RegionInfo name="" row="7" col="3" />
<RegionInfo name="Sampling" row="7" col="3" />
</DisplayInfo>
<Notes>A function is a set of roles that represent the effects of a
protein. Most functions consist of a single role, but many can have two or three
roles. The key is the set of role IDs joined by the separator. Thus, a function
ID is directly computable from its role IDs.
</Notes>
<Fields>
<Field name="description" type="text">
<Notes>Text of the function, consisting of the roles strung together
in sequence with separator characters in between.</Notes>
</Field>
<Field name="sep" type="char">
<Notes>Separator character for this function's roles. [b]/[/b] for
multiple roles by different domains, [b]@[/b] for multiple
roles by the same domain, or [b];[/b] when the function performs
one of several roles but the precise one cannot be determined.
For a single-function role, a space is used. For a malformed
or hypothetical function (which has no roles) a hyphen is used.</Notes>
</Field>
<Field name="universal" type="boolean">
<Notes>TRUE if this function represents a universal protein, else FALSE</Notes>
</Field>
</Fields>
<Indexes>
<Index>
<Notes>This index is used to find the universal proteins.</Notes>
<IndexFields>
<IndexField name="universal" />
<IndexField name="id" />
</IndexFields>
</Index>
</Indexes>
</Entity>
<Entity name="Role" keyType="short-string" default="id description ec-number">
<DisplayInfo theme="blue">
<RegionInfo name="" row="7" col="5" />
</DisplayInfo>
<Notes>A role represents a single effect of a protein in a cell. The
fundamental purpose of annotation is to assign roles to proteins.
The collection of roles (often only one) associated with a protein
is the protein's function. Each role is assigned a short string key.
The key is a UUID.
</Notes>
<Fields>
<Field name="description" type="long-string">
<Notes>textual description of the role</Notes>
</Field>
<Field name="ec-number" type="string">
<Notes>EC number of this role (if any)</Notes>
</Field>
<Field name="tc-number" type="string">
<Notes>transporter classification of this role (if any)</Notes>
</Field>
<Field name="hypo" type="boolean">
<Notes>TRUE if this is a hypothetical role, else FALSE</Notes>
</Field>
<Field name="checksum" type="hash-string">
<Notes>Checksum for this role. The role is first normalized by converting
it to lower case and removing extra spaces, EC numbers, and TC numbers. Then
an MD5 is computed.</Notes>
</Field>
</Fields>
<Indexes>
<Index unique="1">
<Notes>This index allows searching for roles by the checksum string.</Notes>
<IndexFields>
<IndexField name="checksum" order="ascending" />
</IndexFields>
</Index>
<Index>
<Notes>This index allows searching through roles by EC number.
</Notes>
<IndexFields>
<IndexField name="ec-number" order="ascending" />
</IndexFields>
</Index>
<Index>
<Notes>This index allows searching through roles by TC number.
</Notes>
<IndexFields>
<IndexField name="tc-number" order="ascending" />
</IndexFields>
</Index>
<Index>
<Notes>This index allows searching through roles by text. It can be
used with LIKE-style queries to find similar roles.
</Notes>
<IndexFields>
<IndexField name="description" order="ascending" />
</IndexFields>
</Index>
</Indexes>
</Entity>
<Entity name="Subsystem" keyType="short-string" default="id name">
<DisplayInfo theme="blue">
<RegionInfo name="" col="7" row="3" />
</DisplayInfo>
<Notes>A subsystem is a collection of roles that work together in a
cell. Identification of subsystems is an important tool for
recognizing parallel genetic features in different organisms. The
key is a short string constructed from the original name.
</Notes>
<Fields>
<Field name="name" type="string">
<Notes>The readable name of the subsystem.</Notes>
<Asides>The subsystem name used to come in two forms-- a natural form
with spaces and an internal form with underscores. In this database
we will only have the natural form.
</Asides>
</Field>
<Field name="privileged" type="boolean">
<Notes>TRUE if the subsystem can only be modified by privileged
users; FALSE if the subsystem can be modified by anyone.</Notes>
</Field>
<Field name="version" type="int">
<Notes>Version number for the subsystem. This value is
incremented each time the subsystem is backed up.
</Notes>
</Field>
<Field name="checksum" type="hash-string">
<Notes>Checksum for this subsystem, formed from the subsystem
name.</Notes>
</Field>
</Fields>
<Indexes>
<Index unique="1">
<Notes>This index allows the user to find the subsystem by name.
Note that no two subsystems can have the same name.
</Notes>
<IndexFields>
<IndexField name="name" order="ascending" />
</IndexFields>
</Index>
<Index unique="1">
<Notes>This index allows the user to find the subsystem by checksum.
</Notes>
<IndexFields>
<IndexField name="checksum" order="ascending" />
</IndexFields>
</Index>
</Indexes>
</Entity>
<Entity name="VariantMap" keyType="string" default="variant-code map">
<DisplayInfo theme="blue" caption="Variant\nMap">
<RegionInfo name="" col="7" row="5" />
</DisplayInfo>
<Notes>A variant map contains a string defining a set of roles that
represents an instance of a variant. Any genome that has all roles in
the set is considered a candidate for the subsystem variant. The
key is the subsystem ID followed by a colon and a unique identifying
number.</Notes>
<Fields>
<Field name="variant-code" type="string">
<Notes>the variant code indicating which form of the subsystem
is represented by this set of roles.
</Notes>
</Field>
<Field name="map" type="text">
<Notes>A space-delimited string consisting of a sorted list of
role IDs. A genome with all these roles is a candidate for the
identified variant.</Notes>
</Field>
<Field name="size" type="int">
<Notes>Number of roles in this map.</Notes>
</Field>
</Fields>
</Entity>
<Entity name="SubsystemRow" keyType="string" default="id variant-code">
<DisplayInfo theme="blue" caption="Subsystem\nRow">
<RegionInfo name="" col="5" row="1" />
</DisplayInfo>
<Notes>A subsystem row represents an implementation of a subsystem in a genome.
A genome could conceivably have more than one such implementation
The key is the subsystem ID followed by a colon and a unique identifying
number.
</Notes>
<Asides>A genome could have multiple instances of a subsystem either
because they are at different privilege levels (public, privileged,
or projects) or because the subsystem occurs in different regions of
the genome (as may be the case when an instance of the the subsystem
really belongs to a phage). Also note that vacant subsystem rows
(variant code -1 in SEED) are not stored in this database.</Asides>
<Fields>
<Field name="privilege" type="char">
<Notes>privilege level of the function assignments from which
the subsystem instance was constructed: 0 (public),
1 (projected), or 2 (privileged)</Notes>
</Field>
<Field name="needs-curation" type="boolean">
<Notes>TRUE if the subsystem row needs to be validated or
examined for errors. This flag is frequently set when
the subsystem row has recently been projected by an automated
program.</Notes>
</Field>
<Field name="variant-code" type="string">
<Notes>the variant code indicating which form of the subsystem
is represented by this row.
</Notes>
</Field>
</Fields>
</Entity>
<Entity name="SubsystemCell" keyType="string" default="id">
<DisplayInfo theme="blue" caption="Subsystem\nCell">
<RegionInfo name="" col="5" row="5" />
</DisplayInfo>
<Notes>A subsystem cell represents a single role in a subsystem row.
It contains one or more features from the row's genome. The key is
the row ID followed by a colon and the role abbreviation.
</Notes>
</Entity>
<Entity name="Complex" keyType="short-string" default="id">
<DisplayInfo theme="navy">
<RegionInfo name="" col="7" row="7" />
</DisplayInfo>
<Notes>A complex is a set of chemical reactions that act in concert to
effect a role.</Notes>
</Entity>
<Entity name="Reaction" keyType="short-string" default="id">
<DisplayInfo theme="navy">
<RegionInfo name="" col="5" row="9" />
</DisplayInfo>
<Notes>A reaction is a chemical process that converts one set of
compounds (substrate) to another set (products). The reaction ID is
generally a small number preceded by a letter. A reversible reaction
is entered as two separate reactions so that each direction can be
associated with the appropriate roles.</Notes>
<Fields>
<Field name="name" type="string">
<Notes>Common name of this reaction.</Notes>
</Field>
<Field name="direction" type="char">
<Notes>[b]>[/b] for a normal reaction, [b]<[/b] for a reverse reaction,
[b]=[/b] for a reversible reaction.</Notes>
</Field>
</Fields>
</Entity>
<Entity name="Pathway" keyType="string" default="id">
<DisplayInfo theme="navy">
<RegionInfo name="" col="3" row="9" />
</DisplayInfo>
<Notes>A pathway is a sequence of reactions that work together.</Notes>
<Fields>
<Field name="type" type="short-string">
<Notes>General type of the pathway, e.g. MetaCyc, KEGG.</Notes>
</Field>
</Fields>
</Entity>
<Entity name="Compound" keyType="string" default="id label">
<DisplayInfo theme="navy">
<RegionInfo name="" col="7" row="9"/>
</DisplayInfo>
<Notes>A compound is a chemical that participates in a reaction. All compounds
have a unique ID and may also have one or more names. Both ligands and
reaction components are treated as compounds.
</Notes>
<Fields>
<Field name="label" type="string">
<Notes>Primary name of the compound.</Notes>
</Field>
<Field name="formula" type="string">
<Notes>Formula used to write the compound in reactions.</Notes>
</Field>
<Field name="cofactor" type="boolean">
<Notes>TRUE if this compound is found in most reactions, else FALSE</Notes>
</Field>
</Fields>
<Indexes>
<Index>
<Notes>This index allows searching for compounds by name.</Notes>
<IndexFields>
<IndexField name="label" order="ascending"/>
</IndexFields>
</Index>
</Indexes>
</Entity>
<Entity name="Cluster" keyType="counter" default="id" autocounter="1">
<DisplayInfo theme="blue">
<RegionInfo name="" col="5" row="3" />
</DisplayInfo>
<Notes>A cluster is a set of features that belong to the same subsystem row and
are physically close together on the genome. Each cluster has an ID code.</Notes>
</Entity>
<Entity name="CddDomain" keyType="string" default="id">
<DisplayInfo theme="green" caption="CDD Domain">
<RegionInfo name="" col="1" row="7" />
</DisplayInfo>
<Notes>A domain is a protein domain from the Conserved Domain Database. The ID is the
CDD identifier.</Notes>
</Entity>
<Entity name="ProteinFamily" keyType="short-string" default="id">
<DisplayInfo theme="green" caption="Protein\nFamily">
<RegionInfo name="" col="2" row="5" />
</DisplayInfo>
<Notes>A protein family contains a set of proteins that perform the same function.</Notes>
</Entity>
<Entity name="SubsystemClass" keyType="string" default="id">
<DisplayInfo theme="blue" caption="Subsystem\nClass">
<RegionInfo name="" col="7" row="1" />
</DisplayInfo>
<Notes>A subsystem class defines a general category of subsystem.</Notes>
</Entity>
<Entity name="Site" keyType="string" default="id">
<DisplayInfo theme="black" caption="Site">
<RegionInfo name="Sampling" col="3" row="1" />
</DisplayInfo>
<Notes>A site represents a single type of location from which samples are taken. The
ID of the site is a mostly human-readable name.</Notes>
<Fields>
<Field name="description" type="long-string">
<Notes>Printable description of this site. This is frequently very similar to the key.</Notes>
</Field>
</Fields>
</Entity>
<Entity name="Sample" keyType="string" default="id">
<DisplayInfo theme="black" caption="Sample">
<RegionInfo name="Sampling" col="3" row="3" />
</DisplayInfo>
<Notes>A sample is a specific metagenomic sampling from a specific site. The ID is a
project prefix (e.g. "HMP" for the Human Microbiome Project) followed by a period
and the sample's ID within the project.</Notes>
<Fields>
<Field name="dna-size" type="counter">
<Notes>number of base pairs in the sample</Notes>
</Field>
<Field name="contigs" type="counter">
<Notes>number of contigs in the sample</Notes>
</Field>
<Field name="n50" type="counter">
<Notes>length of the contig at the median point in the total DNA of the sample</Notes>
</Field>
</Fields>
</Entity>
<Entity name="Bin" keyType="string" default="id">
<DisplayInfo theme="black" caption="Bin">
<RegionInfo name="Sampling" col="3" row="5" />
</DisplayInfo>
<Notes>A bin is a set of contigs believed to originate from a single clonal population.
It is associated with multiple reference genomes from a single genus, and a JSON-format
GenomeTypedObject that describes all the contigs and annotated features. The ID is the
sample ID followed by a dot and an index number.</Notes>
<Fields>
<Field name="contigs" type="counter">
<Notes>number of contigs placed in this bin</Notes>
</Field>
<Field name="dna-size" type="counter">
<Notes>number of base pairs placed in this bin</Notes>
</Field>
<Field name="uni-roles" type="counter">
<Notes>number of universal roles found in this bin</Notes>
</Field>
<Field name="description" type="string">
<Notes>displayable name of this bin</Notes>
</Field>
<Field name="gto-file-name" type="string">
<Notes>location in the sample respository of the bin's GenomeTypedObject file</Notes>
</Field>
</Fields>
</Entity>
<Entity name="ReferenceGenome" keyType="string" default="id name">
<DisplayInfo theme="black" caption="Reference\nGenome">
<RegionInfo name="Sampling" col="5" row="5" />
</DisplayInfo>
<Notes>A genome from the PATRIC database. Only genomes which have a close hit in one or
more samples are represented in this entity. The ID is the SEED-style genome ID (usually taxon and
version).</Notes>
<Fields>
<Field name="name" type="string">
<Notes>name of this reference genome</Notes>
</Field>
</Fields>
</Entity>
</Entities>
<Relationships>
<Relationship name="Site2Sample" from="Site" to="Sample" arity="1M" converse="Sample2Site"
embedded="1">
<DisplayInfo theme="black">
<RegionInfo name="Sampling" caption="Site to\nSample" />
</DisplayInfo>
<Notes>This relationship links a sample to the site from which it came.</Notes>
</Relationship>
<Relationship name="Bin2Reference" from="Bin" to="ReferenceGenome" arity="MM"
converse="Reference2Bin">
<DisplayInfo theme="black">
<RegionInfo name="Sampling" caption="Bin to\nReference" />
</DisplayInfo>
<Notes>This relationship connects a bin to the reference genomes considered close to the clonal
population in the bin. The DNA of a reference genome is compared to contig DNA to determine into
which bin the contig should be placed.</Notes>
</Relationship>
<Relationship name="Taxonomy2Bin" from="TaxonomicGrouping" to="Bin" arity="1M"
converse="Bin2Taxonomy" embedded="1">
<DisplayInfo theme="black">
<RegionInfo name="Sampling" caption="Taxonomy\nto Bin" />
</DisplayInfo>
<Notes>This relationship connects a bin to the genus representing its clonal population.</Notes>
</Relationship>
<Relationship name="Sample2Bin" from="Sample" to="Bin" arity="1M" converse="Bin2Sample" embedded="1">
<DisplayInfo theme="black">
<RegionInfo name="Sampling" caption="Sample to\nBin" />
</DisplayInfo>
<Notes>This relationship connects a sample to the bins formed from it.</Notes>
</Relationship>
<Relationship name="Reference2Genome" from="ReferenceGenome" to="Genome" arity="1M"
converse="Genome2Reference">
<DisplayInfo theme="black">
<RegionInfo name="Sampling" caption="Reference\nto Genome" />
</DisplayInfo>
<Notes>In the rare instance that a reference genome exactly matches a genome in the main Shrub
database, this relationship connects the two.</Notes>
</Relationship>
<Relationship name="Taxonomy2Reference" from="TaxonomicGrouping" to="ReferenceGenome" arity="1M"
converse="Reference2Taxonomy" embedded="1">
<DisplayInfo theme="black">
<RegionInfo name="Sampling" caption="Taxonomy to\nReference" />
</DisplayInfo>
<Notes>This relationship connects a reference genome to its taxonomic grouping.</Notes>
</Relationship>
<Relationship name="Bin2Function" from="Bin" to="Function" arity="MM" converse="Function2Bin">
<DisplayInfo theme="black">
<RegionInfo name="Sampling" caption="Bin to\nFunction" />
</DisplayInfo>
<Notes>This relationship connects a bin to the universal roles with instances found in the bin.</Notes>
<Fields>
<Field name="instances" type="counter">
<Notes>Number of role instances found in the bin.</Notes>
</Field>
</Fields>
</Relationship>
<Relationship name="Class2SubClass" from="SubsystemClass" to="SubsystemClass" arity="1M"
converse="Class2SupClass">
<DisplayInfo theme="blue">
<RegionInfo name="" fixed="1" col="6" row="1" caption="Class to\nSubClass" />
</DisplayInfo>
<Notes>This relationship connects a subsystem class to the smaller classes that subdivide it.</Notes>
</Relationship>
<Relationship name="Class2Subsystem" from="SubsystemClass" to="Subsystem" arity="1M"
converse="Subsystem2Class">
<DisplayInfo theme="blue">
<RegionInfo name="" caption="Class to\nSubsystem" />
</DisplayInfo>
<Notes>This relationship connects a bottom-level subsystem class to its subsystems.</Notes>
</Relationship>
<Relationship name="Family2Protein" from="ProteinFamily" to="Protein" arity="MM"
converse="Protein2Family">
<DisplayInfo theme="green">
<RegionInfo name="" col="2" row="4" fixed="1" caption="Protein\nto Family" />
</DisplayInfo>
<Notes>This relationship determines a protein's membership in a family.</Notes>
</Relationship>
<Relationship name="Function2Family" from="Function" to="ProteinFamily" arity="1M"
embedded="1" converse="Family2Function">
<DisplayInfo theme="green">
<RegionInfo name="" col="2" row="6" fixed="1" caption="Family to\nFunction" />
</DisplayInfo>
<Notes>This relationship connects a protein family to the function it represents.</Notes>
</Relationship>
<Relationship name="Cluster2Feature" from="Cluster" to="Feature" arity="MM"
converse="Feature2Cluster">
<DisplayInfo theme="blue">
<RegionInfo name="" caption="Cluster to\nFeature" />
</DisplayInfo>
<Notes>This relationship connects a cluster to the features that comprise it.</Notes>
</Relationship>
<Relationship name="Row2Cluster" from="SubsystemRow" to="Cluster" arity="1M"
converse="Cluster2Row" embedded="1">
<DisplayInfo theme="blue">
<RegionInfo name="" caption="Row to\nCluster" />
</DisplayInfo>
<Notes>This relationship connects a cluster to the single subsystem row its features
occupy.</Notes>
</Relationship>
<Relationship name="Domain2Protein" from="CddDomain" to="Protein" arity="MM"
converse="Protein2Domain">
<DisplayInfo theme="green">
<RegionInfo name="" caption="Protein to\nDomain" />
</DisplayInfo>
<Notes>This relationship connects a protein sequence to the primary CDD domains
associated with it. This information is used to verify the protein's role.</Notes>
</Relationship>
<Relationship name="Domain2Role" from="CddDomain" to="Role" arity="MM"
converse="Role2Domain">
<DisplayInfo theme="blue">
<RegionInfo name="" caption="Domain\nto Role" fixed="1" col="3" row="8" />
</DisplayInfo>
<Notes>This relationship connects a role to the primary CDD domains associated with it.
There will generally be at most two.</Notes>
</Relationship>
<Relationship name="IsTaxonomicGroupOf" from="TaxonomicGrouping"
to="TaxonomicGrouping" arity="1M" converse="IsInTaxonomicGroup"
embedded="1">
<DisplayInfo theme="red" caption="Is\nTaxonomic\nGroup Of">
<RegionInfo name="Sampling" fixed="1" col="5" row="2" />
</DisplayInfo>
<Notes>This relationship imposes a hierarchy on taxonomic groupings.
Each group can contain one or more subgroups. A group with no
subgroups is a leaf. There is a hidden root group at the top.
The subgroups of that group are domains.
</Notes>
</Relationship>
<Relationship name="Taxonomy2Genome" from="TaxonomicGrouping"
to="Genome" arity="1M" converse="Genome2Taxonomy" embedded="1">
<DisplayInfo theme="red">
<RegionInfo name="Sampling" caption="Taxonomy\nto Genome" />
</DisplayInfo>
<Notes>This relationship connects a genome to the taxonomic group to
which it belongs. The taxonomic group is computed from the genome
ID where possible, and the genome name otherwise. It can also be
specified explicitly in the genome exchange files.
</Notes>
<Fields>
<Field name="confidence" type="char">
<Notes>This indicates how confident we are in the taxonomic
assignment. A value of [b]2[/b] means there is an exact
match on name or genome ID. A value of [b]1[/b] means there
was a close match near the node chosen. A value of [b]0[/b]
means we had to guess.</Notes>
</Field>
</Fields>
</Relationship>
<Relationship name="Genome2Feature" from="Genome" to="Feature"
arity="1M" converse="Feature2Genome" embedded="1">
<DisplayInfo theme="green">
<RegionInfo name="" caption="Genome to\nFeature" />
</DisplayInfo>
<Notes>This relationship connects a genomes to the points of
interest (features) in its DNA.</Notes>
</Relationship>
<Relationship name="Protein2Feature" from="Protein" to="Feature"
arity="1M" converse="Feature2Protein" embedded="1">
<DisplayInfo theme="green">
<RegionInfo name="" caption="Feature\nto Protein" />
</DisplayInfo>
<Notes>This relationship connects a feature to its protein
translation.</Notes>
</Relationship>
<Relationship name="Feature2Contig" from="Feature" to="Contig"
arity="MM" converse="Contig2Feature">
<DisplayInfo theme="green">
<RegionInfo name="" caption="Contig to\nFeature" />
</DisplayInfo>
<Notes>This relationship connects a feature to the DNA segments
that comprise it. Normally there is only one such segment, but
eukaryotes will tend to have features with multiple segments.</Notes>
<Fields>
<Field name="ordinal" type="int">
<Notes>Sequence number of this segment, starting from 0
and proceeding sequentially forward from there.</Notes>
</Field>
<Field name="begin" type="int">
<Notes>Index (1-based) of the first residue in the contig
that belongs to the segment.</Notes>
<Asides>The begin value is not the start residue, it is the
leftmost residue. If the direction is backward, it will
actually be the end residue.</Asides>
</Field>
<Field name="len" type="int">
<Notes>Length of this segment.</Notes>
</Field>
<Field name="dir" type="char">
<Notes>Direction (strand) of the segment: [b]+[/b] if it is
forward and [b]-[/b] if it is backward.</Notes>
</Field>
</Fields>
<FromIndex unique="1">
<Notes>This index presents the segments of the feature in the correct
order.</Notes>
<IndexFields>
<IndexField name="ordinal" order="ascending" />
</IndexFields>
</FromIndex>
<ToIndex>
<Notes>This index presents the segments on a contig in order of the
start position.</Notes>
<IndexFields>
<IndexField name="begin" order="ascending" />
<IndexField name="len" order="ascending" />
</IndexFields>
</ToIndex>
</Relationship>
<Relationship name="Function2Role" from="Function" to="Role"
arity="MM" converse="Role2Function">
<DisplayInfo theme="blue">
<RegionInfo name="" caption="Function\nto Role" />
</DisplayInfo>
<Notes>This relationship connects a function to its constituent
roles. Most functions consist of a single role, but some can
connect to several roles.</Notes>
</Relationship>
<Relationship name="Subsystem2Role" from="Subsystem" to="Role"
arity="MM" converse="Role2Subsystem">
<DisplayInfo theme="blue">
<RegionInfo name="" caption="Subsystem\nto Role" />
</DisplayInfo>
<Notes>This relationship connects a subsystem to its constituent
roles. The relationship specifies the role abbreviation and its
ordinal position in the subsystem path.</Notes>
<Fields>
<Field name="ordinal" type="int">
<Notes>Ordinal position of this role (from 0) in the columns
of the populated subsystem</Notes>
</Field>
<Field name="abbr" type="string">
<Notes>Abbreviation for the subsystem role name.</Notes>
</Field>
<Field name="aux" type="boolean">
<Notes>TRUE if this is an auxiliary role</Notes>
</Field>
</Fields>
<FromIndex>
<Notes>This index presents the roles in pathway order.</Notes>
<IndexFields>
<IndexField name="ordinal" order="ascending" />
</IndexFields>
</FromIndex>
</Relationship>
<Relationship name="Genome2Contig" from="Genome" to="Contig"
arity="1M" converse="Contig2Genome" embedded="1">
<DisplayInfo theme="red">
<RegionInfo name="" caption="Genome\nto Contig" />
</DisplayInfo>
<Notes>This relationship connects a genome to its constituent
contigs. The full set of contigs comprises the DNA sequence
of the genome.</Notes>
</Relationship>
<Relationship name="Feature2Function" from="Feature" to="Function"
arity="MM" converse="Function2Feature">
<DisplayInfo theme="blue">
<RegionInfo name="" caption="Feature\nto Function" />
</DisplayInfo>
<Notes>This relationship connects a feature to its function.
Only features which do not produce proteins will be connected
to functions, as the primary function assignment is to
proteins.</Notes>
<Fields>
<Field name="security" type="char">
<Notes>Privilege level of the annotation. [b]0[/b] for a
non-privileged (public) annotation, [b]1[/b] for a projected
annotation, and [b]2[/b] for a privileged annotation.</Notes>
</Field>
<Field name="comment" type="text">
<Notes>A comment by the annotator about this functional
assignment.</Notes>
</Field>
</Fields>
<FromIndex unique="1">
<Notes>This index insures only one function of each privilege is assigned
to a feature.</Notes>
<IndexFields>
<IndexField name="security" order="ascending" />
</IndexFields>
</FromIndex>
<ToIndex>
<Notes>This index speeds queries that restrict to specific genomes.</Notes>
<IndexFields>
<IndexField name="security" order="ascending" />
<IndexField name="from-link" order="ascending" />
</IndexFields>
</ToIndex>
</Relationship>
<Relationship name="Role2Complex" from="Role" to="Complex"
arity="MM" converse="Complex2Role">
<DisplayInfo theme="navy">
<RegionInfo name="" caption="Role to\nComplex" />
</DisplayInfo>
<Notes>This relationship connects a role to the complexes that
take place when the role is expressed.</Notes>
<Fields>
<Field name="triggering" type="boolean">
<Notes>TRUE if the presence of the role is sufficient to trigger
the complex, else FALSE.</Notes>
</Field>
</Fields>
</Relationship>
<Relationship name="Complex2Reaction" from="Complex" to="Reaction"
arity="MM" converse="Reaction2Complex">
<DisplayInfo theme="navy">
<RegionInfo name="" caption="Complex to\nReaction" />
</DisplayInfo>
<Notes>This relationship connects a complex to its constituent
reactions.</Notes>
</Relationship>
<Relationship name="Pathway2Reaction" from="Pathway" to="Reaction"
arity="MM" converse="Reaction2Pathway">
<DisplayInfo theme="navy">
<RegionInfo name="" caption="Pathway\nto Reaction" />
</DisplayInfo>
<Notes>This relationship connects a pathway to its constituent
reactions.</Notes>
</Relationship>
<Relationship name="Reaction2Compound" from="Reaction" to="Compound"
arity="MM" converse="Compound2Reaction">
<DisplayInfo theme="navy">
<RegionInfo name="" caption="Reaction to\nCompound" />
</DisplayInfo>
<Notes>This relationship connects a reaction to the compounds that
participate in it. A reaction involves many compounds, and a
compound can be involved in many reactions. The relationship
attributes indicate whether a compound is a product or substrate of
the reaction, as well as its stoichiometry.
</Notes>
<Fields>
<Field name="product" type="boolean">
<Notes>TRUE if the compound is a product of the reaction,
FALSE if it is a substrate. When a reaction is written on
paper in chemical notation, the substrates are left of the
arrow and the products are to the right. Sorting on this
field will cause the substrates to appear first, followed by
the products.
</Notes>
</Field>
<Field name="stoichiometry" type="float">
<Notes>Number of molecules of the compound that participate
in a single instance of the reaction. For example, if a
reaction produces two water molecules, the stoichiometry of
water for the reaction would be two. When a reaction is
written on paper in chemical notation, the stoichiometry is
the number next to the chemical formula of the
compound.
</Notes>
</Field>
</Fields>
<ToIndex>
<Notes>This index presents the compounds in the reaction in the
order they should be displayed when writing it in chemical
notation. All the substrates appear before all the products.
</Notes>
<IndexFields>
<IndexField name="product" order="ascending" />
</IndexFields>
</ToIndex>
</Relationship>
<Relationship name="Genome2Row" from="Genome" to="SubsystemRow"
arity="1M" converse="Row2Genome" embedded="1">
<DisplayInfo theme="blue">
<RegionInfo name="" caption="Genome\nto Row" />
</DisplayInfo>
<Notes>This relationship connects a subsystem row to the
genome which it populates. A subsystem's occurrence
in a genome is only represented if it is considered
relatively important for annotation analysis and projection.
</Notes>
</Relationship>
<Relationship name="Feature2Cell" from="Feature" to="SubsystemCell"
arity="MM" converse="Cell2Feature">
<DisplayInfo theme="blue">
<RegionInfo name="" caption="Feature\nto Cell" />
</DisplayInfo>
<Notes>This relationship connects a feature to the subsystem