-- DBMS: snowflake
create or replace TABLE _10XVISIUM_SPATIALTRANSCRIPTOMICS_SCRNASEQ_LEVEL3_METADATA_CURRENT (
	"Workflow_Link" VARCHAR(16777216),
	"Visium_File_Type" VARCHAR(16777216),
	"HTAN_Data_File_ID" VARCHAR(16777216),
	"Component" VARCHAR(16777216),
	"Median_Number_Genes_per_Spatial_Spot" VARCHAR(16777216),
	"File_Format" VARCHAR(16777216),
	"Run_ID" VARCHAR(16777216),
	"HTAN_Parent_Data_File_ID" VARCHAR(16777216),
	"Proportion_Reads_Mapped" VARCHAR(16777216),
	"Median_UMI_Counts_per_Spot" VARCHAR(16777216),
	"Workflow_Version" VARCHAR(16777216),
	"HTAN_Parent_Biospecimen_ID" VARCHAR(16777216),
	"Filename" VARCHAR(16777216),
	"Spots_under_tissue" VARCHAR(16777216),
	"Proportion_Reads_Mapped_to_Transcriptome" VARCHAR(16777216),
	"entityId" VARCHAR(16777216),
	"Capture_Area" VARCHAR(16777216),
	"Id" VARCHAR(16777216),
	"Sequencing_Saturation" VARCHAR(16777216),
	"Mean_Reads_per_Spatial_Spot" 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_LEVEL3_METADATA_CURRENT" (Capture_Area, HTAN_Parent_Data_File_ID, Run_ID, Mean_Reads_per_Spatial_Spot, Data_Release, Filename, HTAN_Center, Visium_File_Type, HTAN_Parent_Biospecimen_ID, Manifest_Version, Median_Number_Genes_per_Spatial_Spot, Proportion_Reads_Mapped_to_Transcriptome, Spots_under_tissue, entityId, Sequencing_Saturation, Workflow_Link, Id, Proportion_Reads_Mapped, File_Size, md5, HTAN_Data_File_ID, Workflow_Version, File_Format, Manifest_Id, CDS_Release, Component, Median_UMI_Counts_per_Spot) VALUES (NULL, 'HTA12_129_2000', 'V10U24-099', '56600', 'Release 5.0', 'V10X_level_3_BRCA23/HT206B1-S1Fc1U2Z1B1-barcodes.tsv.gz', 'HTAN WUSTL', 'barcodes', 'HTA12_129_7', 2, '3637', '83.50%', '3949', 'syn53215135', '60.60%', 'https://github.com/reykajayasinghe/HTAN/blob/main/Single_cell_preprocessing/run_spaceranger_1.2.2.sh', '6cb68b79-b5c1-41f1-a0d3-bd0778497549', NULL, 25674, '75c11d8d207153ecabc0b1d824516d79', 'HTA12_129_3016', 'spaceranger-1.1.0', 'gzip', 'syn53334449', NULL, '10xVisiumSpatialTranscriptomics-RNA-seqLevel3', '12313'), (NULL, 'HTA12_129_2000', 'V10U24-099', '56600', 'Release 5.0', 'V10X_level_3_BRCA23/HT206B1-S1Fc1U2Z1B1-tissue_lowres_image.png', 'HTAN WUSTL', 'low res image', 'HTA12_129_7', 2, '3637', '83.50%', '3949', 'syn53215278', '60.60%', 'https://github.com/reykajayasinghe/HTAN/blob/main/Single_cell_preprocessing/run_spaceranger_1.2.2.sh', 'e079ad38-a450-488a-bf63-aa68e17de7ac', NULL, 671227, 'be30489cc7c895c14ecc0029c23113a5', 'HTA12_129_3019', 'spaceranger-1.1.0', 'png', 'syn53334449', NULL, '10xVisiumSpatialTranscriptomics-RNA-seqLevel3', '12313'), (NULL, 'HTA12_129_2000', 'V10U24-099', '56600', 'Release 5.0', 'V10X_level_3_BRCA23/HT206B1-S1Fc1U2Z1B1-tissue_positions_list.csv', 'HTAN WUSTL', 'tissue_positions', 'HTA12_129_7', 2, '3637', '83.50%', '3949', 'syn53215161', '60.60%', 'https://github.com/reykajayasinghe/HTAN/blob/main/Single_cell_preprocessing/run_spaceranger_1.2.2.sh', '0ac91409-95a7-4ffb-bc70-7ddcfba43712', NULL, 189694, '6bd31de15f43094ff9178888395cb70d', 'HTA12_129_3014', 'spaceranger-1.1.0', 'csv', 'syn53334449', NULL, '10xVisiumSpatialTranscriptomics-RNA-seqLevel3', '12313'), (NULL, 'HTA12_129_2000', 'V10U24-099', '56600', 'Release 5.0', 'V10X_level_3_BRCA23/HT206B1-S1Fc1U2Z1B1-scalefactors_json.json', 'HTAN WUSTL', 'json scale factors', 'HTA12_129_7', 2, '3637', '83.50%', '3949', 'syn53215250', '60.60%', 'https://github.com/reykajayasinghe/HTAN/blob/main/Single_cell_preprocessing/run_spaceranger_1.2.2.sh', '39a7d2c8-391a-4c3d-b01a-e16bf3f0cb31', NULL, 167, '2c71dd6c8d0a63131bb69515811d90cf', 'HTA12_129_3006', 'spaceranger-1.1.0', 'json', 'syn53334449', NULL, '10xVisiumSpatialTranscriptomics-RNA-seqLevel3', '12313'), (NULL, 'HTA12_129_2000', 'V10U24-099', '56600', 'Release 5.0', 'V10X_level_3_BRCA23/HT206B1-S1Fc1U2Z1B1-features.tsv.gz', 'HTAN WUSTL', 'features', 'HTA12_129_7', 2, '3637', '83.50%', '3949', 'syn53215213', '60.60%', 'https://github.com/reykajayasinghe/HTAN/blob/main/Single_cell_preprocessing/run_spaceranger_1.2.2.sh', '9900f59a-e6c1-429f-a79b-f1a80a59bb74', NULL, 294383, 'e8d1d024b0e559272f2426e5829e63c3', 'HTA12_129_3020', 'spaceranger-1.1.0', 'gzip', 'syn53334449', NULL, '10xVisiumSpatialTranscriptomics-RNA-seqLevel3', '12313');