-- DBMS: snowflake
create or replace TABLE SOMATIC_MUTATION_HG38_GDC_R6 (
	"project_short_name" VARCHAR(16777216),
	"case_barcode" VARCHAR(16777216),
	"sample_barcode_tumor" VARCHAR(16777216),
	"sample_barcode_normal" VARCHAR(16777216),
	"aliquot_barcode_tumor" VARCHAR(16777216),
	"aliquot_barcode_normal" VARCHAR(16777216),
	"NCBI_Build" VARCHAR(16777216),
	"Hugo_Symbol" VARCHAR(16777216),
	HGNC_ID VARCHAR(16777216),
	"Entrez_Gene_Id" NUMBER(38,0),
	SYMBOL VARCHAR(16777216),
	SYMBOL_SOURCE VARCHAR(16777216),
	"Variant_Classification" VARCHAR(16777216),
	VARIANT_CLASS VARCHAR(16777216),
	"Variant_Type" VARCHAR(16777216),
	"Chromosome" VARCHAR(16777216),
	"Start_Position" NUMBER(38,0),
	"End_Position" NUMBER(38,0),
	"Strand" VARCHAR(16777216),
	TRANSCRIPT_STRAND NUMBER(38,0),
	"Mutation_Status" VARCHAR(16777216),
	"HGVSc" VARCHAR(16777216),
	"HGVSp" VARCHAR(16777216),
	"HGVSp_Short" VARCHAR(16777216),
	"cDNA_position" VARCHAR(16777216),
	"CDS_position" VARCHAR(16777216),
	"Protein_position" VARCHAR(16777216),
	"Amino_acids" VARCHAR(16777216),
	"Codons" VARCHAR(16777216),
	"Gene" VARCHAR(16777216),
	"Feature" VARCHAR(16777216),
	"Feature_type" VARCHAR(16777216),
	BIOTYPE VARCHAR(16777216),
	"Transcript_ID" VARCHAR(16777216),
	"Exon_Number" VARCHAR(16777216),
	"callerName" VARCHAR(16777216),
	FILTER VARCHAR(16777216),
	GDC_FILTER VARCHAR(16777216),
	"GDC_Validation_Status" VARCHAR(16777216),
	"MC3_Overlap" VARCHAR(16777216),
	"Center" VARCHAR(16777216),
	"Sequencer" VARCHAR(16777216),
	COSMIC VARCHAR(16777216),
	"dbSNP_RS" VARCHAR(16777216),
	"dbSNP_Val_Status" VARCHAR(16777216),
	"Consequence" VARCHAR(16777216),
	IMPACT VARCHAR(16777216),
	MINIMISED VARCHAR(16777216),
	"Reference_Allele" VARCHAR(16777216),
	"Allele" VARCHAR(16777216),
	ALLELE_NUM VARCHAR(16777216),
	"Tumor_Seq_Allele1" VARCHAR(16777216),
	"Tumor_Seq_Allele2" VARCHAR(16777216),
	"Match_Norm_Seq_Allele1" VARCHAR(16777216),
	"Match_Norm_Seq_Allele2" VARCHAR(16777216),
	"Tumor_Validation_Allele1" VARCHAR(16777216),
	"Tumor_Validation_Allele2" VARCHAR(16777216),
	"Match_Norm_Validation_Allele1" VARCHAR(16777216),
	"Match_Norm_Validation_Allele2" VARCHAR(16777216),
	"gdc_case_uuid" VARCHAR(16777216),
	"gdc_tumor_sample_uuid" VARCHAR(16777216),
	"gdc_normal_sample_uuid" VARCHAR(16777216),
	"gdc_maf_uuid" VARCHAR(16777216),
	"gdc_maf_file_name" VARCHAR(16777216),
	"gdc_vcf_uuid" VARCHAR(16777216),
	"gdc_tumor_bam_uuid" VARCHAR(16777216),
	"gdc_normal_bam_uuid" VARCHAR(16777216),
	"t_depth" VARCHAR(16777216),
	"t_ref_count" VARCHAR(16777216),
	"t_alt_count" VARCHAR(16777216),
	"n_depth" VARCHAR(16777216),
	"n_ref_count" VARCHAR(16777216),
	"n_alt_count" VARCHAR(16777216),
	"Verification_Status" VARCHAR(16777216),
	"Validation_Status" VARCHAR(16777216),
	"Sequencing_Phase" VARCHAR(16777216),
	"Sequence_Source" VARCHAR(16777216),
	"Validation_Method" VARCHAR(16777216),
	"Score" VARCHAR(16777216),
	"BAM_File" VARCHAR(16777216),
	"all_effects" VARCHAR(16777216),
	"Existing_variation" VARCHAR(16777216),
	DISTANCE NUMBER(38,0),
	CANONICAL VARCHAR(16777216),
	CCDS VARCHAR(16777216),
	ENSP VARCHAR(16777216),
	SWISSPROT VARCHAR(16777216),
	TREMBL VARCHAR(16777216),
	UNIPARC VARCHAR(16777216),
	"RefSeq" VARCHAR(16777216),
	SIFT VARCHAR(16777216),
	"PolyPhen" VARCHAR(16777216),
	EXON VARCHAR(16777216),
	INTRON VARCHAR(16777216),
	DOMAINS VARCHAR(16777216),
	CLIN_SIG VARCHAR(16777216),
	SOMATIC VARCHAR(16777216),
	PUBMED VARCHAR(16777216),
	MOTIF_NAME VARCHAR(16777216),
	MOTIF_POS VARCHAR(16777216),
	HIGH_INF_POS VARCHAR(16777216),
	MOTIF_SCORE_CHANGE VARCHAR(16777216),
	PICK VARCHAR(16777216),
	TSL NUMBER(38,0),
	HGVS_OFFSET NUMBER(38,0),
	PHENO VARCHAR(16777216),
	GENE_PHENO VARCHAR(16777216),
	CONTEXT VARCHAR(16777216),
	GMAF FLOAT,
	AFR_MAF FLOAT,
	AMR_MAF FLOAT,
	ASN_MAF VARCHAR(16777216),
	EAS_MAF FLOAT,
	EUR_MAF FLOAT,
	SAS_MAF FLOAT,
	AA_MAF VARCHAR(16777216),
	EA_MAF VARCHAR(16777216),
	"ExAC_AF" VARCHAR(16777216),
	"ExAC_AF_Adj" VARCHAR(16777216),
	"ExAC_AF_AFR" VARCHAR(16777216),
	"ExAC_AF_AMR" VARCHAR(16777216),
	"ExAC_AF_EAS" VARCHAR(16777216),
	"ExAC_AF_FIN" VARCHAR(16777216),
	"ExAC_AF_NFE" VARCHAR(16777216),
	"ExAC_AF_OTH" VARCHAR(16777216),
	"ExAC_AF_SAS" VARCHAR(16777216)
);

