-- 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"."TCGA_VERSIONED"."PER_SAMPLE_FILE_METADATA_HG38_GDC_R38" (program_name, platform, case_barcode, index_file_id, file_type, project_short_name, data_format, 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_type_name, sample_barcode) VALUES ('TCGA', 'Illumina', 'TCGA-B5-A11X', '147cf4b1-7638-4904-911b-984b7d6dabc3', 'aligned_reads', 'TCGA-UCEC', 'BAM', '1494cb46-3418-448f-9e16-6af85f0e6567', 23707829547, 'Sequencing Reads', 'Aligned Reads', 'WXS', 'controlled', 'gs://gdc-tcga-phs000178-controlled/c625e681-30c1-4b8c-ae0e-139c67d80207/85cb816c-492f-48b5-8ce1-7b75ad797f7d_wxs_gdc_realn.bam', 'gs://gdc-tcga-phs000178-controlled/147cf4b1-7638-4904-911b-984b7d6dabc3/85cb816c-492f-48b5-8ce1-7b75ad797f7d_wxs_gdc_realn.bai', 'f70a64a8-3faa-468a-a6f3-4815eb01e5a3', 'phs000178', 'UCEC', 6728816.0, 'c625e681-30c1-4b8c-ae0e-139c67d80207', 'Blood Derived Normal', 'TCGA-B5-A11X-10A'), ('TCGA', 'Illumina', 'TCGA-AJ-A2QM', '7cfd2806-d1e8-466e-85fa-cd610c014c7d', 'aligned_reads', 'TCGA-UCEC', 'BAM', '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', 'Primary Tumor', 'TCGA-AJ-A2QM-01A'), ('TCGA', 'Illumina', 'TCGA-A5-A0GH', 'de629d04-d41f-46cf-a6e9-1854f548910d', 'aligned_reads', 'TCGA-UCEC', 'BAM', '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', 'Blood Derived Normal', 'TCGA-A5-A0GH-10A'), ('TCGA', 'Illumina', 'TCGA-EO-A3KX', '9ac70d21-1ff7-4f28-ba0b-507376171012', 'aligned_reads', 'TCGA-UCEC', 'BAM', '6bae52b8-1ff6-417d-b4e5-0df4fa057b40', 168877236039, 'Sequencing Reads', 'Aligned Reads', 'WGS', 'controlled', 'gs://gdc-tcga-phs000178-controlled/16d2e4c8-f8e3-4044-a987-2237808f2ce7/TCGA-EO-A3KX-10A-01D-A846-36.WholeGenome.RP-1657.bam', 'gs://gdc-tcga-phs000178-controlled/9ac70d21-1ff7-4f28-ba0b-507376171012/TCGA-EO-A3KX-10A-01D-A846-36.WholeGenome.RP-1657.bai', 'fe2e89f7-8f4d-420a-a551-4877cf0fd1d3', 'phs000178', 'UCEC', 9701344.0, '16d2e4c8-f8e3-4044-a987-2237808f2ce7', 'Blood Derived Normal', 'TCGA-EO-A3KX-10A'), ('TCGA', 'Illumina', 'TCGA-B5-A3FC', NULL, 'aligned_reads', 'TCGA-UCEC', 'BAM', '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', 'Primary Tumor', 'TCGA-B5-A3FC-01A');