-- DBMS: snowflake
create or replace TABLE PER_SAMPLE_FILE_METADATA_HG38_GDC_R37 (
	"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_R37" (index_file_id, case_gdc_id, project_short_name, sample_gdc_id, sample_barcode, index_file_name_key, sample_type_name, file_size, access, file_type, data_type, project_short_name_suffix, file_gdc_id, platform, case_barcode, data_format, experimental_strategy, program_name, data_category, index_file_size, acl, file_name_key) VALUES (NULL, 'adc22472-e31d-419f-aeae-cb01b9423343', 'TCGA-UCEC', '074d4466-e072-42cd-9a6c-a595dc9363e7', 'TCGA-A5-A0GU-01A', NULL, 'Primary Tumor', 80819, 'controlled', 'annotated_somatic_mutation', 'Annotated Somatic Mutation', 'UCEC', 'b89a89fc-e783-49ad-8a7c-6e7455ea3515', NULL, 'TCGA-A5-A0GU', 'MAF', 'WXS', 'TCGA', 'Simple Nucleotide Variation', nan, 'phs000178', 'gs://gdc-tcga-phs000178-controlled/b89a89fc-e783-49ad-8a7c-6e7455ea3515/3bfa6ae3-2665-4206-bf8e-a4926d6831ed.wxs.Pindel.aliquot.maf.gz'), (NULL, 'e70465f6-1922-4eb7-b646-8b01ad3ce77b', 'TCGA-UCEC', 'f4a2823e-a694-4036-88dc-8c27f7854db4', 'TCGA-D1-A16E-10A', NULL, 'Blood Derived Normal', 45837, 'controlled', 'annotated_somatic_mutation', 'Annotated Somatic Mutation', 'UCEC', '46fb5069-df89-4a51-a5c4-225e8f3e3926', NULL, 'TCGA-D1-A16E', 'MAF', 'WXS', 'TCGA', 'Simple Nucleotide Variation', nan, 'phs000178', 'gs://gdc-tcga-phs000178-controlled/46fb5069-df89-4a51-a5c4-225e8f3e3926/e7935b84-178b-46b6-bb1b-f1e4f529ca6a.wxs.Pindel.aliquot.maf.gz'), ('9cdbc3be-edf6-433e-be85-17503becf822', '22669a01-21d3-404c-ac19-cf0a6c03bb1d', 'TCGA-UCEC', '1ddb6a9e-1d85-48e4-86e8-c1064cedc2e6', 'TCGA-PG-A5BC-10A', 'gs://gdc-tcga-phs000178-controlled/9cdbc3be-edf6-433e-be85-17503becf822/TCGA_UCEC.97279125-b746-4e38-903f-eaa7ed2cfb09.wxs.MuSE.somatic_annotation.vcf.gz.tbi', 'Blood Derived Normal', 149789, 'controlled', 'annotated_somatic_mutation', 'Annotated Somatic Mutation', 'UCEC', '6bb0bba4-2e68-4c19-8712-9e660918fdd4', NULL, 'TCGA-PG-A5BC', 'VCF', 'WXS', 'TCGA', 'Simple Nucleotide Variation', 9091.0, 'phs000178', 'gs://gdc-tcga-phs000178-controlled/6bb0bba4-2e68-4c19-8712-9e660918fdd4/TCGA_UCEC.97279125-b746-4e38-903f-eaa7ed2cfb09.wxs.MuSE.somatic_annotation.vcf.gz'), (NULL, '755d7ab7-4563-408a-9135-f852048af975', 'TCGA-UCEC', 'a4b56935-7bb9-4c84-9176-e8d694f37faa', 'TCGA-AX-A1C7-01A', NULL, 'Primary Tumor', 73712, 'controlled', 'annotated_somatic_mutation', 'Annotated Somatic Mutation', 'UCEC', '87402484-7cf8-4574-9fc6-816621283f19', NULL, 'TCGA-AX-A1C7', 'MAF', 'WXS', 'TCGA', 'Simple Nucleotide Variation', nan, 'phs000178', 'gs://gdc-tcga-phs000178-controlled/87402484-7cf8-4574-9fc6-816621283f19/27656520-8405-42b5-9e5b-9d8b1c923dc3.wxs.Pindel.aliquot.maf.gz'), (NULL, '2f4458b6-3caf-4e33-890e-a04722badd1b', 'TCGA-UCEC', 'bd040510-4425-4f67-836f-ad1523e2e035', 'TCGA-A5-A0GB-10A', NULL, 'Blood Derived Normal', 5014397, 'controlled', 'annotated_somatic_mutation', 'Annotated Somatic Mutation', 'UCEC', '0c4f2fa1-34a6-4bc0-9028-39505672d655', NULL, 'TCGA-A5-A0GB', 'MAF', 'WXS', 'TCGA', 'Simple Nucleotide Variation', nan, 'phs000178', 'gs://gdc-tcga-phs000178-controlled/0c4f2fa1-34a6-4bc0-9028-39505672d655/a675464b-d8f0-49f9-bc86-cf88560f847f.wxs.Pindel.aliquot.maf.gz');