INSERT INTO "TCGA"."TCGA_VERSIONED"."SOMATIC_MUTATION_HG38_GDC_R6" (GDC_FILTER, ExAC_AF_AMR, PHENO, CDS_position, sample_barcode_normal, MC3_Overlap, Exon_Number, CLIN_SIG, AMR_MAF, t_alt_count, Score, INTRON, ExAC_AF, UNIPARC, NCBI_Build, Sequence_Source, Mutation_Status, gdc_vcf_uuid, gdc_tumor_sample_uuid, GENE_PHENO, Tumor_Validation_Allele2, MINIMISED, gdc_normal_bam_uuid, COSMIC, BAM_File, PICK, DOMAINS, EAS_MAF, Validation_Method, SYMBOL_SOURCE, gdc_normal_sample_uuid, Center, DISTANCE, MOTIF_POS, SOMATIC, ENSP, n_alt_count, Validation_Status, MOTIF_NAME, n_ref_count, ExAC_AF_NFE, Strand, MOTIF_SCORE_CHANGE, AA_MAF, aliquot_barcode_normal, SWISSPROT, SIFT, ExAC_AF_FIN, Protein_position, Hugo_Symbol, SAS_MAF, Tumor_Validation_Allele1, AFR_MAF, t_depth, ALLELE_NUM, TRANSCRIPT_STRAND, EXON, ExAC_AF_SAS, SYMBOL, Codons, project_short_name, n_depth, Amino_acids, IMPACT, Gene, cDNA_position, case_barcode, Verification_Status, HGVSp, ExAC_AF_Adj, Existing_variation, Match_Norm_Validation_Allele2, GDC_Validation_Status, Reference_Allele, PUBMED, FILTER, HGVSc, EUR_MAF, Sequencing_Phase, sample_barcode_tumor, ExAC_AF_OTH, BIOTYPE, ExAC_AF_AFR, Consequence, Entrez_Gene_Id, Variant_Type, Match_Norm_Seq_Allele1, EA_MAF, Tumor_Seq_Allele2, End_Position, aliquot_barcode_tumor, Allele, HGNC_ID, dbSNP_Val_Status, ASN_MAF, GMAF, Chromosome, ExAC_AF_EAS, VARIANT_CLASS, HGVS_OFFSET, HGVSp_Short, Match_Norm_Seq_Allele2, all_effects, CONTEXT, Start_Position, Tumor_Seq_Allele1, callerName, RefSeq, PolyPhen, gdc_case_uuid, TSL, CCDS, gdc_tumor_bam_uuid, Feature, Feature_type, CANONICAL, Variant_Classification, gdc_maf_uuid, dbSNP_RS, gdc_maf_file_name, TREMBL, Match_Norm_Validation_Allele1, HIGH_INF_POS, Transcript_ID, t_ref_count, Sequencer) VALUES (NULL, NULL, NULL, '626/1296', 'TCGA-BQ-7049-11A', 'False', '2/4', NULL, NULL, '6', NULL, NULL, NULL, NULL, 'GRCh38', NULL, 'Somatic', 'df5e5edc-7b16-4e42-9903-337ab41380a4', '91478a08-9bea-426b-bd0c-ca7cc87297b1', NULL, NULL, '1', 'be7bf29a-5da8-4a5b-9576-2dd36c223f1f', NULL, NULL, '1', 'PROSITE_profiles:PS50004;Pfam_domain:PF00168;SMART_domains:SM00239;Superfamily_domains:SSF49562', NULL, NULL, 'HGNC', 'fd0fcf99-b8da-43e8-9ccb-9c792ac32047', 'BI', NULL, NULL, NULL, 'ENSP00000357307', NULL, NULL, NULL, NULL, NULL, '+', NULL, NULL, 'TCGA-BQ-7049-11A-01D-1961-08', 'Q9BT88', 'deleterious(0)', NULL, '209/431', 'SYT11', NULL, NULL, NULL, '83', '1', 1, '2/4', NULL, 'SYT11', 'cGg/cTg', 'TCGA-KIRP', '120', 'R/L', 'MODERATE', 'ENSG00000132718', '879/5240', 'TCGA-BQ-7049', NULL, 'p.Arg209Leu', NULL, NULL, NULL, 'Unknown', 'G', NULL, 'PASS', 'c.626G>T', NULL, NULL, 'TCGA-BQ-7049-01A', NULL, 'protein_coding', NULL, 'missense_variant', 23208, 'SNP', NULL, NULL, 'T', 155868556, 'TCGA-BQ-7049-01A-11D-1961-08', 'T', 'HGNC:19239', NULL, NULL, NULL, 'chr1', NULL, 'SNV', NULL, 'p.R209L', NULL, 'SYT11,missense_variant,p.R209L,ENST00000368324,NM_152280.4', 'GCATCGGGTGA', 155868556, 'G', 'mutect', 'NM_152280.4', 'probably_damaging(0.999)', '93b05e07-fd17-44ce-8735-dcc28264b229', 1, 'CCDS1122.1', '5fc30718-de91-4da1-9d62-80b360717838', 'ENST00000368324', 'Transcript', 'YES', 'Missense_Mutation', 'b286dd57-b803-4081-90ed-90549f2cd7a7', 'novel', 'TCGA.KIRP.mutect.b286dd57-b803-4081-90ed-90549f2cd7a7.DR-6.0.somatic.maf', NULL, NULL, NULL, 'ENST00000368324', '77', 'Illumina HiSeq 2000'), (NULL, NULL, NULL, '260/5739', 'TCGA-BQ-7049-11A', 'False', '4/40', NULL, NULL, '5', NULL, NULL, NULL, 'UPI000013C8EF', 'GRCh38', NULL, 'Somatic', 'df5e5edc-7b16-4e42-9903-337ab41380a4', '91478a08-9bea-426b-bd0c-ca7cc87297b1', NULL, NULL, '1', 'be7bf29a-5da8-4a5b-9576-2dd36c223f1f', NULL, NULL, '1', 'Low_complexity_(Seg):Seg;PROSITE_profiles:PS50318', NULL, NULL, 'HGNC', 'fd0fcf99-b8da-43e8-9ccb-9c792ac32047', 'BI', NULL, NULL, NULL, 'ENSP00000349508', NULL, NULL, NULL, NULL, NULL, '+', NULL, NULL, 'TCGA-BQ-7049-11A-01D-1961-08', 'Q14839', 'deleterious_low_confidence(0.04)', NULL, '87/1912', 'CHD4', NULL, NULL, NULL, '72', '1', -1, '4/40', NULL, 'CHD4', 'gGg/gTg', 'TCGA-KIRP', '100', 'G/V', 'MODERATE', 'ENSG00000111642', '424/6496', 'TCGA-BQ-7049', NULL, 'p.Gly87Val', NULL, NULL, NULL, 'Unknown', 'C', NULL, 'PASS', 'c.260G>T', NULL, NULL, 'TCGA-BQ-7049-01A', NULL, 'protein_coding', NULL, 'missense_variant', 1108, 'SNP', NULL, NULL, 'A', 6602138, 'TCGA-BQ-7049-01A-11D-1961-08', 'A', 'HGNC:1919', NULL, NULL, NULL, 'chr12', NULL, 'SNV', NULL, 'p.G87V', NULL, 'CHD4,missense_variant,p.G84V,ENST00000544484,;CHD4,missense_variant,p.G80V,ENST00000544040,NM_001297553.1;CHD4,missense_variant,p.G87V,ENST00000357008,NM_001273.2;CHD4,missense_variant,p.G87V,ENST00000545942,;CHD4,missense_variant,p.G80V,ENST00000545584,;CHD4,upstream_gene_variant,,ENST00000535810,;CHD4,upstream_gene_variant,,ENST00000536999,;CHD4,non_coding_transcript_exon_variant,,ENST00000430771,', 'CCTCCCCAGAG', 6602138, 'C', 'mutect', 'NM_001273.2', 'probably_damaging(0.953)', '93b05e07-fd17-44ce-8735-dcc28264b229', 1, 'CCDS8552.1', '5fc30718-de91-4da1-9d62-80b360717838', 'ENST00000357008', 'Transcript', 'YES', 'Missense_Mutation', 'b286dd57-b803-4081-90ed-90549f2cd7a7', 'novel', 'TCGA.KIRP.mutect.b286dd57-b803-4081-90ed-90549f2cd7a7.DR-6.0.somatic.maf', NULL, NULL, NULL, 'ENST00000357008', '67', 'Illumina HiSeq 2000'), (NULL, NULL, NULL, '3178/7149', 'TCGA-BQ-7049-11A', 'False', '13/28', NULL, NULL, '9', NULL, NULL, NULL, 'UPI000013CD65', 'GRCh38', NULL, 'Somatic', 'df5e5edc-7b16-4e42-9903-337ab41380a4', '91478a08-9bea-426b-bd0c-ca7cc87297b1', NULL, NULL, '1', 'be7bf29a-5da8-4a5b-9576-2dd36c223f1f', NULL, NULL, NULL, 'Low_complexity_(Seg):Seg', NULL, NULL, 'HGNC', 'fd0fcf99-b8da-43e8-9ccb-9c792ac32047', 'BI', NULL, NULL, NULL, 'ENSP00000313059', NULL, NULL, NULL, NULL, NULL, '+', NULL, NULL, 'TCGA-BQ-7049-11A-01D-1961-08', 'Q9H4A3', 'deleterious(0.03)', NULL, '1060/2382', 'WNK1', NULL, NULL, NULL, '190', '1', 1, '13/28', NULL, 'WNK1', 'Cag/Aag', 'TCGA-KIRP', '176', 'Q/K', 'MODERATE', 'ENSG00000060237', '3821/10452', 'TCGA-BQ-7049', NULL, 'p.Gln1060Lys', NULL, NULL, NULL, 'Unknown', 'C', NULL, 'PASS', 'c.3178C>A', NULL, NULL, 'TCGA-BQ-7049-01A', NULL, 'protein_coding', NULL, 'missense_variant', 65125, 'SNP', NULL, NULL, 'A', 881758, 'TCGA-BQ-7049-01A-11D-1961-08', 'A', 'HGNC:14540', NULL, NULL, NULL, 'chr12', NULL, 'SNV', NULL, 'p.Q1060K', NULL, 'WNK1,missense_variant,p.Q1473K,ENST00000530271,;WNK1,missense_variant,p.Q1320K,ENST00000537687,NM_001184985.1;WNK1,missense_variant,p.Q1312K,ENST00000340908,NM_213655.4;WNK1,missense_variant,p.Q1060K,ENST00000315939,NM_018979.3;WNK1,missense_variant,p.Q813K,ENST00000535572,NM_014823.2;WNK1,missense_variant,p.Q137K,ENST00000544965,;WNK1,downstream_gene_variant,,ENST00000535698,;WNK1,downstream_gene_variant,,ENST00000574679,;WNK1,upstream_gene_variant,,ENST00000534872,;WNK1,downstream_gene_variant,,ENST00000545285,;WNK1,non_coding_transcript_exon_variant,,ENST00000545055,;WNK1,non_coding_transcript_exon_variant,,ENST00000542543,', 'CTACCCAGCCG', 881758, 'C', 'mutect', 'NM_018979.3', 'probably_damaging(0.932)', '93b05e07-fd17-44ce-8735-dcc28264b229', 1, 'CCDS8506.1', '5fc30718-de91-4da1-9d62-80b360717838', 'ENST00000315939', 'Transcript', NULL, 'Missense_Mutation', 'b286dd57-b803-4081-90ed-90549f2cd7a7', 'novel', 'TCGA.KIRP.mutect.b286dd57-b803-4081-90ed-90549f2cd7a7.DR-6.0.somatic.maf', NULL, NULL, NULL, 'ENST00000315939', '181', 'Illumina HiSeq 2000'), (NULL, NULL, NULL, '2485/3210', 'TCGA-BQ-7049-11A', 'False', '1/2', NULL, NULL, '4', NULL, NULL, NULL, 'UPI000013EA2E', 'GRCh38', NULL, 'Somatic', 'df5e5edc-7b16-4e42-9903-337ab41380a4', '91478a08-9bea-426b-bd0c-ca7cc87297b1', NULL, NULL, '1', 'be7bf29a-5da8-4a5b-9576-2dd36c223f1f', NULL, NULL, NULL, 'PROSITE_profiles:PS50268;Pfam_domain:PF00028;SMART_domains:SM00112;Superfamily_domains:SSF49313', NULL, NULL, 'HGNC', 'fd0fcf99-b8da-43e8-9ccb-9c792ac32047', 'BI', NULL, NULL, NULL, 'ENSP00000355243', NULL, NULL, NULL, NULL, NULL, '+', NULL, NULL, 'TCGA-BQ-7049-11A-01D-1961-08', 'O60245', 'tolerated(1)', NULL, '829/1069', 'PCDH7', NULL, NULL, NULL, '44', '1', 1, '1/2', NULL, 'PCDH7', 'Cag/Aag', 'TCGA-KIRP', '46', 'Q/K', 'MODERATE', 'ENSG00000169851', '3493/6403', 'TCGA-BQ-7049', NULL, 'p.Gln829Lys', NULL, NULL, NULL, 'Unknown', 'C', NULL, 'PASS', 'c.2485C>A', NULL, NULL, 'TCGA-BQ-7049-01A', NULL, 'protein_coding', NULL, 'missense_variant', 5099, 'SNP', NULL, NULL, 'A', 30723907, 'TCGA-BQ-7049-01A-11D-1961-08', 'A', 'HGNC:8659', NULL, NULL, NULL, 'chr4', NULL, 'SNV', NULL, 'p.Q829K', NULL, 'PCDH7,missense_variant,p.Q519K,ENST00000511884,NM_032457.3&NM_001173523.1;PCDH7,missense_variant,p.Q829K,ENST00000361762,NM_002589.2;PCDH7,missense_variant,p.Q829K,ENST00000543491,NM_032456.2;PCDH7,missense_variant,p.Q144K,ENST00000621961,;PCDH7,upstream_gene_variant,,ENST00000509759,;PCDH7,intron_variant,,ENST00000507864,', 'CTTCCCAGTCC', 30723907, 'C', 'mutect', 'NM_002589.2', 'possibly_damaging(0.734)', '93b05e07-fd17-44ce-8735-dcc28264b229', 1, 'CCDS33971.1', '5fc30718-de91-4da1-9d62-80b360717838', 'ENST00000361762', 'Transcript', NULL, 'Missense_Mutation', 'b286dd57-b803-4081-90ed-90549f2cd7a7', 'novel', 'TCGA.KIRP.mutect.b286dd57-b803-4081-90ed-90549f2cd7a7.DR-6.0.somatic.maf', NULL, NULL, NULL, 'ENST00000361762', '40', 'Illumina HiSeq 2000'), (NULL, NULL, NULL, '1890/2871', 'TCGA-BQ-7049-11A', 'True', '13/18', NULL, NULL, '7', NULL, NULL, NULL, 'UPI0000049E7C', 'GRCh38', NULL, 'Somatic', 'df5e5edc-7b16-4e42-9903-337ab41380a4', '91478a08-9bea-426b-bd0c-ca7cc87297b1', NULL, NULL, '1', 'be7bf29a-5da8-4a5b-9576-2dd36c223f1f', NULL, NULL, '1', NULL, NULL, NULL, 'HGNC', 'fd0fcf99-b8da-43e8-9ccb-9c792ac32047', 'BI', NULL, NULL, NULL, 'ENSP00000266546', NULL, NULL, NULL, NULL, NULL, '+', NULL, NULL, 'TCGA-BQ-7049-11A-01D-1961-08', 'Q9BQT9', 'tolerated(0.5)', NULL, '630/956', 'CLSTN3', NULL, NULL, NULL, '63', '1', 1, '13/18', NULL, 'CLSTN3', 'gaG/gaT', 'TCGA-KIRP', '57', 'E/D', 'MODERATE', 'ENSG00000139182', '2340/4185', 'TCGA-BQ-7049', NULL, 'p.Glu630Asp', NULL, NULL, NULL, 'Unknown', 'G', NULL, 'PASS', 'c.1890G>T', NULL, NULL, 'TCGA-BQ-7049-01A', NULL, 'protein_coding', NULL, 'missense_variant', 9746, 'SNP', NULL, NULL, 'T', 7149014, 'TCGA-BQ-7049-01A-11D-1961-08', 'T', 'HGNC:18371', NULL, NULL, NULL, 'chr12', NULL, 'SNV', NULL, 'p.E630D', NULL, 'CLSTN3,missense_variant,p.E642D,ENST00000537408,;CLSTN3,missense_variant,p.E630D,ENST00000266546,NM_014718.3;CLSTN3,non_coding_transcript_exon_variant,,ENST00000541770,;CLSTN3,upstream_gene_variant,,ENST00000542663,', 'GTGGAGGGCTA', 7149014, 'G', 'mutect', 'NM_014718.3', 'benign(0.062)', '93b05e07-fd17-44ce-8735-dcc28264b229', 1, 'CCDS8575.1', '5fc30718-de91-4da1-9d62-80b360717838', 'ENST00000266546', 'Transcript', 'YES', 'Missense_Mutation', 'b286dd57-b803-4081-90ed-90549f2cd7a7', 'novel', 'TCGA.KIRP.mutect.b286dd57-b803-4081-90ed-90549f2cd7a7.DR-6.0.somatic.maf', NULL, NULL, NULL, 'ENST00000266546', '56', 'Illumina HiSeq 2000');