-- DBMS: snowflake
create or replace TABLE MASSSPECTROMETRY_LEVEL4_METADATA_CURRENT (
	"HTAN_Parent_Biospecimen_ID" VARCHAR(16777216),
	"Filename" VARCHAR(16777216),
	"Mass_Spectrometry_Auxiliary_File" VARCHAR(16777216),
	"HTAN_Parent_Data_File_ID" VARCHAR(16777216),
	"entityId" VARCHAR(16777216),
	"Id" VARCHAR(16777216),
	"HTAN_Data_File_ID" VARCHAR(16777216),
	"Component" VARCHAR(16777216),
	"MS_Assay_Category" VARCHAR(16777216),
	"Software_and_Version" VARCHAR(16777216),
	"File_Format" VARCHAR(16777216),
	"HTAN_Center" VARCHAR(16777216),
	"Manifest_Id" VARCHAR(16777216),
	"Manifest_Version" NUMBER(38,0),
	"File_Size" NUMBER(38,0),
	"md5" VARCHAR(16777216),
	"Data_Release" VARCHAR(16777216),
	"CDS_Release" VARCHAR(16777216)
);

INSERT INTO "HTAN_2"."HTAN"."MASSSPECTROMETRY_LEVEL4_METADATA_CURRENT" (MS_Assay_Category, md5, File_Size, Filename, File_Format, CDS_Release, Software_and_Version, HTAN_Parent_Biospecimen_ID, Component, HTAN_Parent_Data_File_ID, HTAN_Data_File_ID, Data_Release, entityId, Manifest_Id, HTAN_Center, Mass_Spectrometry_Auxiliary_File, Id, Manifest_Version) VALUES ('proteomics TMT', '6b0ee1122d5bbf6a5ae3e8385d6c0570', 2747883, 'proteomics_level_4/replicate02/Lumos2_FAP2_C2R2_082520_Fr_HDr_Proteins.txt', 'txt', NULL, 'Proteome Discoverer 2.5', 'HTA10_01_004,HTA10_01_005,HTA10_01_021,HTA10_01_102,HTA10_01_107,HTA10_01_122,HTA10_01_124,HTA10_01_210,HTA10_01_214,HTA10_01_219,HTA10_01_222,HTA10_02_010,HTA10_02_016,HTA10_02_019,HTA10_02_021,HTA10_02_023,HTA10_02_024,HTA10_02_025,HTA10_02_103,HTA10_02_107,HTA10_02_116,HTA10_02_121,HTA10_02_122,HTA10_02_123,HTA10_02_201,HTA10_02_202,HTA10_02_203,HTA10_02_204,HTA10_02_207,HTA10_02_209,HTA10_02_211,HTA10_02_212,HTA10_02_213,HTA10_03_001,HTA10_03_052,HTA10_03_055,HTA10_03_114,HTA10_03_201,HTA10_04_002,HTA10_04_008,HTA10_04_010,HTA10_04_102,HTA10_04_109,HTA10_04_206,HTA10_05_002,HTA10_05_004,HTA10_05_007,HTA10_05_008,HTA10_05_025,HTA10_05_027,HTA10_05_037,HTA10_05_038,HTA10_05_039,HTA10_05_040,HTA10_05_046,HTA10_05_053,HTA10_05_061,HTA10_05_063,HTA10_05_065,HTA10_05_072,HTA10_05_073,HTA10_05_074,HTA10_05_076,HTA10_05_105,HTA10_05_088,HTA10_05_092,HTA10_05_095,HTA10_05_098,HTA10_05_103,HTA10_05_104,HTA10_06_105,HTA10_06_002,HTA10_06_004,HTA10_06_005,HTA10_06_024,HTA10_06_025,HTA10_06_032,HTA10_06_043,HTA10_06_044,HTA10_06_045,HTA10_06_049,HTA10_06_051,HTA10_06_055,HTA10_06_061,HTA10_06_062,HTA10_06_065,HTA10_06_107,HTA10_06_110,HTA10_07_001,HTA10_07_006,HTA10_07_101,HTA10_07_201,HTA10_04_001', 'MassSpectrometryLevel4', 'HTA10_0000_06253,HTA10_0000_06254,HTA10_0000_06255,HTA10_0000_06256,HTA10_0000_06257,HTA10_0000_06258,HTA10_0000_06259,HTA10_0000_06260,HTA10_0000_06261,HTA10_0000_06262,HTA10_0000_06263,HTA10_0000_06264', 'HTA10_0000_06380', 'Release 5.1', 'syn23879960', 'syn51732873', 'HTAN Stanford', 'DatabaseSearchParameters.docx', '80abe787-8b38-45c4-b8a5-554d93313f31', 4), ('proteomics TMT', '00b1fb638cde0cc1cfb4b7bf9f0f5c9e', 2695244, 'proteomics_level_4/replicate02/Lumos2_FAP2_C2R7_HDR_091320_Fr_Proteins.txt', 'txt', NULL, 'Proteome Discoverer 2.5', 'HTA10_01_004,HTA10_01_005,HTA10_01_021,HTA10_01_102,HTA10_01_107,HTA10_01_122,HTA10_01_124,HTA10_01_210,HTA10_01_214,HTA10_01_219,HTA10_01_222,HTA10_02_010,HTA10_02_016,HTA10_02_019,HTA10_02_021,HTA10_02_023,HTA10_02_024,HTA10_02_025,HTA10_02_103,HTA10_02_107,HTA10_02_116,HTA10_02_121,HTA10_02_122,HTA10_02_123,HTA10_02_201,HTA10_02_202,HTA10_02_203,HTA10_02_204,HTA10_02_207,HTA10_02_209,HTA10_02_211,HTA10_02_212,HTA10_02_213,HTA10_03_001,HTA10_03_052,HTA10_03_055,HTA10_03_114,HTA10_03_201,HTA10_04_002,HTA10_04_008,HTA10_04_010,HTA10_04_102,HTA10_04_109,HTA10_04_206,HTA10_05_002,HTA10_05_004,HTA10_05_007,HTA10_05_008,HTA10_05_025,HTA10_05_027,HTA10_05_037,HTA10_05_038,HTA10_05_039,HTA10_05_040,HTA10_05_046,HTA10_05_053,HTA10_05_061,HTA10_05_063,HTA10_05_065,HTA10_05_072,HTA10_05_073,HTA10_05_074,HTA10_05_076,HTA10_05_105,HTA10_05_088,HTA10_05_092,HTA10_05_095,HTA10_05_098,HTA10_05_103,HTA10_05_104,HTA10_06_105,HTA10_06_002,HTA10_06_004,HTA10_06_005,HTA10_06_024,HTA10_06_025,HTA10_06_032,HTA10_06_043,HTA10_06_044,HTA10_06_045,HTA10_06_049,HTA10_06_051,HTA10_06_055,HTA10_06_061,HTA10_06_062,HTA10_06_065,HTA10_06_107,HTA10_06_110,HTA10_07_001,HTA10_07_006,HTA10_07_101,HTA10_07_201,HTA10_04_001', 'MassSpectrometryLevel4', 'HTA10_0000_06313,HTA10_0000_06314,HTA10_0000_06315,HTA10_0000_06316,HTA10_0000_06317,HTA10_0000_06318,HTA10_0000_06319,HTA10_0000_06320,HTA10_0000_06321,HTA10_0000_06322,HTA10_0000_06323,HTA10_0000_06324', 'HTA10_0000_06390', 'Release 5.1', 'syn23879767', 'syn51732873', 'HTAN Stanford', 'DatabaseSearchParameters.docx', 'a311e2d0-87d5-45c9-a041-fabc4919f555', 4), ('proteomics TMT', '89121dc66fa1a84ca87e8eb91cff7b02', 2731194, 'proteomics_level_4/replicate02/Lumos2_FAP2_C2R6_HDR_090920_Fr_Proteins.txt', 'txt', NULL, 'Proteome Discoverer 2.5', 'HTA10_01_004,HTA10_01_005,HTA10_01_021,HTA10_01_102,HTA10_01_107,HTA10_01_122,HTA10_01_124,HTA10_01_210,HTA10_01_214,HTA10_01_219,HTA10_01_222,HTA10_02_010,HTA10_02_016,HTA10_02_019,HTA10_02_021,HTA10_02_023,HTA10_02_024,HTA10_02_025,HTA10_02_103,HTA10_02_107,HTA10_02_116,HTA10_02_121,HTA10_02_122,HTA10_02_123,HTA10_02_201,HTA10_02_202,HTA10_02_203,HTA10_02_204,HTA10_02_207,HTA10_02_209,HTA10_02_211,HTA10_02_212,HTA10_02_213,HTA10_03_001,HTA10_03_052,HTA10_03_055,HTA10_03_114,HTA10_03_201,HTA10_04_002,HTA10_04_008,HTA10_04_010,HTA10_04_102,HTA10_04_109,HTA10_04_206,HTA10_05_002,HTA10_05_004,HTA10_05_007,HTA10_05_008,HTA10_05_025,HTA10_05_027,HTA10_05_037,HTA10_05_038,HTA10_05_039,HTA10_05_040,HTA10_05_046,HTA10_05_053,HTA10_05_061,HTA10_05_063,HTA10_05_065,HTA10_05_072,HTA10_05_073,HTA10_05_074,HTA10_05_076,HTA10_05_105,HTA10_05_088,HTA10_05_092,HTA10_05_095,HTA10_05_098,HTA10_05_103,HTA10_05_104,HTA10_06_105,HTA10_06_002,HTA10_06_004,HTA10_06_005,HTA10_06_024,HTA10_06_025,HTA10_06_032,HTA10_06_043,HTA10_06_044,HTA10_06_045,HTA10_06_049,HTA10_06_051,HTA10_06_055,HTA10_06_061,HTA10_06_062,HTA10_06_065,HTA10_06_107,HTA10_06_110,HTA10_07_001,HTA10_07_006,HTA10_07_101,HTA10_07_201,HTA10_04_001', 'MassSpectrometryLevel4', 'HTA10_0000_06301,HTA10_0000_06302,HTA10_0000_06303,HTA10_0000_06304,HTA10_0000_06305,HTA10_0000_06306,HTA10_0000_06307,HTA10_0000_06308,HTA10_0000_06309,HTA10_0000_06310,HTA10_0000_06311,HTA10_0000_06312', 'HTA10_0000_06388', 'Release 5.1', 'syn23879959', 'syn51732873', 'HTAN Stanford', 'DatabaseSearchParameters.docx', '21e35b75-6a63-4673-b2d4-48e5db053f9b', 4), ('proteomics TMT', '19cdeffc03d42393a851a5e1df1ddc4a', 2583023, 'proteomics_level_4/replicate01/Lumos2_FAP1_C1R5_HDR_070919_Fr_Proteins.txt', 'txt', NULL, 'Proteome Discoverer 2.5', 'HTA10_01_004,HTA10_01_005,HTA10_01_021,HTA10_01_102,HTA10_01_107,HTA10_01_122,HTA10_01_124,HTA10_01_210,HTA10_01_214,HTA10_01_219,HTA10_01_222,HTA10_02_010,HTA10_02_016,HTA10_02_019,HTA10_02_021,HTA10_02_023,HTA10_02_024,HTA10_02_025,HTA10_02_103,HTA10_02_107,HTA10_02_116,HTA10_02_121,HTA10_02_122,HTA10_02_123,HTA10_02_201,HTA10_02_202,HTA10_02_203,HTA10_02_204,HTA10_02_207,HTA10_02_209,HTA10_02_211,HTA10_02_212,HTA10_02_213,HTA10_03_001,HTA10_03_052,HTA10_03_055,HTA10_03_114,HTA10_03_201,HTA10_04_002,HTA10_04_008,HTA10_04_010,HTA10_04_102,HTA10_04_109,HTA10_04_206,HTA10_05_002,HTA10_05_004,HTA10_05_007,HTA10_05_008,HTA10_05_025,HTA10_05_027,HTA10_05_037,HTA10_05_038,HTA10_05_039,HTA10_05_040,HTA10_05_046,HTA10_05_053,HTA10_05_061,HTA10_05_063,HTA10_05_065,HTA10_05_072,HTA10_05_073,HTA10_05_074,HTA10_05_076,HTA10_05_105,HTA10_05_088,HTA10_05_092,HTA10_05_095,HTA10_05_098,HTA10_05_103,HTA10_05_104,HTA10_06_105,HTA10_06_002,HTA10_06_004,HTA10_06_005,HTA10_06_024,HTA10_06_025,HTA10_06_032,HTA10_06_043,HTA10_06_044,HTA10_06_045,HTA10_06_049,HTA10_06_051,HTA10_06_055,HTA10_06_061,HTA10_06_062,HTA10_06_065,HTA10_06_107,HTA10_06_110,HTA10_07_001,HTA10_07_006,HTA10_07_101,HTA10_07_201,HTA10_04_001', 'MassSpectrometryLevel4', 'HTA10_0000_06145,HTA10_0000_06146,HTA10_0000_06147,HTA10_0000_06148,HTA10_0000_06149,HTA10_0000_06150,HTA10_0000_06151,HTA10_0000_06152,HTA10_0000_06153,HTA10_0000_06154,HTA10_0000_06155,HTA10_0000_06156', 'HTA10_0000_06362', 'Release 5.1', 'syn25126686', 'syn51732873', 'HTAN Stanford', 'DatabaseSearchParameters.docx', '4d43da6b-1e30-4c0a-928c-3b24c2292c76', 4), ('proteomics TMT', 'e5f68dbbc0f625167993a57417dae7f3', 2686328, 'proteomics_level_4/replicate02/Lumos2_FAP2_C2R5_HDR_090120_Fr_Proteins.txt', 'txt', NULL, 'Proteome Discoverer 2.5', 'HTA10_01_004,HTA10_01_005,HTA10_01_021,HTA10_01_102,HTA10_01_107,HTA10_01_122,HTA10_01_124,HTA10_01_210,HTA10_01_214,HTA10_01_219,HTA10_01_222,HTA10_02_010,HTA10_02_016,HTA10_02_019,HTA10_02_021,HTA10_02_023,HTA10_02_024,HTA10_02_025,HTA10_02_103,HTA10_02_107,HTA10_02_116,HTA10_02_121,HTA10_02_122,HTA10_02_123,HTA10_02_201,HTA10_02_202,HTA10_02_203,HTA10_02_204,HTA10_02_207,HTA10_02_209,HTA10_02_211,HTA10_02_212,HTA10_02_213,HTA10_03_001,HTA10_03_052,HTA10_03_055,HTA10_03_114,HTA10_03_201,HTA10_04_002,HTA10_04_008,HTA10_04_010,HTA10_04_102,HTA10_04_109,HTA10_04_206,HTA10_05_002,HTA10_05_004,HTA10_05_007,HTA10_05_008,HTA10_05_025,HTA10_05_027,HTA10_05_037,HTA10_05_038,HTA10_05_039,HTA10_05_040,HTA10_05_046,HTA10_05_053,HTA10_05_061,HTA10_05_063,HTA10_05_065,HTA10_05_072,HTA10_05_073,HTA10_05_074,HTA10_05_076,HTA10_05_105,HTA10_05_088,HTA10_05_092,HTA10_05_095,HTA10_05_098,HTA10_05_103,HTA10_05_104,HTA10_06_105,HTA10_06_002,HTA10_06_004,HTA10_06_005,HTA10_06_024,HTA10_06_025,HTA10_06_032,HTA10_06_043,HTA10_06_044,HTA10_06_045,HTA10_06_049,HTA10_06_051,HTA10_06_055,HTA10_06_061,HTA10_06_062,HTA10_06_065,HTA10_06_107,HTA10_06_110,HTA10_07_001,HTA10_07_006,HTA10_07_101,HTA10_07_201,HTA10_04_001', 'MassSpectrometryLevel4', 'HTA10_0000_06289,HTA10_0000_06290,HTA10_0000_06291,HTA10_0000_06292,HTA10_0000_06293,HTA10_0000_06294,HTA10_0000_06295,HTA10_0000_06296,HTA10_0000_06297,HTA10_0000_06298,HTA10_0000_06299,HTA10_0000_06300', 'HTA10_0000_06386', 'Release 5.1', 'syn23879779', 'syn51732873', 'HTAN Stanford', 'DatabaseSearchParameters.docx', '2c703f14-dd6a-41ec-b5fb-cccb6724b571', 4);