-- DBMS: snowflake
create or replace TABLE BULKRNASEQ_LEVEL1_METADATA_CURRENT (
	"Micro_region_Seq_Platform" VARCHAR(16777216),
	"Nucleic_Acid_Source" VARCHAR(16777216),
	"Adapter_Name" VARCHAR(16777216),
	"Library_Layout" VARCHAR(16777216),
	"Library_Strand" VARCHAR(16777216),
	"Adapter_Content" VARCHAR(16777216),
	"HTAN_Data_File_ID" VARCHAR(16777216),
	"Per_Base_Sequence_Content" VARCHAR(16777216),
	"Basic_Statistics" VARCHAR(16777216),
	"Component" VARCHAR(16777216),
	"Target_Depth" VARCHAR(16777216),
	"Total_Reads" VARCHAR(16777216),
	"Base_Caller_Name" VARCHAR(16777216),
	"QC_Workflow_Link" VARCHAR(16777216),
	"ROI_Tag" VARCHAR(16777216),
	"QC_Workflow_Version" VARCHAR(16777216),
	"Read_Length" VARCHAR(16777216),
	"Fragment_Maximum_Length" VARCHAR(16777216),
	DV200 VARCHAR(16777216),
	"Size_Selection_Range" VARCHAR(16777216),
	"Multiplex_Barcode" VARCHAR(16777216),
	"Library_Preparation_Kit_Version" VARCHAR(16777216),
	"Fragment_Minimum_Length" VARCHAR(16777216),
	"Base_Caller_Version" VARCHAR(16777216),
	"Library_Preparation_Kit_Vendor" VARCHAR(16777216),
	"Library_Selection_Method" VARCHAR(16777216),
	"To_Trim_Adapter_Sequence" VARCHAR(16777216),
	RIN VARCHAR(16777216),
	"Per_Sequence_GC_Content" VARCHAR(16777216),
	"Sequencing_Platform" VARCHAR(16777216),
	"Overrepresented_Sequences" VARCHAR(16777216),
	"HTAN_Parent_Biospecimen_ID" VARCHAR(16777216),
	"Sequence_Length_Distribution" VARCHAR(16777216),
	"Sequence_Duplication_Levels" VARCHAR(16777216),
	"Filename" VARCHAR(16777216),
	"Library_Preparation_Kit_Name" VARCHAR(16777216),
	"entityId" VARCHAR(16777216),
	"Percent_GC_Content" VARCHAR(16777216),
	"Per_Tile_Sequence_Quality" VARCHAR(16777216),
	"Adapter_Sequence" VARCHAR(16777216),
	"Per_Base_N_Content" VARCHAR(16777216),
	"Library_Preparation_Days_from_Index" VARCHAR(16777216),
	"QC_Workflow_Type" VARCHAR(16777216),
	"Kmer_Content" VARCHAR(16777216),
	"Per_Base_Sequence_Quality" VARCHAR(16777216),
	"Fragment_Mean_Length" VARCHAR(16777216),
	"Flow_Cell_Barcode" VARCHAR(16777216),
	"Fragment_Standard_Deviation_Length" VARCHAR(16777216),
	"Id" VARCHAR(16777216),
	"Lane_Number" VARCHAR(16777216),
	"Per_Sequence_Quality_Score" VARCHAR(16777216),
	"Encoding" VARCHAR(16777216),
	"Read_Indicator" VARCHAR(16777216),
	"Spike_In_Concentration" VARCHAR(16777216),
	"Transcript_Integrity_Number" VARCHAR(16777216),
	"Spike_In" VARCHAR(16777216),
	"File_Format" VARCHAR(16777216),
	"Sequencing_Batch_ID" 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"."BULKRNASEQ_LEVEL1_METADATA_CURRENT" (Fragment_Mean_Length, Base_Caller_Name, To_Trim_Adapter_Sequence, Manifest_Id, Library_Layout, Overrepresented_Sequences, Adapter_Content, Spike_In, HTAN_Center, QC_Workflow_Version, QC_Workflow_Type, Adapter_Sequence, Nucleic_Acid_Source, Spike_In_Concentration, Read_Indicator, Filename, Sequencing_Batch_ID, Percent_GC_Content, Lane_Number, Library_Preparation_Kit_Name, Data_Release, Adapter_Name, Library_Strand, CDS_Release, Library_Preparation_Kit_Version, Base_Caller_Version, Total_Reads, RIN, Per_Base_Sequence_Quality, Sequencing_Platform, ROI_Tag, HTAN_Data_File_ID, Multiplex_Barcode, Kmer_Content, entityId, File_Format, HTAN_Parent_Biospecimen_ID, Fragment_Maximum_Length, DV200, Library_Selection_Method, Sequence_Length_Distribution, Flow_Cell_Barcode, Per_Base_N_Content, Component, QC_Workflow_Link, Target_Depth, Fragment_Minimum_Length, Read_Length, Manifest_Version, Id, Fragment_Standard_Deviation_Length, Size_Selection_Range, Per_Sequence_GC_Content, Per_Tile_Sequence_Quality, Encoding, Basic_Statistics, Per_Base_Sequence_Content, Per_Sequence_Quality_Score, Transcript_Integrity_Number, Sequence_Duplication_Levels, Library_Preparation_Days_from_Index, Micro_region_Seq_Platform, Library_Preparation_Kit_Vendor, File_Size, md5) VALUES (NULL, NULL, NULL, 'syn39144781', 'Paired End', NULL, NULL, 'No Spike In', 'HTAN HMS', NULL, NULL, NULL, 'Bulk Whole Cell', NULL, 'R1', 'PickSeq_Level_1/S1_R1.fastq.gz', '1', NULL, NULL, 'ThruPLEX DNA-seq Kit', 'Release 2.0', NULL, NULL, 'v22.6.1.seq', 'R400674', NULL, NULL, NULL, NULL, 'Illumina NextSeq', NULL, 'HTA7_1_1009', NULL, NULL, 'syn25882567', 'fastq', 'HTA7_1_21', NULL, NULL, 'Poly-T Enrichment', NULL, NULL, NULL, 'BulkRNA-seqLevel1', NULL, NULL, NULL, '75bp', 3, '324ec299-4d80-4541-9e92-863c46e06f84', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Takara Bio', 166359311, '43bb2940344a30b020eb75e1cf15f255'), (NULL, NULL, NULL, 'syn39144781', 'Paired End', NULL, NULL, 'No Spike In', 'HTAN HMS', NULL, NULL, NULL, 'Bulk Whole Cell', NULL, 'R1', 'PickSeq_Level_1/S2_R1.fastq.gz', '1', NULL, NULL, 'ThruPLEX DNA-seq Kit', 'Release 2.0', NULL, NULL, 'v22.6.1.seq', 'R400674', NULL, NULL, NULL, NULL, 'Illumina NextSeq', NULL, 'HTA7_1_1231', NULL, NULL, 'syn25882569', 'fastq', 'HTA7_1_22', NULL, NULL, 'Poly-T Enrichment', NULL, NULL, NULL, 'BulkRNA-seqLevel1', NULL, NULL, NULL, '75bp', 3, '9cd86670-851c-4d1c-ae9d-9a45a9ec05ec', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Takara Bio', 146702426, '14d6a3fb8f3cde5d8d231c59909be248'), (NULL, NULL, NULL, 'syn39144781', 'Paired End', NULL, NULL, 'No Spike In', 'HTAN HMS', NULL, NULL, NULL, 'Bulk Whole Cell', NULL, 'R2', 'PickSeq_Level_1/S3_R2.fastq.gz', '1', NULL, NULL, 'ThruPLEX DNA-seq Kit', 'Release 2.0', NULL, NULL, 'v22.6.1.seq', 'R400674', NULL, NULL, NULL, NULL, 'Illumina NextSeq', NULL, 'HTA7_1_1300', NULL, NULL, 'syn25882572', 'fastq', 'HTA7_1_23', NULL, NULL, 'Poly-T Enrichment', NULL, NULL, NULL, 'BulkRNA-seqLevel1', NULL, NULL, NULL, '75bp', 3, 'a82a43a1-5c22-4538-8da0-2a2d5af74110', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Takara Bio', 118960253, '14f4a09fd96f976f5804f087c82e14c8'), (NULL, NULL, NULL, 'syn39144781', 'Paired End', NULL, NULL, 'No Spike In', 'HTAN HMS', NULL, NULL, NULL, 'Bulk Whole Cell', NULL, 'R1', 'PickSeq_Level_1/S3_R1.fastq.gz', '1', NULL, NULL, 'ThruPLEX DNA-seq Kit', 'Release 2.0', NULL, NULL, 'v22.6.1.seq', 'R400674', NULL, NULL, NULL, NULL, 'Illumina NextSeq', NULL, 'HTA7_1_1299', NULL, NULL, 'syn25882571', 'fastq', 'HTA7_1_23', NULL, NULL, 'Poly-T Enrichment', NULL, NULL, NULL, 'BulkRNA-seqLevel1', NULL, NULL, NULL, '75bp', 3, '0a3cc75e-000c-4b57-8c27-bdaf8237ec2d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Takara Bio', 94338680, '8ee5063418e37fb18ba0cc971b920df3'), (NULL, NULL, NULL, 'syn39144781', 'Paired End', NULL, NULL, 'No Spike In', 'HTAN HMS', NULL, NULL, NULL, 'Bulk Whole Cell', NULL, 'R2', 'PickSeq_Level_1/S4_R2.fastq.gz', '1', NULL, NULL, 'ThruPLEX DNA-seq Kit', 'Release 2.0', NULL, NULL, 'v22.6.1.seq', 'R400674', NULL, NULL, NULL, NULL, 'Illumina NextSeq', NULL, 'HTA7_1_1322', NULL, NULL, 'syn25882574', 'fastq', 'HTA7_1_24', NULL, NULL, 'Poly-T Enrichment', NULL, NULL, NULL, 'BulkRNA-seqLevel1', NULL, NULL, NULL, '75bp', 3, '84d89b74-d312-400f-9de3-3f8219a640c3', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Takara Bio', 120863379, '54a8f8e58b3628561cc9aa849ff6fe0c');