-- DBMS: snowflake
create or replace TABLE _10XVISIUM_SPATIALTRANSCRIPTOMICS_SCRNASEQ_LEVEL2_METADATA_CURRENT (
	"Workflow_Link" VARCHAR(16777216),
	"Whitelist_Spatial_Barcode_File_Link" VARCHAR(16777216),
	"UMI_Tag" VARCHAR(16777216),
	"HTAN_Data_File_ID" VARCHAR(16777216),
	"Component" VARCHAR(16777216),
	"Run_ID" VARCHAR(16777216),
	"Aligned_Read_Length" VARCHAR(16777216),
	"HTAN_Parent_Data_File_ID" VARCHAR(16777216),
	"Genomic_Reference_URL" VARCHAR(16777216),
	"Checksum" VARCHAR(16777216),
	"Genomic_Reference" VARCHAR(16777216),
	"Workflow_Version" VARCHAR(16777216),
	"Genome_Annotation_URL" VARCHAR(16777216),
	"HTAN_Parent_Biospecimen_ID" VARCHAR(16777216),
	"Filename" VARCHAR(16777216),
	"entityId" VARCHAR(16777216),
	"Applied_Hard_Trimming" VARCHAR(16777216),
	"Capture_Area" VARCHAR(16777216),
	"Spatial_Barcode_Tag" 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"."_10XVISIUM_SPATIALTRANSCRIPTOMICS_SCRNASEQ_LEVEL2_METADATA_CURRENT" (Workflow_Version, Manifest_Id, Genome_Annotation_URL, Filename, Genomic_Reference_URL, md5, HTAN_Center, entityId, CDS_Release, Workflow_Link, Data_Release, Manifest_Version, Capture_Area, HTAN_Parent_Biospecimen_ID, Genomic_Reference, UMI_Tag, HTAN_Parent_Data_File_ID, Run_ID, Spatial_Barcode_Tag, Aligned_Read_Length, Checksum, HTAN_Data_File_ID, Applied_Hard_Trimming, File_Size, Id, File_Format, Whitelist_Spatial_Barcode_File_Link, Component) VALUES ('spaceranger-1.2.2', 'syn51203651', 'https://cf.10xgenomics.com/supp/spatial-exp/refdata-gex-GRCh38-2020-A.tar.gz', 'visium_level_2_pdac_bam/HT231P1-S1H3Fc2U1Z1Bs1-H3Bs2-Test-possorted_genome_bam.bam', 'https://support.10xgenomics.com/spatial-gene-expression/software/downloads/latest', 'ba149772d6b87e73b3b9f77724cd4aca', 'HTAN WUSTL', 'syn51201393', 'v23.7.1.seq', 'https://github.com/reykajayasinghe/HTAN/blob/main/Single_cell_preprocessing/run_spaceranger_1.2.2.sh', 'Release 3.0', 8, 'A1', 'HTA12_23_3', 'refdata-gex-GRCh38-2020-A', 'UR:Z', 'HTA12_23_1005,HTA12_23_1006', 'HT231P1-S1H3Fc2U1Z1Bs1-H3Bs2-Test', 'CB:Z', NULL, 'ba149772d6b87e73b3b9f77724cd4aca', 'HTA12_23_2002', 'No', 23246516060, 'e2a54ed7-d2f6-44e7-8258-397b31a899e7', 'bam', 'https://kb.10xgenomics.com/hc/en-us/articles/115004506263-What-is-a-barcode-whitelist-', '10xVisiumSpatialTranscriptomics-RNA-seqLevel2'), ('spaceranger-1.1.0', 'syn51203651', 'https://cf.10xgenomics.com/supp/spatial-exp/refdata-gex-GRCh38-2020-A.tar.gz', 'visium_level_2_pdac_bam/HT232P1H2A2-possorted_genome_bam.bam', 'https://support.10xgenomics.com/spatial-gene-expression/software/downloads/latest', '2a9356ba7a42498b216dc65c33384755', 'HTAN WUSTL', 'syn51201378', 'v23.7.1.seq', 'https://github.com/reykajayasinghe/HTAN/blob/main/Single_cell_preprocessing/run_spaceranger_1.2.2.sh', 'Release 3.0', 8, 'D1', 'HTA12_24_6', 'refdata-gex-GRCh38-2020-A', 'UR:Z', 'HTA12_24_1011,HTA12_24_1012', 'HT232P1H2A2', 'CB:Z', NULL, '2a9356ba7a42498b216dc65c33384755', 'HTA12_24_2003', 'No', 20251335735, 'a12d36ca-6182-4bd9-9b9b-46b22c0644e4', 'bam', 'https://kb.10xgenomics.com/hc/en-us/articles/115004506263-What-is-a-barcode-whitelist-', '10xVisiumSpatialTranscriptomics-RNA-seqLevel2'), ('spaceranger-1.2.1', 'syn51203651', 'https://cf.10xgenomics.com/supp/spatial-exp/refdata-gex-GRCh38-2020-A.tar.gz', 'visium_level_2_pdac_bam/HT242P1H2-S1Fc1U1Z1B1_1-possorted_genome_bam.bam', 'https://support.10xgenomics.com/spatial-gene-expression/software/downloads/latest', '35c68b00a4b43808987f1239813c4711', 'HTAN WUSTL', 'syn51201391', 'v23.7.1.seq', 'https://github.com/reykajayasinghe/HTAN/blob/main/Single_cell_preprocessing/run_spaceranger_1.2.2.sh', 'Release 3.0', 8, 'B1', 'HTA12_25_6', 'refdata-gex-GRCh38-2020-A', 'UR:Z', 'HTA12_25_1011,HTA12_25_1012', 'HT242P1H2-S1Fc1U1Z1B1_1', 'CB:Z', NULL, '35c68b00a4b43808987f1239813c4711', 'HTA12_25_2003', 'No', 22219013045, '0ca9f358-301c-46bb-9aa0-2508d1488ea3', 'bam', 'https://kb.10xgenomics.com/hc/en-us/articles/115004506263-What-is-a-barcode-whitelist-', '10xVisiumSpatialTranscriptomics-RNA-seqLevel2'), ('spaceranger-1.2.1', 'syn51203651', 'https://cf.10xgenomics.com/supp/spatial-exp/refdata-gex-GRCh38-2020-A.tar.gz', 'visium_level_2_pdac_bam/HT242P1H3-S1Fc1U1Z1B1_1-possorted_genome_bam.bam', 'https://support.10xgenomics.com/spatial-gene-expression/software/downloads/latest', 'be06afbaef58ac1e8eeb883e0d78d181', 'HTAN WUSTL', 'syn51201370', 'v23.7.1.seq', 'https://github.com/reykajayasinghe/HTAN/blob/main/Single_cell_preprocessing/run_spaceranger_1.2.2.sh', 'Release 3.0', 8, 'C1', 'HTA12_25_7', 'refdata-gex-GRCh38-2020-A', 'UR:Z', 'HTA12_25_1013,HTA12_25_1014', 'HT242P1H3-S1Fc1U1Z1B1_1', 'CB:Z', NULL, 'be06afbaef58ac1e8eeb883e0d78d181', 'HTA12_25_2004', 'No', 17993298433, 'ab4ffe4f-1518-4020-8664-a5eaa52d7467', 'bam', 'https://kb.10xgenomics.com/hc/en-us/articles/115004506263-What-is-a-barcode-whitelist-', '10xVisiumSpatialTranscriptomics-RNA-seqLevel2'), ('spaceranger-1.2.1', 'syn51203651', 'https://cf.10xgenomics.com/supp/spatial-exp/refdata-gex-GRCh38-2020-A.tar.gz', 'visium_level_2_pdac_bam/HT259P1-S1H1Fc2U1Z1Bs1-1-possorted_genome_bam.bam', 'https://support.10xgenomics.com/spatial-gene-expression/software/downloads/latest', '2a311437dc1d05b6c7a3bc5ee211467b', 'HTAN WUSTL', 'syn51201369', 'v23.7.1.seq', 'https://github.com/reykajayasinghe/HTAN/blob/main/Single_cell_preprocessing/run_spaceranger_1.2.2.sh', 'Release 3.0', 8, 'A1', 'HTA12_26_5', 'refdata-gex-GRCh38-2020-A', 'UR:Z', 'HTA12_26_1009,HTA12_26_1010', 'HT259P1-S1H1Fc2U1Z1Bs1-1', 'CB:Z', NULL, '2a311437dc1d05b6c7a3bc5ee211467b', 'HTA12_26_2002', 'No', 15962180482, '4fb53775-d070-4a06-a38f-bcbfb4a895a7', 'bam', 'https://kb.10xgenomics.com/hc/en-us/articles/115004506263-What-is-a-barcode-whitelist-', '10xVisiumSpatialTranscriptomics-RNA-seqLevel2');