-- DBMS: snowflake
create or replace TABLE SOMATIC_MUTATION_HG19_MC3_2017_02 (
	"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_MITELMAN"."TCGA_VERSIONED"."SOMATIC_MUTATION_HG19_MC3_2017_02" (Codons, AA_MAF, Tumor_Seq_Allele1, PUBMED, dbSNP_RS, CANONICAL, CLIN_SIG, project_short_name, Existing_variation, SWISSPROT, SOMATIC, AMR_MAF, Variant_Classification, STRAND, FILTER, VARIANT_CLASS, Tumor_Seq_Allele2, HGVSp, Protein_position, CCDS, INTRON, End_Position, EXON, Start_Position, Feature, n_alt_count, Transcript_ID, UNIPARC, DBVS, TREMBL, GMAF, Consequence, case_barcode, Amino_acids, EA_MAF, CDS_position, cDNA_position, Exon_Number, all_effects, t_ref_count, AFR_MAF, Feature_type, EUR_MAF, HGVSc, Variant_Type, EAS_MAF, Hugo_Symbol, IMPACT, n_ref_count, sample_barcode_normal, aliquot_barcode_normal, SIFT, PolyPhen, SYMBOL_SOURCE, NCALLERS, Gene, aliquot_barcode_tumor, PHENO, t_alt_count, HGVS_OFFSET, DOMAINS, COSMIC, BIOTYPE, HGNC_ID, DISTANCE, HGVSp_Short, ENSP, ASN_MAF, n_depth, SAS_MAF, Reference_Allele, t_depth, CONTEXT, SYMBOL, Chromosome, CALLERS, NCBI_Build, sample_barcode_tumor) VALUES (NULL, NULL, 'T', NULL, 'novel', 'YES', NULL, 'TCGA-STAD', NULL, 'CPEB1_HUMAN', NULL, NULL, 'Intron', -1, 'PASS', 'deletion', '-', NULL, NULL, 'CCDS45329.1', '2/11', 83240328, NULL, 83240328, 'ENST00000568128', 0, 'ENST00000568128', 'UPI000018CEBD', NULL, 'H3BPD6_HUMAN,H3BNX1_HUMAN,G8JLI7_HUMAN', NULL, 'intron_variant', 'TCGA-R5-A7ZI', NULL, NULL, NULL, NULL, NULL, 'CPEB1,5_prime_UTR_variant,,ENST00000423133,;CPEB1,intron_variant,,ENST00000564522,;CPEB1,intron_variant,,ENST00000568128,;CPEB1,intron_variant,,ENST00000567678,;CPEB1,intron_variant,,ENST00000568757,;CPEB1,intron_variant,,ENST00000261723,;CPEB1,intron_variant,,ENST00000569257,;CPEB1,intron_variant,,ENST00000398591,;CPEB1,intron_variant,,ENST00000562019,;CPEB1,intron_variant,,ENST00000563800,;CPEB1,intron_variant,,ENST00000398592,;CPEB1,intron_variant,,ENST00000568994,;CPEB1,intron_variant,,ENST00000450751,;CPEB1,intron_variant,,ENST00000570229,;CPEB1,upstream_gene_variant,,ENST00000570205,;', 28, NULL, 'Transcript', NULL, 'c.191-46delA', 'DEL', NULL, 'CPEB1', 'MODIFIER', 35, 'TCGA-R5-A7ZI-10A', 'TCGA-R5-A7ZI-10A-01D-A34X-08', NULL, NULL, 'HGNC', 3, 'ENSG00000214575', 'TCGA-R5-A7ZI-01A-11D-A34U-08', NULL, 6, nan, NULL, 'NONE', 'protein_coding', 21744, NULL, NULL, 'ENSP00000457881', NULL, 35, NULL, 'T', 34, 'GGGCTGTTTTCC', 'CPEB1', '15', 'INDELOCATOR*|PINDEL|VARSCANI*', 'GRCh37', 'TCGA-R5-A7ZI-01A'), (NULL, NULL, 'C', NULL, 'rs550147931', 'YES', NULL, 'TCGA-UCEC', 'rs550147931', 'NTNG1_HUMAN', NULL, 'T:0', '5''UTR', 1, 'PASS', 'deletion', '-', NULL, NULL, 'CCDS44180.1', NULL, 107683741, '1/8', 107683741, 'ENST00000370068', 0, 'ENST00000370068', 'UPI0000458A3E', 'byFrequency|by1000G', 'Q5IEC8_HUMAN', 'T:0.0004', '5_prime_UTR_variant', 'TCGA-AJ-A8CT', NULL, NULL, NULL, '300', '1/8', 'NTNG1,5_prime_UTR_variant,,ENST00000370067,;NTNG1,5_prime_UTR_variant,,ENST00000370068,;NTNG1,intron_variant,,ENST00000370074,;NTNG1,intron_variant,,ENST00000370070,;NTNG1,intron_variant,,ENST00000370071,;NTNG1,intron_variant,,ENST00000370072,;NTNG1,intron_variant,,ENST00000370073,;NTNG1,intron_variant,,ENST00000370061,;NTNG1,intron_variant,,ENST00000542803,;NTNG1,upstream_gene_variant,,ENST00000370076,;NTNG1,upstream_gene_variant,,ENST00000462149,;NTNG1,non_coding_transcript_exon_variant,,ENST00000294649,;', 45, 'T:0.0008', 'Transcript', 'T:0.001', 'c.-542delC', 'DEL', 'T:0', 'NTNG1', 'MODIFIER', 49, 'TCGA-AJ-A8CT-10A', 'TCGA-AJ-A8CT-10A-01D-A37N-09', NULL, NULL, 'HGNC', 3, 'ENSG00000162631', 'TCGA-AJ-A8CT-01A-11D-A37N-09', NULL, 9, 5.0, NULL, 'NONE', 'protein_coding', 23319, NULL, NULL, 'ENSP00000359085', NULL, 49, 'T:0', 'C', 54, 'GAGGCTCCCCCC', 'NTNG1', '1', 'INDELOCATOR*|PINDEL|VARSCANI*', 'GRCh37', 'TCGA-AJ-A8CT-01A'), (NULL, NULL, 'T', NULL, 'rs770022078', 'YES', NULL, 'TCGA-UCEC', 'rs770022078', 'ANR49_HUMAN', NULL, NULL, 'Intron', 1, 'PASS', 'deletion', '-', NULL, NULL, 'CCDS8300.1', '2/2', 94231221, NULL, 94231221, 'ENST00000544612', 0, 'ENST00000544612', 'UPI000004A09B', NULL, 'F5H227_HUMAN', NULL, 'intron_variant', 'TCGA-D1-A168', NULL, NULL, NULL, NULL, NULL, 'ANKRD49,3_prime_UTR_variant,,ENST00000544253,;ANKRD49,intron_variant,,ENST00000544612,;ANKRD49,intron_variant,,ENST00000540349,;ANKRD49,intron_variant,,ENST00000302755,;ANKRD49,intron_variant,,ENST00000535502,;ANKRD49,intron_variant,,ENST00000545130,;MRE11A,upstream_gene_variant,,ENST00000393241,;MRE11A,upstream_gene_variant,,ENST00000323977,;ANKRD49,downstream_gene_variant,,ENST00000541144,;MRE11A,upstream_gene_variant,,ENST00000540013,;MRE11A,upstream_gene_variant,,ENST00000538923,;MRE11A,upstream_gene_variant,,ENST00000536754,;MRE11A,upstream_gene_variant,,ENST00000323929,;MRE11A,upstream_gene_variant,,ENST00000407439,;ANKRD49,intron_variant,,ENST00000538535,;ANKRD49,intron_variant,,ENST00000539883,;MRE11A,upstream_gene_variant,,ENST00000541157,;MRE11A,upstream_gene_variant,,ENST00000536144,;ANKRD49,intron_variant,,ENST00000544514,;ANKRD49,intron_variant,,ENST00000534911,;', 20, NULL, 'Transcript', NULL, 'c.259-9delT', 'DEL', NULL, 'ANKRD49', 'MODIFIER', 34, 'TCGA-D1-A168-10A', 'TCGA-D1-A168-10A-01D-A12J-09', NULL, NULL, 'HGNC', 2, 'ENSG00000168876', 'TCGA-D1-A168-01A-31D-A12J-09', NULL, 13, 7.0, NULL, 'NONE', 'protein_coding', 25970, NULL, NULL, 'ENSP00000440396', NULL, 34, NULL, 'T', 33, 'GATTTCTTTTTT', 'ANKRD49', '11', 'INDELOCATOR|VARSCANI', 'GRCh37', 'TCGA-D1-A168-01A'), (NULL, NULL, 'C', NULL, 'rs745966463', 'YES', NULL, 'TCGA-COAD', 'rs745966463', 'GLBL2_HUMAN', NULL, NULL, '3''UTR', 1, 'PASS', 'deletion', '-', NULL, NULL, 'CCDS31724.1', NULL, 134244962, '19/19', 134244962, 'ENST00000535456', 0, 'ENST00000535456', 'UPI0000074534', NULL, 'Q8NCG3_HUMAN', NULL, '3_prime_UTR_variant', 'TCGA-AM-5821', NULL, NULL, NULL, '2109', '19/19', 'GLB1L2,3_prime_UTR_variant,,ENST00000525089,;GLB1L2,3_prime_UTR_variant,,ENST00000535456,;GLB1L2,3_prime_UTR_variant,,ENST00000389881,;GLB1L2,3_prime_UTR_variant,,ENST00000339772,;B3GAT1,downstream_gene_variant,,ENST00000312527,;B3GAT1,downstream_gene_variant,,ENST00000392580,;GLB1L2,non_coding_transcript_exon_variant,,ENST00000529077,;GLB1L2,downstream_gene_variant,,ENST00000533355,;B3GAT1,downstream_gene_variant,,ENST00000531778,;', 28, NULL, 'Transcript', NULL, 'c.*14delC', 'DEL', NULL, 'GLB1L2', 'MODIFIER', 46, 'TCGA-AM-5821-10A', 'TCGA-AM-5821-10A-01D-1650-10', NULL, NULL, 'HGNC', 3, 'ENSG00000149328', 'TCGA-AM-5821-01A-01D-1650-10', NULL, 4, 4.0, NULL, 'NONE', 'protein_coding', 25129, NULL, NULL, 'ENSP00000444628', NULL, 46, NULL, 'C', 32, 'GTGGCACCCCCT', 'GLB1L2', '11', 'INDELOCATOR*|PINDEL|VARSCANI*', 'GRCh37', 'TCGA-AM-5821-01A'), (NULL, NULL, 'A', NULL, 'novel', 'YES', NULL, 'TCGA-COAD', NULL, 'IFN17_HUMAN', NULL, NULL, '3''UTR', -1, 'PASS', 'deletion', '-', NULL, NULL, 'CCDS6500.1', NULL, 21227346, '1/1', 21227346, 'ENST00000413767', 0, 'ENST00000413767', 'UPI0000052AF9', NULL, 'Q9UMJ2_HUMAN', NULL, '3_prime_UTR_variant', 'TCGA-A6-6781', NULL, NULL, NULL, '876', '1/1', 'IFNA17,3_prime_UTR_variant,,ENST00000413767,;IFNWP5,downstream_gene_variant,,ENST00000445100,;', 32, NULL, 'Transcript', NULL, 'c.*257delT', 'DEL', NULL, 'IFNA17', 'MODIFIER', 31, 'TCGA-A6-6781-10A', 'TCGA-A6-6781-10A-01D-A270-10', NULL, NULL, 'HGNC', 3, 'ENSG00000234829', 'TCGA-A6-6781-01A-22D-A270-10', NULL, 7, nan, NULL, 'NONE', 'protein_coding', 5422, NULL, NULL, 'ENSP00000411940', NULL, 31, NULL, 'A', 39, 'TTACATAAAAAA', 'IFNA17', '9', 'INDELOCATOR*|PINDEL|VARSCANI*', 'GRCh37', 'TCGA-A6-6781-01A');