-- DBMS: snowflake
create or replace TABLE PER_SAMPLE_FILE_METADATA_HG38_GDC_R38 (
	"file_gdc_id" VARCHAR(16777216),
	"case_gdc_id" VARCHAR(16777216),
	"case_barcode" VARCHAR(16777216),
	"sample_gdc_id" VARCHAR(16777216),
	"sample_barcode" VARCHAR(16777216),
	"sample_type_name" VARCHAR(16777216),
	"project_short_name" VARCHAR(16777216),
	"project_short_name_suffix" VARCHAR(16777216),
	"program_name" VARCHAR(16777216),
	"data_type" VARCHAR(16777216),
	"data_category" VARCHAR(16777216),
	"experimental_strategy" VARCHAR(16777216),
	"file_type" VARCHAR(16777216),
	"file_size" NUMBER(38,0),
	"data_format" VARCHAR(16777216),
	"platform" VARCHAR(16777216),
	"file_name_key" VARCHAR(16777216),
	"index_file_id" VARCHAR(16777216),
	"index_file_name_key" VARCHAR(16777216),
	"index_file_size" NUMBER(38,0),
	"access" VARCHAR(16777216),
	"acl" VARCHAR(16777216)
);

INSERT INTO "TCGA_MITELMAN"."TCGA_VERSIONED"."PER_SAMPLE_FILE_METADATA_HG38_GDC_R38" (program_name, platform, case_barcode, index_file_id, file_type, data_format, project_short_name, sample_gdc_id, file_size, data_category, data_type, experimental_strategy, access, file_name_key, index_file_name_key, case_gdc_id, acl, project_short_name_suffix, index_file_size, file_gdc_id, sample_barcode, sample_type_name) VALUES ('TCGA', 'Illumina', 'TCGA-AJ-A2QM', '7cfd2806-d1e8-466e-85fa-cd610c014c7d', 'aligned_reads', 'BAM', 'TCGA-UCEC', 'f2748bad-0575-4258-9186-118bbd471325', 15573376090, 'Sequencing Reads', 'Aligned Reads', 'WXS', 'controlled', 'gs://gdc-tcga-phs000178-controlled/3daab018-3f1e-47fd-8e14-392a0c0b97ba/da870dda-98d2-46a9-b8be-1b78318ee40a_wxs_gdc_realn.bam', 'gs://gdc-tcga-phs000178-controlled/7cfd2806-d1e8-466e-85fa-cd610c014c7d/da870dda-98d2-46a9-b8be-1b78318ee40a_wxs_gdc_realn.bai', 'd9f4a2c1-ac6d-48c6-95fe-ffbc2fa08268', 'phs000178', 'UCEC', 7059048.0, '3daab018-3f1e-47fd-8e14-392a0c0b97ba', 'TCGA-AJ-A2QM-01A', 'Primary Tumor'), ('TCGA', 'Illumina', 'TCGA-A5-A0GH', 'de629d04-d41f-46cf-a6e9-1854f548910d', 'aligned_reads', 'BAM', 'TCGA-UCEC', '2d4a1278-43f4-4b1a-95f9-ca9c62aaeb40', 31398453785, 'Sequencing Reads', 'Aligned Reads', 'WXS', 'controlled', 'gs://gdc-tcga-phs000178-controlled/a28bcd03-1200-4688-afb5-7af87a6499d6/7e4a42df-c683-49fe-89fe-9e95b9f070df_wxs_gdc_realn.bam', 'gs://gdc-tcga-phs000178-controlled/de629d04-d41f-46cf-a6e9-1854f548910d/7e4a42df-c683-49fe-89fe-9e95b9f070df_wxs_gdc_realn.bai', '32e33897-29c8-48f2-b833-98f37204e0e7', 'phs000178', 'UCEC', 8132016.0, 'a28bcd03-1200-4688-afb5-7af87a6499d6', 'TCGA-A5-A0GH-10A', 'Blood Derived Normal'), ('TCGA', 'Illumina', 'TCGA-B5-A3FC', NULL, 'aligned_reads', 'BAM', 'TCGA-UCEC', 'cb538aff-c08c-455d-8dd8-e3cd0d404e00', 11329932628, 'Sequencing Reads', 'Aligned Reads', 'RNA-Seq', 'controlled', 'gs://gdc-tcga-phs000178-controlled/af38d153-7543-4ed6-984b-8c7aaead9b85/cf1a0bd8-1f5d-487a-90a3-efd038575b1d.rna_seq.transcriptome.gdc_realn.bam', NULL, 'ec2040a3-788b-4f2c-a093-c5c4b3dc4b6c', 'phs000178', 'UCEC', nan, 'af38d153-7543-4ed6-984b-8c7aaead9b85', 'TCGA-B5-A3FC-01A', 'Primary Tumor'), ('TCGA', 'Illumina', 'TCGA-D1-A2G6', '2d5ee62e-c859-4dba-82d3-65b725b9130b', 'aligned_reads', 'BAM', 'TCGA-UCEC', '2127e58b-bd7b-490e-b34b-4f626b2a4053', 299474434727, 'Sequencing Reads', 'Aligned Reads', 'WGS', 'controlled', 'gs://gdc-tcga-phs000178-controlled/cab75aca-7568-4dd1-b98a-05f31c488578/TCGA-D1-A2G6-01A-11D-A843-36.WholeGenome.RP-1657.bam', 'gs://gdc-tcga-phs000178-controlled/2d5ee62e-c859-4dba-82d3-65b725b9130b/TCGA-D1-A2G6-01A-11D-A843-36.WholeGenome.RP-1657.bai', '46cd8ded-f8a1-4f8c-a4c2-2d5b51c04f18', 'phs000178', 'UCEC', 10373896.0, 'cab75aca-7568-4dd1-b98a-05f31c488578', 'TCGA-D1-A2G6-01A', 'Primary Tumor'), ('TCGA', 'Illumina', 'TCGA-EO-A2CH', '9d17a7b9-4b55-4695-af61-3e9151920c35', 'aligned_reads', 'BAM', 'TCGA-UCEC', 'f0906353-4c3b-4f71-9b0b-cb1477450013', 182632252, 'Sequencing Reads', 'Aligned Reads', 'miRNA-Seq', 'controlled', 'gs://gdc-tcga-phs000178-controlled/08734d30-7ee3-4c37-b0c4-0ea6c9d16e0c/TCGA-EO-A2CH-01A-11R-A17X-13_mirna_gdc_realn.bam', 'gs://gdc-tcga-phs000178-controlled/9d17a7b9-4b55-4695-af61-3e9151920c35/TCGA-EO-A2CH-01A-11R-A17X-13_mirna_gdc_realn.bai', '0cc9a11f-1ac4-431d-8f94-52a3bc02b572', 'phs000178', 'UCEC', 3439336.0, '08734d30-7ee3-4c37-b0c4-0ea6c9d16e0c', 'TCGA-EO-A2CH-01A', 'Primary Tumor');