forked from AutoFlowResearch/BFAIR
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBFAIR.sql
More file actions
5260 lines (3772 loc) · 145 KB
/
BFAIR.sql
File metadata and controls
5260 lines (3772 loc) · 145 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
--
-- PostgreSQL database dump
--
-- Dumped from database version 12.3
-- Dumped by pg_dump version 12.3
-- Started on 2020-11-12 21:39:34
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
DROP DATABASE "BFAIROmics";
--
-- TOC entry 3446 (class 1262 OID 17434)
-- Name: BFAIROmics; Type: DATABASE; Schema: -; Owner: postgres
--
CREATE DATABASE "BFAIROmics" WITH TEMPLATE = template0 ENCODING = 'UTF8' LC_COLLATE = 'German_Germany.1252' LC_CTYPE = 'German_Germany.1252';
ALTER DATABASE "BFAIROmics" OWNER TO postgres;
\connect "BFAIROmics"
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
SET default_tablespace = '';
SET default_table_access_method = heap;
--
-- TOC entry 203 (class 1259 OID 17437)
-- Name: ASSAY; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."ASSAY" (
"Assay_ID" integer NOT NULL,
"Assay_Identifier" text,
"Assay_Measurement_Type" text,
"Assay_Measurement_Type_Term_Accession_Number" text,
"Assay_Measurement_Type_Term_Source_REF" text,
"Assay_Technology_Type" text,
"Assay_Technology_Type_Term_Accession_Number" text,
"Assay_Technology_Type_Term_Source_REF" text,
"Assay_Technology_Platform" text
);
ALTER TABLE public."ASSAY" OWNER TO postgres;
--
-- TOC entry 202 (class 1259 OID 17435)
-- Name: ASSAY_Assay_ID_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."ASSAY_Assay_ID_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."ASSAY_Assay_ID_seq" OWNER TO postgres;
--
-- TOC entry 3447 (class 0 OID 0)
-- Dependencies: 202
-- Name: ASSAY_Assay_ID_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."ASSAY_Assay_ID_seq" OWNED BY public."ASSAY"."Assay_ID";
--
-- TOC entry 221 (class 1259 OID 17579)
-- Name: A_TECHNOLOGY_MICROARRAY; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."A_TECHNOLOGY_MICROARRAY" (
"Assay_ID" integer NOT NULL,
"Sample_Name" text,
"Extract_Name" text,
"Labeled_Extract_Name" text,
"Label" text,
"Hybridization_Assay_Name" text,
"Comment[ArrayExpress_Accession]" text,
"Comment[ArrayExpress_Raw_Data_URL]" text,
"Comment[ArrayExpress_Processed_Data_URL]" text,
"Array_Design_REF" text,
"Scan_Name" text,
"Array_Data_File" text,
"Data_Transformation_Name" text,
"Derived_Array_Data_File" text,
"Array_Data_Matrix_File" text,
"Derived_Array_Data_Matrix_File" text,
"Array_Design_File" text,
"id" integer NOT NULL
);
ALTER TABLE public."A_TECHNOLOGY_MICROARRAY" OWNER TO postgres;
--
-- TOC entry 224 (class 1259 OID 18268)
-- Name: A_TECHNOLOGY_MICROARRAY_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."A_TECHNOLOGY_MICROARRAY_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."A_TECHNOLOGY_MICROARRAY_id_seq" OWNER TO postgres;
--
-- TOC entry 3448 (class 0 OID 0)
-- Dependencies: 224
-- Name: A_TECHNOLOGY_MICROARRAY_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."A_TECHNOLOGY_MICROARRAY_id_seq" OWNED BY public."A_TECHNOLOGY_MICROARRAY"."A_Technology_Microarray_ID";
--
-- TOC entry 222 (class 1259 OID 17587)
-- Name: A_TECHNOLOGY_MS; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."A_TECHNOLOGY_MS" (
"Assay_ID" integer NOT NULL,
"Sample_Name" text NOT NULL,
"Extract_Name" text,
"Labeled_Extract_Name" text,
"Label" text,
"MS_Assay_Name" text,
"Raw_Spectral_Data_File" text,
"Normalization_Name" text,
"Protein_Assignment_File" text,
"Peptide_Assignment_File" text,
"Post_Translational_Modification_Assignment_File" text,
"Data_Transformation_Name" text,
"Derived_Spectral_Data_File" text,
"id" integer NOT NULL
);
ALTER TABLE public."A_TECHNOLOGY_MS" OWNER TO postgres;
--
-- TOC entry 225 (class 1259 OID 18278)
-- Name: A_TECHNOLOGY_MS_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."A_TECHNOLOGY_MS_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."A_TECHNOLOGY_MS_A_Technology_MS_ID_seq" OWNER TO postgres;
--
-- TOC entry 3449 (class 0 OID 0)
-- Dependencies: 225
-- Name: A_TECHNOLOGY_MS_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."A_TECHNOLOGY_MS_id_seq" OWNED BY public."A_TECHNOLOGY_MS"."A_Technology_MS_ID";
--
-- TOC entry 223 (class 1259 OID 17595)
-- Name: A_TECHNOLOGY_NMR; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."A_TECHNOLOGY_NMR" (
"Assay_ID" integer NOT NULL,
"Sample_Name" text,
"Extract_Name" text,
"Labeled_Extract_Name" text,
"Label" text,
"NMR_Assay_Name" text,
"Free_Induction_Decay_Data_File" text,
"Acquisition_Parameter_Data_File" text,
"Derived_Spectral_Data_File" text,
"Normalization_Name" text,
"Data_Transformation_Name" text,
"Metabolite_Assignment_File" text,
"id" integer NOT NULL
);
ALTER TABLE public."A_TECHNOLOGY_NMR" OWNER TO postgres;
--
-- TOC entry 226 (class 1259 OID 18289)
-- Name: A_TECHNOLOGY_NMR_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."A_TECHNOLOGY_NMR_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."A_TECHNOLOGY_NMR_A_Technology_NMR_ID_seq" OWNER TO postgres;
--
-- TOC entry 3450 (class 0 OID 0)
-- Dependencies: 226
-- Name: A_TECHNOLOGY_NMR_A_Technology_NMR_ID_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."A_TECHNOLOGY_NMR_A_Technology_NMR_ID_seq" OWNED BY public."A_TECHNOLOGY_NMR"."A_Technology_NMR_ID";
--
-- TOC entry 205 (class 1259 OID 17484)
-- Name: CONTACTS; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."CONTACTS" (
"Contact_Person_ID" integer NOT NULL,
"Person_Last_Name" text,
"Person_First_Name" text,
"Person_Mid_Initials" text,
"Person_Email" text,
"Person_Phone" text,
"Person_Fax" text,
"Person_Address" text,
"Person_Affiliation" text,
"Person_Roles" text,
"Person_Roles_Term_Accession_Number" text,
"Person_Roles_Term_Source_REF" text
);
ALTER TABLE public."CONTACTS" OWNER TO postgres;
--
-- TOC entry 204 (class 1259 OID 17482)
-- Name: CONTACTS_Contact_Person_ID_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."CONTACTS_Contact_Person_ID_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."CONTACTS_Contact_Person_ID_seq" OWNER TO postgres;
--
-- TOC entry 3451 (class 0 OID 0)
-- Dependencies: 204
-- Name: CONTACTS_Contact_Person_ID_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."CONTACTS_Contact_Person_ID_seq" OWNED BY public."CONTACTS"."Contact_Person_ID";
--
-- TOC entry 252 (class 1259 OID 18510)
-- Name: FeatureXML; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."FeatureXML" (
"FeatureMap" xml NOT NULL,
"Sample_Name" text NOT NULL,
"Investigation_ID" integer NOT NULL,
"Study_ID" integer NOT NULL,
"Assay_ID" integer NOT NULL,
id integer NOT NULL,
"mzTab-ID" text NOT NULL
);
ALTER TABLE public."FeatureXML" OWNER TO postgres;
--
-- TOC entry 251 (class 1259 OID 18508)
-- Name: FeatureXML_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."FeatureXML_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."FeatureXML_id_seq" OWNER TO postgres;
--
-- TOC entry 3452 (class 0 OID 0)
-- Dependencies: 251
-- Name: FeatureXML_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."FeatureXML_id_seq" OWNED BY public."FeatureXML".id;
--
-- TOC entry 207 (class 1259 OID 17495)
-- Name: INVESTIGATION; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."INVESTIGATION" (
"Investigation_ID" integer NOT NULL,
"Investigation_Identifier" text NOT NULL,
"Investigation_Title" text,
"Investigation_Description" text,
"Investigation_Submission_Date" date,
"Investigation_Public_Release_Date" date,
"Investigation_Contacts" integer,
"Investigation_Publications" integer,
"Investigation_Study_Identifier" text NOT NULL,
id integer
);
ALTER TABLE public."INVESTIGATION" OWNER TO postgres;
--
-- TOC entry 206 (class 1259 OID 17493)
-- Name: INVESTIGATION_Investigation_ID_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."INVESTIGATION_Investigation_ID_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."INVESTIGATION_Investigation_ID_seq" OWNER TO postgres;
--
-- TOC entry 3453 (class 0 OID 0)
-- Dependencies: 206
-- Name: INVESTIGATION_Investigation_ID_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."INVESTIGATION_Investigation_ID_seq" OWNED BY public."INVESTIGATION"."Investigation_ID";
--
-- TOC entry 260 (class 1259 OID 18560)
-- Name: MFA_model_metabolites ; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."MFA_model_metabolites " (
id integer NOT NULL,
mapping_id text NOT NULL,
met_id text NOT NULL,
met_elements text[],
met_atompositions integer[],
met_symmetry_elements text[],
met_symmetry_atompositions integer[],
used boolean,
comment text,
met_mapping json,
base_met_ids text[],
base_met_elements json,
base_met_atompositions json,
base_met_symmetry_elements json,
base_met_symmetry_atompositions json,
base_met_indices integer[]
);
ALTER TABLE public."MFA_model_metabolites " OWNER TO postgres;
--
-- TOC entry 259 (class 1259 OID 18558)
-- Name: MFA_model_metabolites _id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."MFA_model_metabolites _id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."MFA_model_metabolites _id_seq" OWNER TO postgres;
--
-- TOC entry 3454 (class 0 OID 0)
-- Dependencies: 259
-- Name: MFA_model_metabolites _id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."MFA_model_metabolites _id_seq" OWNED BY public."MFA_model_metabolites ".id;
--
-- TOC entry 262 (class 1259 OID 18571)
-- Name: MFA_model_reactions; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."MFA_model_reactions" (
id integer NOT NULL,
model_id text NOT NULL,
rxn_id text NOT NULL,
rxn_name text,
equation text,
subsystem text,
gpr text,
genes text[],
reactants_stoichiometry double precision[],
products_stoichiometry double precision[],
reactants_ids text[],
products_ids text[],
lower_bound double precision,
upper_bound double precision,
objective_coefficient double precision,
flux_units text,
fixed boolean,
free boolean,
reversibility boolean,
weight double precision,
used boolean,
comment text
);
ALTER TABLE public."MFA_model_reactions" OWNER TO postgres;
--
-- Name: MFA_model_reactions_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."MFA_model_reactions_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."MFA_model_reactions_id_seq" OWNER TO postgres;
--
-- Name: MFA_model_reactions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."MFA_model_reactions_id_seq" OWNED BY public."MFA_model_reactions".id;
--
-- Name: MFA_model_reactions id; Type: DEFAULT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY public."MFA_model_reactions" ALTER COLUMN id SET DEFAULT nextval('public."MFA_model_reactions_id_seq"'::regclass);
--
-- Name: MFA_model_reactions MFA_model_reactions_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY public."MFA_model_reactions"
ADD CONSTRAINT "MFA_model_reactions_pkey" PRIMARY KEY (id);
--
-- Name: MFA_model_reactions MFA_model_reactions_model_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY public."MFA_model_reactions"
ADD CONSTRAINT "MFA_model_reactions_model_id_fkey" FOREIGN KEY (model_id) REFERENCES public.models(model_id) NOT VALID;
--
-- PostgreSQL database dump complete
--
--
-- TOC entry 236 (class 1259 OID 18377)
-- Name: MzTab_M_Metadata_metabolomics; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."MzTab_M_Metadata_metabolomics" (
id integer NOT NULL,
"mzTab_version" text NOT NULL,
title text,
description text,
sample_processing_number integer,
sample_processing text,
"instrument_name_number" integer,
"instrument_name" text,
"instrument_source_number" integer,
"instrument_source" text,
instrument_number integer,
analyzer_number integer,
"instrument_analyzer" text,
"instrument_detector_number" integer,
"instrument_detector" text,
software_number integer NOT NULL,
software text NOT NULL,
setting_number integer,
"software_setting" text,
publication_number integer,
publication text,
"contact_name_number" integer,
"contact_name" text,
"contact_affiliation_number" integer,
"contact_affiliation" text,
"contact_email_number" integer,
"contact_email" text,
uri_number integer,
uri text,
external_study_uri_number integer,
external_study_uri text,
quantification_method text NOT NULL,
sample_number integer,
sample text,
species_number integer,
"sample_species" text,
tissue_number integer,
"sample_tissue" text,
cell_type_number integer,
"sample_cell_type" text,
disease_number integer,
"sample_disease" text,
"sample_description" text,
custom_number integer,
"sample_custom" text,
ms_run integer NOT NULL,
"ms_run_location" text NOT NULL,
"ms_run_instrument_ref" integer,
"ms_run_format" text,
"ms_run_id_format" text,
fragmentation_method_number integer,
"ms_run_fragmentation_method" text,
scan_polarity_number integer NOT NULL,
"ms_run_scan_polarity" text NOT NULL,
"ms_run_hash" text,
"ms_run_hash_method" text,
assay_number integer NOT NULL,
assay text NOT NULL,
"assay_custom" text,
"assay_external_uri" text,
"assay_sample_ref" text,
"assay_ms_run_ref" text NOT NULL,
study_variable_number integer NOT NULL,
study_variable text NOT NULL,
"study_variable_assay_refs" text NOT NULL,
"study_variable_average_function" text,
"study_variable_variation_function" text,
"study_variable_description" text NOT NULL,
"study_variable_factors" text,
"study_custom" text,
cv_number integer NOT NULL,
"cv_label" text NOT NULL,
"cv_full_name" text NOT NULL,
"cv_version" text NOT NULL,
"cv_uri" text NOT NULL,
database_number integer NOT NULL,
database text NOT NULL,
"database_prefix" text NOT NULL,
"database_version" text NOT NULL,
"database_uri" text NOT NULL,
derivatization_agent_number integer,
derivatization_agent text,
"small_molecule_quantification_unit" text,
"small_molecule_identification_reliability" integer,
id_confidence_measure_number integer NOT NULL,
id_confidence_measure text NOT NULL,
"colunit_small_molecule" text,
"colunit_small_molecule_evidence" text,
"mzTab_ID" text NOT NULL
);
ALTER TABLE public."MzTab_M_Metadata_metabolomics" OWNER TO postgres;
--
-- TOC entry 242 (class 1259 OID 18419)
-- Name: MzTab_M_Small_Molecule_Evidence_SME_Section; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."MzTab_M_Small_Molecule_Evidence_SME_Section" (
"SME_ID" integer NOT NULL,
evidence_input_id text,
database_identifier text,
chemical_formula text,
smiles text,
inchi text,
chemical_name text,
uri text,
derivatized_form text,
adduct_ion text,
exp_mass_to_charge double precision,
charge integer,
theoretical_mass_to_charge double precision,
ms_run integer,
spectra_ref text,
identification_method text,
ms_level integer,
id_confidence_measure_number integer,
id_confidence_measure double precision,
rank integer
);
ALTER TABLE public."MzTab_M_Small_Molecule_Evidence_SME_Section" OWNER TO postgres;
--
-- TOC entry 241 (class 1259 OID 18417)
-- Name: MzTab_M_Small_Molecule_Evidence_SME_Section_SME_ID_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."MzTab_M_Small_Molecule_Evidence_SME_Section_SME_ID_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."MzTab_M_Small_Molecule_Evidence_SME_Section_SME_ID_seq" OWNER TO postgres;
--
-- TOC entry 3456 (class 0 OID 0)
-- Dependencies: 241
-- Name: MzTab_M_Small_Molecule_Evidence_SME_Section_SME_ID_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."MzTab_M_Small_Molecule_Evidence_SME_Section_SME_ID_seq" OWNED BY public."MzTab_M_Small_Molecule_Evidence_SME_Section"."SME_ID";
--
-- TOC entry 240 (class 1259 OID 18410)
-- Name: MzTab_M_Small_Molecule_Feature_SMF_Section; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."MzTab_M_Small_Molecule_Feature_SMF_Section" (
"SMF_ID" integer NOT NULL,
"SME_ID_REFS_number" integer,
"SME_ID_REFS" integer,
"SME_ID_REF_ambiguity_code" integer,
adduct_ion text,
isotopomer text,
exp_mass_to_charge double precision NOT NULL,
charge integer NOT NULL,
retention_time_in_seconds double precision,
retention_time_in_seconds_start double precision,
retention_time_in_seconds_end double precision,
abundance_assay_number integer,
abundance_assay double precision
);
ALTER TABLE public."MzTab_M_Small_Molecule_Feature_SMF_Section" OWNER TO postgres;
--
-- TOC entry 239 (class 1259 OID 18408)
-- Name: MzTab_M_Small_Molecule_Feature_SMF_Section_SMF_ID_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."MzTab_M_Small_Molecule_Feature_SMF_Section_SMF_ID_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."MzTab_M_Small_Molecule_Feature_SMF_Section_SMF_ID_seq" OWNER TO postgres;
--
-- TOC entry 3457 (class 0 OID 0)
-- Dependencies: 239
-- Name: MzTab_M_Small_Molecule_Feature_SMF_Section_SMF_ID_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."MzTab_M_Small_Molecule_Feature_SMF_Section_SMF_ID_seq" OWNED BY public."MzTab_M_Small_Molecule_Feature_SMF_Section"."SMF_ID";
--
-- TOC entry 237 (class 1259 OID 18396)
-- Name: MzTab_M_small_molecule_section; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."MzTab_M_small_molecule_section" (
"SML_ID" integer NOT NULL,
"SMF_ID_REFS_number" integer,
"SMF_ID_REFS" integer,
database_identifier_number integer,
database_identifier text,
chemical_formula_number integer,
chemical_formula text,
smiles_number integer,
smiles text,
inchi_number integer,
inchi text,
chemical_name_number integer,
chemical_name text,
uri_number integer,
uri text,
theoretical_neutral_mass_number integer,
theoretical_neutral_mass double precision,
adduct_ions_number integer,
adduct_ions text,
reliability text,
best_id_confidence_measure text,
best_id_confidence_value double precision,
abundance_assay_number integer,
abundance_assay double precision,
abundance_study_variable_number integer,
abundance_study_variable double precision,
abundance_variation_study_variable_number integer,
abundance_variation_study_variable double precision,
"mzTab_ID_REFS" text
);
ALTER TABLE public."MzTab_M_small_molecule_section" OWNER TO postgres;
--
-- TOC entry 238 (class 1259 OID 18399)
-- Name: MzTab_M_small_molecule_section_SML_ID_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."MzTab_M_small_molecule_section_SML_ID_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."MzTab_M_small_molecule_section_SML_ID_seq" OWNER TO postgres;
--
-- TOC entry 3458 (class 0 OID 0)
-- Dependencies: 238
-- Name: MzTab_M_small_molecule_section_SML_ID_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."MzTab_M_small_molecule_section_SML_ID_seq" OWNED BY public."MzTab_M_small_molecule_section"."SML_ID";
--
-- TOC entry 228 (class 1259 OID 18318)
-- Name: MzTab_Metadata_Proteomics; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."MzTab_Metadata_Proteomics" (
"mzTab_version" text NOT NULL,
"mzTab_mode" text NOT NULL,
"mzTab_type" text NOT NULL,
"mzTab_ID" text NOT NULL,
title text,
description text,
sample_processing_number integer,
sample_processing text,
instrument_number integer,
instrument text,
"instrument_name" text,
"instrument_source" text,
analyzer_number integer,
"instrument_analyzer" text,
"instrument_detector" text,
software_number integer NOT NULL,
software text NOT NULL,
setting_number integer,
"software_setting" text,
protein_search_engine_score_number integer,
protein_search_engine_score double precision,
peptide_search_engine_score_number integer,
peptide_search_engine_score double precision,
psm_search_engine_score_number integer,
psm_search_engine_score double precision,
smallmolecule_search_engine_score_number integer,
smallmolecule_search_engine_score double precision,
false_discovery_rate text[],
publication_number integer,
publication text,
contact_number integer,
"contact_name" text,
"contact_affiliation" text,
"contact_email" text,
uri_number integer,
uri text,
fixed_mod_number integer,
fixed_mod text,
"fixed_mod_site" text,
"fixed_mod_position" text,
variable_mod_number integer,
variable_mod text,
"variable_mod_site" text,
"variable_mod_position" text,
quantification_method text NOT NULL,
"protein_quantification_unit" text,
"peptide_quantification_unit" text,
"small_molecule_quantification_unit" text,
ms_run_number integer NOT NULL,
"ms_run_format" text,
"ms_run_location" text NOT NULL,
"ms_run_id_format" text,
fragmentation_method_number integer NOT NULL,
"ms_run_fragmentation_method" text NOT NULL,
"ms_run_hash" text,
"ms_run_hash_method" text,
custom_number integer,
custom text,
sample_number integer,
species_number integer,
"sample_species" text,
tissue_number integer,
"sample_tissue" text,
cell_type_number integer,
"sample_cell_type" text,
disease_number integer,
"sample_disease" text,
"sample_description" text,
"sample_custom" text,
assay_number integer NOT NULL,
"assay_quantification_reagent" text,
quantification_mod_number integer,
"assay_quantification_mod" text,
"assay_quantification_mod_site" text,
"assay_quantification_mod_position" text,
"assay_sample_ref " text,
"assay_ms_run_ref" text,
study_variable_number integer NOT NULL,
"study_variable_assay_refs" text NOT NULL,
"study_variable_sample_refs" text NOT NULL,
"study_variable_description" text NOT NULL,
cv_number integer NOT NULL,
"cv_label" text NOT NULL,
"cv_full_name" text NOT NULL,
"cv_version" text NOT NULL,
"cv_url" text NOT NULL,
"colunit_protein" text,
"colunit_peptide" text,
"colunit_psm" text,
"colunit_small_molecule" text,
id integer NOT NULL
);
ALTER TABLE public."MzTab_Metadata_Proteomics" OWNER TO postgres;
--
-- TOC entry 227 (class 1259 OID 18316)
-- Name: MzTab_Metadata_Proteomics_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."MzTab_Metadata_Proteomics_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."MzTab_Metadata_Proteomics_id_seq" OWNER TO postgres;
--
-- TOC entry 3459 (class 0 OID 0)
-- Dependencies: 227
-- Name: MzTab_Metadata_Proteomics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."MzTab_Metadata_Proteomics_id_seq" OWNED BY public."MzTab_Metadata_Proteomics".id;
--
-- TOC entry 230 (class 1259 OID 18329)
-- Name: MzTab_PSM_section; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."MzTab_PSM_section" (
id integer NOT NULL,
sequence text NOT NULL,
"PSM_ID" integer NOT NULL,
accession text NOT NULL,
"unique" boolean NOT NULL,
database text NOT NULL,
database_version text NOT NULL,
search_engine_number integer NOT NULL,
search_engine text NOT NULL,
search_engine_score_number integer NOT NULL,
search_engine_score double precision NOT NULL,
reliability integer NOT NULL,
modifications text NOT NULL,
retention_time double precision[] NOT NULL,
charge integer NOT NULL,
exp_mass_to_charge double precision NOT NULL,
calc_mass_to_charge double precision NOT NULL,
uri text NOT NULL,
spectra_ref text NOT NULL,
pre text NOT NULL,
post text NOT NULL,
start integer NOT NULL,
"end" integer NOT NULL
);
ALTER TABLE public."MzTab_PSM_section" OWNER TO postgres;
--
-- TOC entry 229 (class 1259 OID 18327)
-- Name: MzTab_PSM section_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE public."MzTab_PSM section_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public."MzTab_PSM section_id_seq" OWNER TO postgres;
--
-- TOC entry 3460 (class 0 OID 0)
-- Dependencies: 229
-- Name: MzTab_PSM section_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE public."MzTab_PSM section_id_seq" OWNED BY public."MzTab_PSM_section".id;
--
-- TOC entry 234 (class 1259 OID 18351)
-- Name: MzTab_Peptide_section; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public."MzTab_Peptide_section" (
id integer NOT NULL,
sequence text NOT NULL,
accession text NOT NULL,
"unique" boolean NOT NULL,
database text NOT NULL,
database_version text NOT NULL,
search_engine_number integer NOT NULL,
search_engine text NOT NULL,
best_search_engine_score_number integer NOT NULL,
best_search_engine_score double precision NOT NULL,
search_engine_score_number integer NOT NULL,
search_engine_score double precision NOT NULL,
ms_run integer NOT NULL,
search_engine_score_ms_run double precision NOT NULL,
reliability integer NOT NULL,
modifications text NOT NULL,
retention_time double precision[] NOT NULL,
retention_time_window double precision[] NOT NULL,