-- DBMS: snowflake
create or replace TABLE BULKWES_LEVEL3_METADATA_CURRENT (
	"Structural_Variant_Workflow_URL" VARCHAR(16777216),
	"Germline_Variants_Workflow_URL" VARCHAR(16777216),
	"Custom_Germline_Variants_Workflow_Type" VARCHAR(16777216),
	"HTAN_Data_File_ID" VARCHAR(16777216),
	"Component" VARCHAR(16777216),
	"Somatic_Variants_Workflow_Type" VARCHAR(16777216),
	"HTAN_Parent_Data_File_ID" VARCHAR(16777216),
	"Genomic_Reference_URL" VARCHAR(16777216),
	"Custom_Structural_Variant_Workflow_Type" VARCHAR(16777216),
	"Genomic_Reference" VARCHAR(16777216),
	"Structural_Variant_Workflow_Type" VARCHAR(16777216),
	"Germline_Variants_Workflow_Type" VARCHAR(16777216),
	"Filename" VARCHAR(16777216),
	"Custom_Somatic_Variants_Workflow_Type" VARCHAR(16777216),
	"entityId" VARCHAR(16777216),
	"Somatic_Variants_Workflow_URL" VARCHAR(16777216),
	"Somatic_Variants_Sample_Type" VARCHAR(16777216),
	"Id" 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"."BULKWES_LEVEL3_METADATA_CURRENT" (Filename, Id, md5, HTAN_Data_File_ID, Somatic_Variants_Workflow_Type, Data_Release, File_Format, HTAN_Parent_Data_File_ID, HTAN_Center, Germline_Variants_Workflow_URL, Genomic_Reference_URL, Structural_Variant_Workflow_Type, Custom_Germline_Variants_Workflow_Type, Somatic_Variants_Sample_Type, Germline_Variants_Workflow_Type, Manifest_Id, Component, CDS_Release, Structural_Variant_Workflow_URL, Manifest_Version, Genomic_Reference, Somatic_Variants_Workflow_URL, Custom_Structural_Variant_Workflow_Type, File_Size, Custom_Somatic_Variants_Workflow_Type, entityId) VALUES ('bulk_DNAseq_level_3/TBCRC/H_SL-16_BCM-001_A10.seg', 'c07adcdb-1f9f-45ba-875f-ad04a1834f7b', 'f1fabe550b737daf3a94bd9e06fd19b8', 'HTA6_1_9', NULL, 'Release 4.0', 'seg', 'HTA6_1_8', 'HTAN Duke', 'Not Applicable', 'https://www.gencodegenes.org/human/release_38.html', 'CNV', NULL, 'Not Applicable', NULL, 'syn51695643', 'BulkWESLevel3', NULL, 'https://github.com/cancersysbio/htan-DCIS/tree/main/analysis/sWGS_CNA_pipeline', 2, 'Gencode Release 38 (GRCh38.p13)', 'Not Applicable', NULL, 1409, NULL, 'syn51672769'), ('bulk_DNAseq_level_3/TBCRC/H_SL-14_BCM-005_A58.seg', '9afd2121-2b7b-4b0c-acb7-dc1b71758118', 'e3919d07fecafd149838bad08ca80878', 'HTA6_5_8', NULL, 'Release 4.0', 'seg', 'HTA6_5_7', 'HTAN Duke', 'Not Applicable', 'https://www.gencodegenes.org/human/release_38.html', 'CNV', NULL, 'Not Applicable', NULL, 'syn51695643', 'BulkWESLevel3', NULL, 'https://github.com/cancersysbio/htan-DCIS/tree/main/analysis/sWGS_CNA_pipeline', 2, 'Gencode Release 38 (GRCh38.p13)', 'Not Applicable', NULL, 978, NULL, 'syn51672767'), ('bulk_DNAseq_level_3/TBCRC/H_SL-10_DCIS-046NR_A8.seg', '28369fb4-f100-4bdc-ad08-52b7b012f55b', '14231590b925f18580d7a85a5a64ff69', 'HTA6_10_7', NULL, 'Release 4.0', 'seg', 'HTA6_10_6', 'HTAN Duke', 'Not Applicable', 'https://www.gencodegenes.org/human/release_38.html', 'CNV', NULL, 'Not Applicable', NULL, 'syn51695643', 'BulkWESLevel3', NULL, 'https://github.com/cancersysbio/htan-DCIS/tree/main/analysis/sWGS_CNA_pipeline', 2, 'Gencode Release 38 (GRCh38.p13)', 'Not Applicable', NULL, 5528, NULL, 'syn51672644'), ('bulk_DNAseq_level_3/TBCRC/H_SL-2_DCIS-049R_D6.seg', 'b6abf718-238b-47f1-8d1a-3af8766c7fe6', '63755b1f1bda17e3faa5deb1a01f5934', 'HTA6_12_8', NULL, 'Release 4.0', 'seg', 'HTA6_12_7', 'HTAN Duke', 'Not Applicable', 'https://www.gencodegenes.org/human/release_38.html', 'CNV', NULL, 'Not Applicable', NULL, 'syn51695643', 'BulkWESLevel3', NULL, 'https://github.com/cancersysbio/htan-DCIS/tree/main/analysis/sWGS_CNA_pipeline', 2, 'Gencode Release 38 (GRCh38.p13)', 'Not Applicable', NULL, 2807, NULL, 'syn51672775'), ('bulk_DNAseq_level_3/TBCRC/H_SL-26_DCIS-120_NR_A7.seg', 'cf0e6159-ffdd-4442-9a48-f3ac622e1150', '2d0b2181056ed586932d9d41712112b0', 'HTA6_16_7', NULL, 'Release 4.0', 'seg', 'HTA6_16_6', 'HTAN Duke', 'Not Applicable', 'https://www.gencodegenes.org/human/release_38.html', 'CNV', NULL, 'Not Applicable', NULL, 'syn51695643', 'BulkWESLevel3', NULL, 'https://github.com/cancersysbio/htan-DCIS/tree/main/analysis/sWGS_CNA_pipeline', 2, 'Gencode Release 38 (GRCh38.p13)', 'Not Applicable', NULL, 3861, NULL, 'syn51672785');