-- DBMS: snowflake
create or replace TABLE PER_SAMPLE_FILE_METADATA_HG19_GDC_R34 (
	"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_HG19_GDC_R34" (data_format, sample_gdc_id, case_gdc_id, experimental_strategy, project_short_name, file_name_key, data_category, access, file_gdc_id, file_type, sample_type_name, acl, platform, program_name, sample_barcode, file_size, index_file_size, project_short_name_suffix, index_file_id, index_file_name_key, data_type, case_barcode) VALUES ('BAM', '8f45d68c-d4d7-426d-87c4-03a74fadbebb', '06f09d1c-ba44-4cf9-a518-762d241a30db', 'RNA-Seq', 'TCGA-SKCM', 'gs://gdc-tcga-phs000178-controlled/SKCM/RNA/RNA-Seq/UNC-LCCC/ILLUMINA/UNCID_1221471.34049292-a4b9-4a3a-94be-e1febcecc848.sorted_genome_alignments.bam', 'Raw sequencing data', 'controlled', '5ec2267d-840d-48c4-b18a-a5f35a3e4231', 'file', 'Metastatic', 'phs000178', 'Illumina HiSeq', 'TCGA', 'TCGA-EE-A2GP-06A', 5541852005, 6315192, 'SKCM', 'f4b446fb-c5f3-4589-98cd-8727385bf81f', 'gs://gdc-tcga-phs000178-controlled/SKCM/RNA/RNA-Seq/UNC-LCCC/ILLUMINA/UNCID_1221471.34049292-a4b9-4a3a-94be-e1febcecc848.sorted_genome_alignments.bam.bai', 'Aligned reads', 'TCGA-EE-A2GP'), ('BAM', '478a0b67-a1cf-456a-8d5f-12a1bf907afb', 'c127ffb6-2ccf-4e90-b811-0aa40ebfab17', 'RNA-Seq', 'TCGA-SKCM', 'gs://gdc-tcga-phs000178-controlled/SKCM/RNA/RNA-Seq/UNC-LCCC/ILLUMINA/UNCID_1283421.ade35c8d-30dd-4e45-9f7c-9818072a02db.sorted_genome_alignments.bam', 'Raw sequencing data', 'controlled', 'b6aaa29e-262b-42eb-8397-10d1f7eb81ff', 'file', 'Metastatic', 'phs000178', 'Illumina HiSeq', 'TCGA', 'TCGA-EE-A2MQ-06A', 6672973281, 5894216, 'SKCM', 'b7722f65-2a2b-456c-9148-e4f508519468', 'gs://gdc-tcga-phs000178-controlled/SKCM/RNA/RNA-Seq/UNC-LCCC/ILLUMINA/UNCID_1283421.ade35c8d-30dd-4e45-9f7c-9818072a02db.sorted_genome_alignments.bam.bai', 'Aligned reads', 'TCGA-EE-A2MQ'), ('BAM', '1bdfb4ea-f6e1-4c77-9fc6-421c246e4a9a', 'e218fc54-1139-4944-82e2-742839e5553a', 'WXS', 'TCGA-SKCM', 'gs://gdc-tcga-phs000178-controlled/SKCM/DNA/WXS/BI/ILLUMINA/C828.TCGA-ER-A199-10A-01D-A199-08.1.bam', 'Raw sequencing data', 'controlled', '5be4a543-8958-4026-a305-04b64f7f725b', 'file', 'Blood Derived Normal', 'phs000178', 'Illumina HiSeq', 'TCGA', 'TCGA-ER-A199-10A', 6826609420, 5740560, 'SKCM', 'c204e875-883f-48b0-bfe3-6ff8ccbb1733', 'gs://gdc-tcga-phs000178-controlled/SKCM/DNA/WXS/BI/ILLUMINA/C828.TCGA-ER-A199-10A-01D-A199-08.1.bam.bai', 'Aligned reads', 'TCGA-ER-A199'), ('BAM', '83679b9d-34f4-487b-93e3-08f1b8060120', '5f6df69c-4ebf-4811-8b28-ad393dfbe1a3', 'WXS', 'TCGA-SKCM', 'gs://gdc-tcga-phs000178-controlled/SKCM/DNA/WXS/BI/ILLUMINA/C828.TCGA-ER-A19L-06A-12D-A197-08.3.bam', 'Raw sequencing data', 'controlled', 'f94cc926-b4ab-49bc-9359-55629b612464', 'file', 'Metastatic', 'phs000178', 'Illumina HiSeq', 'TCGA', 'TCGA-ER-A19L-06A', 10476405764, 5883240, 'SKCM', '3d1522b6-c9c2-4685-b6f0-8e9d96aab403', 'gs://gdc-tcga-phs000178-controlled/SKCM/DNA/WXS/BI/ILLUMINA/C828.TCGA-ER-A19L-06A-12D-A197-08.3.bam.bai', 'Aligned reads', 'TCGA-ER-A19L'), ('BAM', '1bbef533-eb97-492c-a674-ac5c8b8ac7f2', '391eab51-b140-4bc2-bc8c-99400fba9066', 'miRNA-Seq', 'TCGA-SKCM', 'gs://gdc-tcga-phs000178-controlled/8499e5e6-ac98-49b8-8d42-2c9b47697c0e/TCGA-ER-A19Q-06A-11R-A18X-13_mirna.bam', 'Raw sequencing data', 'controlled', '8499e5e6-ac98-49b8-8d42-2c9b47697c0e', 'file', 'Metastatic', 'phs000178', 'Illumina HiSeq', 'TCGA', 'TCGA-ER-A19Q-06A', 220308351, 5231008, 'SKCM', '3a743292-ef16-4b07-b2f1-8bbf669feecf', 'gs://gdc-tcga-phs000178-controlled/3a743292-ef16-4b07-b2f1-8bbf669feecf/TCGA-ER-A19Q-06A-11R-A18X-13_mirna.bam.bai', 'Aligned reads', 'TCGA-ER-A19Q');