-- DBMS: snowflake
create or replace TABLE SOMATIC_MUTATION_MC3 (
	"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),
	"Hugo_Symbol" VARCHAR(16777216),
	"NCBI_Build" VARCHAR(16777216),
	"Chromosome" VARCHAR(16777216),
	"Start_Position" NUMBER(38,0),
	"End_Position" NUMBER(38,0),
	"Variant_Classification" VARCHAR(16777216),
	"Variant_Type" VARCHAR(16777216),
	"Reference_Allele" VARCHAR(16777216),
	"Tumor_Seq_Allele1" VARCHAR(16777216),
	"Tumor_Seq_Allele2" VARCHAR(16777216),
	"dbSNP_RS" VARCHAR(16777216),
	"HGVSc" VARCHAR(16777216),
	"HGVSp" VARCHAR(16777216),
	"HGVSp_Short" VARCHAR(16777216),
	"Transcript_ID" VARCHAR(16777216),
	"Exon_Number" VARCHAR(16777216),
	"t_depth" NUMBER(38,0),
	"t_ref_count" NUMBER(38,0),
	"t_alt_count" NUMBER(38,0),
	"n_depth" NUMBER(38,0),
	"n_ref_count" NUMBER(38,0),
	"n_alt_count" NUMBER(38,0),
	"all_effects" VARCHAR(16777216),
	"Gene" VARCHAR(16777216),
	"Feature" VARCHAR(16777216),
	"Feature_type" VARCHAR(16777216),
	"Consequence" VARCHAR(16777216),
	"cDNA_position" VARCHAR(16777216),
	"CDS_position" VARCHAR(16777216),
	"Protein_position" VARCHAR(16777216),
	"Amino_acids" VARCHAR(16777216),
	"Codons" VARCHAR(16777216),
	"Existing_variation" VARCHAR(16777216),
	DISTANCE NUMBER(38,0),
	STRAND NUMBER(38,0),
	SYMBOL VARCHAR(16777216),
	SYMBOL_SOURCE VARCHAR(16777216),
	HGNC_ID NUMBER(38,0),
	BIOTYPE VARCHAR(16777216),
	CANONICAL VARCHAR(16777216),
	CCDS VARCHAR(16777216),
	ENSP VARCHAR(16777216),
	SWISSPROT VARCHAR(16777216),
	TREMBL VARCHAR(16777216),
	UNIPARC VARCHAR(16777216),
	SIFT VARCHAR(16777216),
	"PolyPhen" VARCHAR(16777216),
	EXON VARCHAR(16777216),
	INTRON VARCHAR(16777216),
	DOMAINS VARCHAR(16777216),
	GMAF VARCHAR(16777216),
	AFR_MAF VARCHAR(16777216),
	AMR_MAF VARCHAR(16777216),
	ASN_MAF VARCHAR(16777216),
	EAS_MAF VARCHAR(16777216),
	EUR_MAF VARCHAR(16777216),
	SAS_MAF VARCHAR(16777216),
	AA_MAF VARCHAR(16777216),
	EA_MAF VARCHAR(16777216),
	CLIN_SIG VARCHAR(16777216),
	SOMATIC VARCHAR(16777216),
	PUBMED VARCHAR(16777216),
	IMPACT VARCHAR(16777216),
	VARIANT_CLASS VARCHAR(16777216),
	HGVS_OFFSET NUMBER(38,0),
	PHENO VARCHAR(16777216),
	FILTER VARCHAR(16777216),
	COSMIC VARCHAR(16777216),
	CALLERS VARCHAR(16777216),
	CONTEXT VARCHAR(16777216),
	DBVS VARCHAR(16777216),
	NCALLERS NUMBER(38,0)
);

