-- DBMS: snowflake
create or replace TABLE SCATACSEQ_LEVEL1_METADATA_CURRENT (
	"Nucleus_Identifier" VARCHAR(16777216),
	"Nucleic_Acid_Source" VARCHAR(16777216),
	"HTAN_Data_File_ID" VARCHAR(16777216),
	"Component" VARCHAR(16777216),
	"Total_Reads" VARCHAR(16777216),
	"Well_Index" VARCHAR(16777216),
	"Nuclei_Barcode_Length" VARCHAR(16777216),
	"scATACseq_Read3" VARCHAR(16777216),
	"Single_Nucleus_Buffer" VARCHAR(16777216),
	"Median_Fraction_of_Reads_in_Peaks" VARCHAR(16777216),
	"Threshold_for_Minimum_Passing_Reads" VARCHAR(16777216),
	"Median_Passing_Read_Percentage" VARCHAR(16777216),
	"Transposition_Reaction" VARCHAR(16777216),
	"scATACseq_Library_Layout" VARCHAR(16777216),
	"Technical_Replicate_Group" VARCHAR(16777216),
	"scATACseq_Read1" VARCHAR(16777216),
	"Sequencing_Platform" VARCHAR(16777216),
	"HTAN_Parent_Biospecimen_ID" VARCHAR(16777216),
	"Nuclei_Barcode_Read" VARCHAR(16777216),
	"Library_Construction_Method" VARCHAR(16777216),
	"Filename" VARCHAR(16777216),
	"Single_Cell_Isolation_Method" VARCHAR(16777216),
	"Dissociation_Method" VARCHAR(16777216),
	"entityId" VARCHAR(16777216),
	"Median_Percentage_of_Mitochondrial_Reads_per_Nucleus" VARCHAR(16777216),
	"scATACseq_Read2" VARCHAR(16777216),
	"Protocol_Link" VARCHAR(16777216),
	"Empty_Well_Barcode" VARCHAR(16777216),
	"Total_Number_of_Passing_Nuclei" VARCHAR(16777216),
	"Id" VARCHAR(16777216),
	"Median_Fraction_of_Reads_in_Annotated_cis_DNA_Elements" 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"."SCATACSEQ_LEVEL1_METADATA_CURRENT" (Technical_Replicate_Group, Nucleic_Acid_Source, Total_Reads, Library_Construction_Method, Median_Percentage_of_Mitochondrial_Reads_per_Nucleus, Protocol_Link, scATACseq_Read3, Total_Number_of_Passing_Nuclei, Component, Threshold_for_Minimum_Passing_Reads, File_Format, Well_Index, Dissociation_Method, Nucleus_Identifier, Single_Nucleus_Buffer, Transposition_Reaction, Manifest_Version, Nuclei_Barcode_Read, entityId, File_Size, scATACseq_Read2, scATACseq_Read1, Data_Release, Median_Passing_Read_Percentage, CDS_Release, Median_Fraction_of_Reads_in_Peaks, Manifest_Id, Median_Fraction_of_Reads_in_Annotated_cis_DNA_Elements, Nuclei_Barcode_Length, Empty_Well_Barcode, Filename, scATACseq_Library_Layout, Single_Cell_Isolation_Method, HTAN_Data_File_ID, Sequencing_Platform, Id, HTAN_Parent_Biospecimen_ID, HTAN_Center, md5) VALUES (NULL, 'Single Nucleus', NULL, '10xV1.1', '1', 'https://support.10xgenomics.com/single-cell-atac/library-prep/doc/user-guide-chromium-single-cell-atac-reagent-kits-user-guide-v1-chemistry', 'DNA Insert', '1', 'ScATAC-seqLevel1', '2000', 'fastq', NULL, 'Not Applicable', 'Nuclei Barcode', '10x', 'Tn5', 2, 'Read2', 'syn51404644', 1902631776, 'Cell Barcode', 'DNA Insert', 'Release 5.0', '1', NULL, '1', 'syn53192024', '1', '16', NULL, 'single_cell_ATACseq_level_1_ped_glioma/HTAN_pHGG_2360_Reg2/HTAN_pHGG_2360_Reg2_snATAC_S2_L001_R2_001.fastq.gz', 'scATACseq Paired End', '10x', 'HTA4_2001_56668', 'Illumina NovaSeq 6000', '25993bf5-4b7d-43b6-9deb-44ec882a6324', 'HTA4_2001_7007', 'HTAN CHOP', 'b6024ef91ef45decf405d5e2e0c95a0a'), (NULL, 'Single Nucleus', NULL, '10xV1.1', '1', 'https://support.10xgenomics.com/single-cell-atac/library-prep/doc/user-guide-chromium-single-cell-atac-reagent-kits-user-guide-v1-chemistry', 'DNA Insert', '1', 'ScATAC-seqLevel1', '2000', 'fastq', NULL, 'Not Applicable', 'Nuclei Barcode', '10x', 'Tn5', 2, 'Read2', 'syn51404675', 3675454488, 'Cell Barcode', 'DNA Insert', 'Release 5.0', '1', NULL, '1', 'syn53192024', '1', '16', NULL, 'single_cell_ATACseq_level_1_ped_glioma/HTAN_pHGG_2360_Reg2/HTAN_pHGG_2360_Reg2_snATAC_S2_L001_R3_001.fastq.gz', 'scATACseq Paired End', '10x', 'HTA4_2001_56669', 'Illumina NovaSeq 6000', 'b4eb7719-5b06-4dfe-ad6d-858115c60ec8', 'HTA4_2001_7007', 'HTAN CHOP', '94a54297d60df6aca233804b9aede5a7'), (NULL, 'Single Nucleus', NULL, '10xV1.1', '1', 'https://support.10xgenomics.com/single-cell-atac/library-prep/doc/user-guide-chromium-single-cell-atac-reagent-kits-user-guide-v1-chemistry', 'DNA Insert', '1', 'ScATAC-seqLevel1', '2000', 'fastq', NULL, 'Not Applicable', 'Nuclei Barcode', '10x', 'Tn5', 2, 'Read2', 'syn51404681', 4000179279, 'Cell Barcode', 'DNA Insert', 'Release 5.0', '1', NULL, '1', 'syn53192024', '1', '16', NULL, 'single_cell_ATACseq_level_1_ped_glioma/HTAN_pHGG_2360_Reg2/HTAN_pHGG_2360_Reg2_snATAC_S2_L002_R3_001.fastq.gz', 'scATACseq Paired End', '10x', 'HTA4_2001_56672', 'Illumina NovaSeq 6000', '09d67c5c-c915-459b-b97b-a0be55ad6904', 'HTA4_2001_7007', 'HTAN CHOP', '528af7d65ee72ddfc655192a79f20280'), (NULL, 'Single Nucleus', NULL, '10xV1.1', '1', 'https://support.10xgenomics.com/single-cell-atac/library-prep/doc/user-guide-chromium-single-cell-atac-reagent-kits-user-guide-v1-chemistry', 'DNA Insert', '1', 'ScATAC-seqLevel1', '2000', 'fastq', NULL, 'Not Applicable', 'Nuclei Barcode', '10x', 'Tn5', 2, 'Read2', 'syn51404761', 3652708265, 'Cell Barcode', 'DNA Insert', 'Release 5.0', '1', NULL, '1', 'syn53192024', '1', '16', NULL, 'single_cell_ATACseq_level_1_ped_glioma/HTAN_pHGG_2360_Reg2/HTAN_pHGG_2360_Reg2_snATAC_S2_L001_R1_001.fastq.gz', 'scATACseq Paired End', '10x', 'HTA4_2001_56667', 'Illumina NovaSeq 6000', '35dcb5c0-9e03-41cf-ac1b-935d42d71050', 'HTA4_2001_7007', 'HTAN CHOP', '8ca94f22ef208f6b9f1085d464de1549'), (NULL, 'Single Nucleus', NULL, '10xV1.1', '1', 'https://support.10xgenomics.com/single-cell-atac/library-prep/doc/user-guide-chromium-single-cell-atac-reagent-kits-user-guide-v1-chemistry', 'DNA Insert', '1', 'ScATAC-seqLevel1', '2000', 'fastq', NULL, 'Not Applicable', 'Nuclei Barcode', '10x', 'Tn5', 2, 'Read2', 'syn51404680', 3986123889, 'Cell Barcode', 'DNA Insert', 'Release 5.0', '1', NULL, '1', 'syn53192024', '1', '16', NULL, 'single_cell_ATACseq_level_1_ped_glioma/HTAN_pHGG_2360_Reg2/HTAN_pHGG_2360_Reg2_snATAC_S2_L002_R1_001.fastq.gz', 'scATACseq Paired End', '10x', 'HTA4_2001_56670', 'Illumina NovaSeq 6000', '3f2c7b50-f0fa-4410-aabd-9d53f465b90d', 'HTA4_2001_7007', 'HTAN CHOP', '94106b34a61475baea6d6b7b492b23ba');