-- 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"."TCGA_VERSIONED"."SOMATIC_MUTATION_HG19_MC3_2017_02" (Codons, AA_MAF, Tumor_Seq_Allele1, CANONICAL, dbSNP_RS, PUBMED, project_short_name, CLIN_SIG, SOMATIC, SWISSPROT, Existing_variation, Variant_Classification, AMR_MAF, STRAND, FILTER, VARIANT_CLASS, Tumor_Seq_Allele2, HGVSp, CCDS, INTRON, End_Position, Protein_position, EXON, Transcript_ID, Start_Position, n_alt_count, Feature, UNIPARC, DBVS, TREMBL, GMAF, Amino_acids, EA_MAF, Consequence, case_barcode, CDS_position, cDNA_position, all_effects, Exon_Number, EUR_MAF, Feature_type, HGVSc, t_ref_count, AFR_MAF, Variant_Type, EAS_MAF, Hugo_Symbol, aliquot_barcode_normal, n_ref_count, IMPACT, sample_barcode_normal, SIFT, Gene, PolyPhen, SYMBOL_SOURCE, NCALLERS, HGVS_OFFSET, t_alt_count, aliquot_barcode_tumor, DOMAINS, PHENO, COSMIC, HGNC_ID, DISTANCE, BIOTYPE, ENSP, HGVSp_Short, CONTEXT, ASN_MAF, n_depth, SAS_MAF, t_depth, Reference_Allele, SYMBOL, Chromosome, NCBI_Build, sample_barcode_tumor, CALLERS) VALUES (NULL, NULL, 'T', 'YES', 'novel', NULL, 'TCGA-STAD', NULL, NULL, 'CPEB1_HUMAN', NULL, 'Intron', NULL, -1, 'PASS', 'deletion', '-', NULL, 'CCDS45329.1', '2/11', 83240328, NULL, NULL, 'ENST00000568128', 83240328, 0, 'ENST00000568128', 'UPI000018CEBD', NULL, 'H3BPD6_HUMAN,H3BNX1_HUMAN,G8JLI7_HUMAN', NULL, NULL, NULL, 'intron_variant', 'TCGA-R5-A7ZI', 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,;', NULL, NULL, 'Transcript', 'c.191-46delA', 28, NULL, 'DEL', NULL, 'CPEB1', 'TCGA-R5-A7ZI-10A-01D-A34X-08', 35, 'MODIFIER', 'TCGA-R5-A7ZI-10A', NULL, 'ENSG00000214575', NULL, 'HGNC', 3, nan, 6, 'TCGA-R5-A7ZI-01A-11D-A34U-08', NULL, NULL, 'NONE', 21744, nan, 'protein_coding', 'ENSP00000457881', NULL, 'GGGCTGTTTTCC', NULL, 35, NULL, 34, 'T', 'CPEB1', '15', 'GRCh37', 'TCGA-R5-A7ZI-01A', 'INDELOCATOR*|PINDEL|VARSCANI*'), (NULL, NULL, 'T', 'YES', 'rs770022078', NULL, 'TCGA-UCEC', NULL, NULL, 'ANR49_HUMAN', 'rs770022078', 'Intron', NULL, 1, 'PASS', 'deletion', '-', NULL, 'CCDS8300.1', '2/2', 94231221, NULL, NULL, 'ENST00000544612', 94231221, 0, 'ENST00000544612', 'UPI000004A09B', NULL, 'F5H227_HUMAN', NULL, NULL, NULL, 'intron_variant', 'TCGA-D1-A168', 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,;', NULL, NULL, 'Transcript', 'c.259-9delT', 20, NULL, 'DEL', NULL, 'ANKRD49', 'TCGA-D1-A168-10A-01D-A12J-09', 34, 'MODIFIER', 'TCGA-D1-A168-10A', NULL, 'ENSG00000168876', NULL, 'HGNC', 2, 7.0, 13, 'TCGA-D1-A168-01A-31D-A12J-09', NULL, NULL, 'NONE', 25970, nan, 'protein_coding', 'ENSP00000440396', NULL, 'GATTTCTTTTTT', NULL, 34, NULL, 33, 'T', 'ANKRD49', '11', 'GRCh37', 'TCGA-D1-A168-01A', 'INDELOCATOR|VARSCANI'), (NULL, NULL, 'C', 'YES', 'rs745966463', NULL, 'TCGA-COAD', NULL, NULL, 'GLBL2_HUMAN', 'rs745966463', '3''UTR', NULL, 1, 'PASS', 'deletion', '-', NULL, 'CCDS31724.1', NULL, 134244962, NULL, '19/19', 'ENST00000535456', 134244962, 0, 'ENST00000535456', 'UPI0000074534', NULL, 'Q8NCG3_HUMAN', NULL, NULL, NULL, '3_prime_UTR_variant', 'TCGA-AM-5821', NULL, '2109', '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,;', '19/19', NULL, 'Transcript', 'c.*14delC', 28, NULL, 'DEL', NULL, 'GLB1L2', 'TCGA-AM-5821-10A-01D-1650-10', 46, 'MODIFIER', 'TCGA-AM-5821-10A', NULL, 'ENSG00000149328', NULL, 'HGNC', 3, 4.0, 4, 'TCGA-AM-5821-01A-01D-1650-10', NULL, NULL, 'NONE', 25129, nan, 'protein_coding', 'ENSP00000444628', NULL, 'GTGGCACCCCCT', NULL, 46, NULL, 32, 'C', 'GLB1L2', '11', 'GRCh37', 'TCGA-AM-5821-01A', 'INDELOCATOR*|PINDEL|VARSCANI*'), (NULL, NULL, 'T', 'YES', 'novel', NULL, 'TCGA-HNSC', NULL, NULL, 'PSG6_HUMAN', NULL, '3''Flank', NULL, -1, 'PASS', 'deletion', '-', NULL, 'CCDS12613.1', NULL, 43406456, NULL, NULL, 'ENST00000292125', 43406456, 0, 'ENST00000292125', 'UPI00001327A1', NULL, NULL, NULL, NULL, NULL, 'downstream_gene_variant', 'TCGA-CV-7103', NULL, NULL, 'PSG6,3_prime_UTR_variant,,ENST00000187910,;PSG6,3_prime_UTR_variant,,ENST00000402603,;PSG6,downstream_gene_variant,,ENST00000292125,;PSG6,3_prime_UTR_variant,,ENST00000599753,;PSG6,downstream_gene_variant,,ENST00000595062,;', NULL, NULL, 'Transcript', NULL, 59, NULL, 'DEL', NULL, 'PSG6', 'TCGA-CV-7103-10A-01D-2013-08', 56, 'MODIFIER', 'TCGA-CV-7103-10A', NULL, 'ENSG00000170848', NULL, 'HGNC', 2, nan, 7, 'TCGA-CV-7103-01A-21D-2012-08', NULL, NULL, 'NONE', 9523, 1312.0, 'protein_coding', 'ENSP00000292125', NULL, 'ACATTATCCTTT', NULL, 56, NULL, 66, 'T', 'PSG6', '19', 'GRCh37', 'TCGA-CV-7103-01A', 'INDELOCATOR|VARSCANI'), (NULL, NULL, 'AAG', 'YES', 'novel', NULL, 'TCGA-KICH', NULL, NULL, 'TSH1_HUMAN', NULL, '3''UTR', NULL, 1, 'PASS', 'deletion', '-', NULL, 'CCDS12009.1', NULL, 73001039, NULL, '2/2', 'ENST00000322038', 73001037, 0, 'ENST00000322038', 'UPI000021BFB5', NULL, 'H0YN23_HUMAN,H0YKA1_HUMAN,A7YF73_HUMAN', NULL, NULL, NULL, '3_prime_UTR_variant', 'TCGA-KL-8344', NULL, '4124-4126', 'TSHZ1,3_prime_UTR_variant,,ENST00000322038,;TSHZ1,downstream_gene_variant,,ENST00000580243,;TSHZ1,downstream_gene_variant,,ENST00000560661,;TSHZ1,downstream_gene_variant,,ENST00000560918,;TSHZ1,non_coding_transcript_exon_variant,,ENST00000584217,;', '2/2', NULL, 'Transcript', 'c.*446_*448delGAA', 32, NULL, 'DEL', NULL, 'TSHZ1', 'TCGA-KL-8344-11A-01D-2310-10', 41, 'MODIFIER', 'TCGA-KL-8344-11A', NULL, 'ENSG00000179981', NULL, 'HGNC', 2, 5.0, 3, 'TCGA-KL-8344-01A-11D-2310-10', NULL, NULL, 'NONE', 10669, nan, 'protein_coding', 'ENSP00000323584', NULL, 'AAAAAAAAGAAGAA', NULL, 41, NULL, 35, 'AAG', 'TSHZ1', '18', 'GRCh37', 'TCGA-KL-8344-01A', 'PINDEL|VARSCANI*');