-- DBMS: snowflake
create or replace TABLE MASSSPECTROMETRY_LEVEL1_METADATA_CURRENT (
	"LC_Instrument_Vendor_and_Model" VARCHAR(16777216),
	"LC_Column_Vendor_and_Model" VARCHAR(16777216),
	"MS_Source" VARCHAR(16777216),
	"HTAN_Data_File_ID" VARCHAR(16777216),
	"LC_ID_Value" VARCHAR(16777216),
	"Component" VARCHAR(16777216),
	"Data_Collection_Mode" VARCHAR(16777216),
	"Polarity" VARCHAR(16777216),
	"MS_Labeling" VARCHAR(16777216),
	"Analyte_Type" VARCHAR(16777216),
	"MS_based_Assay_Type" VARCHAR(16777216),
	"LC_Gradient" VARCHAR(16777216),
	"LC_Temp_Value" VARCHAR(16777216),
	"LC_Length_Value" VARCHAR(16777216),
	"MS_based_Targeted" VARCHAR(16777216),
	"Mass_Range_Low_Value" VARCHAR(16777216),
	"HTAN_Parent_Biospecimen_ID" VARCHAR(16777216),
	"MS_Instrument_Metadata_File" VARCHAR(16777216),
	"MS_Instrument_Vendor_and_Model" VARCHAR(16777216),
	"Filename" VARCHAR(16777216),
	"MS_Batch_ID" VARCHAR(16777216),
	"entityId" VARCHAR(16777216),
	"LC_Resin" VARCHAR(16777216),
	"Mass_Range_High_Value" VARCHAR(16777216),
	"Protocol_Link" VARCHAR(16777216),
	"LC_Mobile_Phase_A" VARCHAR(16777216),
	"Id" VARCHAR(16777216),
	"LC_Mobile_Phase_B" VARCHAR(16777216),
	"MS_Scan_Mode" VARCHAR(16777216),
	"LC_Flow_Rate" 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_LEVEL1_METADATA_CURRENT" (Manifest_Id, LC_Mobile_Phase_B, Data_Release, Protocol_Link, File_Size, Polarity, md5, MS_Instrument_Vendor_and_Model, Filename, Analyte_Type, MS_Batch_ID, Component, LC_Column_Vendor_and_Model, MS_Labeling, MS_Instrument_Metadata_File, Manifest_Version, Mass_Range_Low_Value, LC_Gradient, LC_Length_Value, LC_Instrument_Vendor_and_Model, LC_Resin, entityId, MS_based_Assay_Type, MS_Scan_Mode, LC_Flow_Rate, LC_Mobile_Phase_A, LC_Temp_Value, CDS_Release, HTAN_Center, LC_ID_Value, Id, HTAN_Data_File_ID, MS_Source, File_Format, HTAN_Parent_Biospecimen_ID, Mass_Range_High_Value, Data_Collection_Mode, Software_and_Version, MS_based_Targeted) VALUES ('syn53711588', '-', 'Release 5.1', 'dx.doi.org/10.17504/protocols.io.dm6gp37qdvzp/v1', 23521741, 'negative', 'e2fc287ff91b230997a473fcb9410263', 'Sciex 5500 QTRAP and SelexION differential mobility spectrometry with MRM with positive/negative ionization', 'lipidomics/batch-1/mode-2/F027.mzML', 'lipid', 'batch1', 'MassSpectrometryLevel1', '-', 'No', NULL, 4, '5', '-', '-', 'Shimazdu LC-30AD ', '-', 'syn51512822', 'MS', 'other', '-', '-', '-', NULL, 'HTAN Stanford', '-', '6a160f26-4410-4fd2-820b-5b67b8be5f31', 'HTA10_05_02704002', 'other', 'mzML', 'HTA10_05_027', '1000', 'other', 'the Lipidomics Workflow Manager (LWM, v1.0.5.0) ', 'Targeted'), ('syn53711588', '-', 'Release 5.1', 'dx.doi.org/10.17504/protocols.io.dm6gp37qdvzp/v1', 23572921, 'negative', '39a2c0208b4fec43f9418f3a8f6eb67a', 'Sciex 5500 QTRAP and SelexION differential mobility spectrometry with MRM with positive/negative ionization', 'lipidomics/batch-1/mode-2/F-NL-CEC_(F-Asc-001).mzML', 'lipid', 'batch1', 'MassSpectrometryLevel1', '-', 'No', NULL, 4, '5', '-', '-', 'Shimazdu LC-30AD ', '-', 'syn51513828', 'MS', 'other', '-', '-', '-', NULL, 'HTAN Stanford', '-', '64743ebe-03e5-44e2-a679-c7c4284948e0', 'HTA10_05_10304002', 'other', 'mzML', 'HTA10_05_103', '1000', 'other', 'the Lipidomics Workflow Manager (LWM, v1.0.5.0) ', 'Targeted'), ('syn53711588', '-', 'Release 5.1', 'dx.doi.org/10.17504/protocols.io.dm6gp37qdvzp/v1', 23534829, 'negative', 'f973465d33060bef46b3f063e0a30073', 'Sciex 5500 QTRAP and SelexION differential mobility spectrometry with MRM with positive/negative ionization', 'lipidomics/batch-1/mode-2/F095.mzML', 'lipid', 'batch1', 'MassSpectrometryLevel1', '-', 'No', NULL, 4, '5', '-', '-', 'Shimazdu LC-30AD ', '-', 'syn51513346', 'MS', 'other', '-', '-', '-', NULL, 'HTAN Stanford', '-', '54626660-952a-40fc-bb9f-9a64f3954bc7', 'HTA10_05_09504002', 'other', 'mzML', 'HTA10_05_095', '1000', 'other', 'the Lipidomics Workflow Manager (LWM, v1.0.5.0) ', 'Targeted'), ('syn53711588', '-', 'Release 5.1', 'dx.doi.org/10.17504/protocols.io.dm6gp37qdvzp/v1', 16163639, 'positive', '9014d6e87f7d257114b80d49e0276e17', 'Sciex 5500 QTRAP and SelexION differential mobility spectrometry with MRM with positive/negative ionization', 'lipidomics/batch-1/mode-1/F027.mzML', 'lipid', 'batch1', 'MassSpectrometryLevel1', '-', 'No', NULL, 4, '5', '-', '-', 'Shimazdu LC-30AD ', '-', 'syn51512820', 'MS', 'other', '-', '-', '-', NULL, 'HTAN Stanford', '-', 'c0b2f48b-5873-4834-8eaf-42c895ce1f15', 'HTA10_05_02704001', 'other', 'mzML', 'HTA10_05_027', '1000', 'other', 'the Lipidomics Workflow Manager (LWM, v1.0.5.0) ', 'Targeted'), ('syn53711588', '-', 'Release 5.1', 'dx.doi.org/10.17504/protocols.io.dm6gp37qdvzp/v1', 23550661, 'negative', '1eb9bb1e273e9fa8ba80419dfb2ff604', 'Sciex 5500 QTRAP and SelexION differential mobility spectrometry with MRM with positive/negative ionization', 'lipidomics/batch-1/mode-2/F009.mzML', 'lipid', 'batch1', 'MassSpectrometryLevel1', '-', 'No', NULL, 4, '5', '-', '-', 'Shimazdu LC-30AD ', '-', 'syn51512780', 'MS', 'other', '-', '-', '-', NULL, 'HTAN Stanford', '-', '47640646-37dd-4573-87fb-791520d6051b', 'HTA10_05_00904002', 'other', 'mzML', 'HTA10_05_009', '1000', 'other', 'the Lipidomics Workflow Manager (LWM, v1.0.5.0) ', 'Targeted');