INSERT INTO "TCGA_HG19_DATA_V0"."TCGA_HG19_DATA_V0"."SOMATIC_MUTATION_MC3" (project_short_name, n_alt_count, Exon_Number, Hugo_Symbol, case_barcode, STRAND, sample_barcode_normal, Tumor_Seq_Allele1, NCBI_Build, Consequence, HGNC_ID, VARIANT_CLASS, SYMBOL, IMPACT, dbSNP_RS, EAS_MAF, HGVSp, AFR_MAF, n_ref_count, FILTER, HGVSc, CLIN_SIG, CDS_position, Amino_acids, Codons, HGVS_OFFSET, EA_MAF, ENSP, t_ref_count, CONTEXT, GMAF, t_depth, PUBMED, n_depth, AA_MAF, Feature_type, COSMIC, Transcript_ID, BIOTYPE, DBVS, NCALLERS, End_Position, Chromosome, aliquot_barcode_normal, AMR_MAF, DISTANCE, Feature, cDNA_position, SAS_MAF, t_alt_count, CCDS, TREMBL, UNIPARC, PHENO, PolyPhen, SYMBOL_SOURCE, Start_Position, SWISSPROT, CALLERS, Existing_variation, DOMAINS, Tumor_Seq_Allele2, Variant_Classification, aliquot_barcode_tumor, HGVSp_Short, EXON, Variant_Type, CANONICAL, Reference_Allele, EUR_MAF, all_effects, Gene, ASN_MAF, INTRON, SIFT, Protein_position, sample_barcode_tumor, SOMATIC) VALUES ('TCGA-UCEC', 0, '8/9', 'PTEN', 'TCGA-AX-A2HG', 1, 'TCGA-AX-A2HG-10A', 'A', 'GRCh37', 'frameshift_variant', 9588, 'deletion', 'PTEN', 'HIGH', NULL, NULL, 'p.Val290Ter', NULL, 36, 'PASS', 'c.867delA', NULL, '863', 'E/X', 'gAa/ga', 4, NULL, 'ENSP00000361021', 33, 'CCTCAGAAAAAG', NULL, 48, NULL, 36, NULL, 'Transcript', 'SITE|p.V290fs*1|c.867delA|6,CODON|p.0?|c.1_1212del1212|28,CODON|p.E288fs*3|c.863delA|6,CODON|p.E288*|c.862G>T|4,BUFFER|p.E284G|c.851A>G|7,BUFFER|p.S287*|c.860C>G|3,BUFFER|p.E291K|c.871G>A|3,BUFFER|p.E291*|c.871G>T|3', 'ENST00000371953', 'protein_coding', NULL, 3, 89720712, '10', 'TCGA-AX-A2HG-10A-01D-A17D-09', NULL, NULL, 'ENST00000371953', '2220', NULL, 15, 'CCDS31238.1', 'F6KD01_HUMAN,H6WA51_HUMAN,H6WA46_HUMAN', 'UPI00001328C5', '1', NULL, 'HGNC', 89720712, 'PTEN_HUMAN', 'INDELOCATOR*|PINDEL|VARSCANI*', 'COSM13452', 'PROSITE_profiles:PS51182,hmmpanther:PTHR12305,Gene3D:1d5rA02,Pfam_domain:PF10409,PIRSF_domain:PIRSF038025,Superfamily_domains:SSF49562', '-', 'Frame_Shift_Del', 'TCGA-AX-A2HG-01A-11D-A17D-09', 'p.V290*', '8/9', 'DEL', 'YES', 'A', NULL, 'PTEN,frameshift_variant,p.Val290Ter,ENST00000371953,;PTEN,non_coding_transcript_exon_variant,,ENST00000472832,;', 'ENSG00000171862', NULL, NULL, NULL, '288', 'TCGA-AX-A2HG-01A', '1'), ('TCGA-COAD', 0, '8/12', 'IL18RAP', 'TCGA-AD-5900', 1, 'TCGA-AD-5900-10A', 'A', 'GRCh37', 'frameshift_variant', 5989, 'deletion', 'IL18RAP', 'HIGH', NULL, NULL, 'p.Arg281GlyfsTer7', NULL, 111, 'PASS', 'c.841delA', NULL, '839', 'E/X', 'gAa/ga', 2, NULL, 'ENSP00000264260', 117, 'GCTTTGAAAGGG', NULL, 156, NULL, 111, NULL, 'Transcript', 'NONE', 'ENST00000264260', 'protein_coding', NULL, 3, 103059702, '2', 'TCGA-AD-5900-10A-01D-1650-10', NULL, NULL, 'ENST00000264260', '1428', NULL, 39, 'CCDS2061.1', 'Q3KPE8_HUMAN,C9JLE2_HUMAN', 'UPI0000071CAF', '1', NULL, 'HGNC', 103059702, 'I18RA_HUMAN', 'INDELOCATOR*|PINDEL|VARSCANI*', 'COSM1398529', 'Superfamily_domains:SSF48726,SMART_domains:SM00409,Gene3D:2.60.40.10,Pfam_domain:PF13895,hmmpanther:PTHR11890,hmmpanther:PTHR11890:SF4,PROSITE_profiles:PS50835', '-', 'Frame_Shift_Del', 'TCGA-AD-5900-01A-11D-1650-10', 'p.R281Gfs*7', '8/12', 'DEL', 'YES', 'A', NULL, 'IL18RAP,frameshift_variant,p.Arg139GlyfsTer7,ENST00000409369,;IL18RAP,frameshift_variant,p.Arg281GlyfsTer7,ENST00000264260,;AC007278.3,downstream_gene_variant,,ENST00000450893,;', 'ENSG00000115607', NULL, NULL, NULL, '280', 'TCGA-AD-5900-01A', '1'), ('TCGA-COAD', 0, '3/40', 'CHD3', 'TCGA-CK-6746', 1, 'TCGA-CK-6746-10A', 'A', 'GRCh37', 'frameshift_variant', 1918, 'deletion', 'CHD3', 'HIGH', NULL, NULL, 'p.Lys170ArgfsTer30', NULL, 39, 'PASS', 'c.509delA', NULL, '503', 'E/X', 'gAa/ga', 6, NULL, 'ENSP00000369716', 54, 'ACCGAGAAAAAA', NULL, 74, NULL, 39, NULL, 'Transcript', 'NONE', 'ENST00000380358', 'protein_coding', NULL, 3, 7794001, '17', 'TCGA-CK-6746-10A-01D-1835-10', NULL, NULL, 'ENST00000380358', '504', NULL, 20, 'CCDS32553.2', 'Q2TAZ1_HUMAN', 'UPI00004DDA7C', '1', NULL, 'HGNC', 7794001, 'CHD3_HUMAN', 'INDELOCATOR*|PINDEL|VARSCANI*', 'COSM1387347', 'Low_complexity_(Seg):seg,hmmpanther:PTHR10799,hmmpanther:PTHR10799:SF544', '-', 'Frame_Shift_Del', 'TCGA-CK-6746-01A-11D-1835-10', 'p.K170Rfs*30', '3/40', 'DEL', 'YES', 'A', NULL, 'CHD3,frameshift_variant,p.Lys170ArgfsTer30,ENST00000380358,;CHD3,frameshift_variant,p.Lys111ArgfsTer30,ENST00000358181,;CHD3,frameshift_variant,p.Lys111ArgfsTer30,ENST00000330494,;CHD3,upstream_gene_variant,,ENST00000571249,;CHD3,upstream_gene_variant,,ENST00000452447,;CHD3,non_coding_transcript_exon_variant,,ENST00000570758,;CHD3,downstream_gene_variant,,ENST00000574022,;CHD3,upstream_gene_variant,,ENST00000572579,;CHD3,upstream_gene_variant,,ENST00000479080,;', 'ENSG00000170004', NULL, NULL, NULL, '168', 'TCGA-CK-6746-01A', '1'), ('TCGA-COAD', 0, '2/2', 'FBXO34', 'TCGA-AZ-6598', 1, 'TCGA-AZ-6598-11A', 'A', 'GRCh37', 'frameshift_variant', 20201, 'deletion', 'FBXO34', 'HIGH', NULL, NULL, 'p.Ile120LeufsTer13', NULL, 85, 'PASS', 'c.358delA', NULL, '353', 'E/X', 'gAa/ga', 5, NULL, 'ENSP00000313159', 113, 'CCAAGGAAAAAA', NULL, 152, NULL, 85, NULL, 'Transcript', 'NONE', 'ENST00000313833', 'protein_coding', NULL, 3, 55817461, '14', 'TCGA-AZ-6598-11A-01D-1771-10', NULL, NULL, 'ENST00000313833', '598', NULL, 39, 'CCDS32086.1', 'G3V2U9_HUMAN', 'UPI00001FD5AD', '1', NULL, 'HGNC', 55817461, 'FBX34_HUMAN', 'INDELOCATOR*|PINDEL|VARSCANI*', 'COSM1370163', 'hmmpanther:PTHR16271:SF11,hmmpanther:PTHR16271', '-', 'Frame_Shift_Del', 'TCGA-AZ-6598-01A-11D-1771-10', 'p.I120Lfs*13', '2/2', 'DEL', 'YES', 'A', NULL, 'FBXO34,frameshift_variant,p.Ile120LeufsTer13,ENST00000440021,;FBXO34,frameshift_variant,p.Ile120LeufsTer13,ENST00000313833,;FBXO34,non_coding_transcript_exon_variant,,ENST00000555087,;FBXO34,non_coding_transcript_exon_variant,,ENST00000554940,;FBXO34,intron_variant,,ENST00000557647,;FBXO34,upstream_gene_variant,,ENST00000555280,;', 'ENSG00000178974', NULL, NULL, NULL, '118', 'TCGA-AZ-6598-01A', '1'), ('TCGA-PRAD', 0, '3/3', 'ZNF439', 'TCGA-EJ-7789', 1, 'TCGA-EJ-7789-11A', 'A', 'GRCh37', 'frameshift_variant', 20873, 'deletion', 'ZNF439', 'HIGH', NULL, NULL, 'p.Arg234GlufsTer112', NULL, 92, 'nonpreferredpair', 'c.700delA', NULL, '698', 'E/X', 'gAa/ga', 2, NULL, 'ENSP00000305077', 83, 'TCCATGAAAGAA', NULL, 124, NULL, 92, NULL, 'Transcript', 'NONE', 'ENST00000304030', 'protein_coding', NULL, 3, 11978582, '19', 'TCGA-EJ-7789-11A-01D-2114-08', NULL, NULL, 'ENST00000304030', '898', NULL, 41, 'CCDS12268.1', 'C9JMA7_HUMAN', 'UPI000006F768', '1', NULL, 'HGNC', 11978582, 'ZN439_HUMAN', 'INDELOCATOR*|PINDEL|VARSCANI*', 'COSM1234054', 'PROSITE_profiles:PS50157,hmmpanther:PTHR24381:SF35,hmmpanther:PTHR24381,PROSITE_patterns:PS00028,Gene3D:3.30.160.60,Pfam_domain:PF13465,SMART_domains:SM00355,Superfamily_domains:SSF57667', '-', 'Frame_Shift_Del', 'TCGA-EJ-7789-01A-11D-2114-08', 'p.R234Efs*112', '3/3', 'DEL', 'YES', 'A', NULL, 'ZNF439,frameshift_variant,p.Arg234GlufsTer112,ENST00000304030,;ZNF439,frameshift_variant,p.Arg98GlufsTer112,ENST00000455282,;ZNF439,downstream_gene_variant,,ENST00000442091,;ZNF439,intron_variant,,ENST00000592534,;', 'ENSG00000171291', NULL, NULL, NULL, '233', 'TCGA-EJ-7789-01A', '1');