-- DBMS: snowflake
create or replace TABLE SOMATIC_MUTATION_HG19_DCC_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),
	"NCBI_Build" VARCHAR(16777216),
	"HGNC_UniProt_ID_Supplied_By_UniProt" VARCHAR(16777216),
	"Entrez_Gene_Id" NUMBER(38,0),
	"Variant_Classification" VARCHAR(16777216),
	"Variant_Type" VARCHAR(16777216),
	"Chromosome" VARCHAR(16777216),
	"Start_Position" NUMBER(38,0),
	"End_Position" NUMBER(38,0),
	"Mutation_Status" VARCHAR(16777216),
	"Genome_Change" VARCHAR(16777216),
	"cDNA_Change" VARCHAR(16777216),
	"Protein_Change" VARCHAR(16777216),
	"Annotation_Transcript" VARCHAR(16777216),
	"CCLE_ONCOMAP_Total_Mutations_In_Gene" NUMBER(38,0),
	"Center" VARCHAR(16777216),
	"COSMIC_Total_Alterations_In_Gene" NUMBER(38,0),
	"DbSNP_RS" VARCHAR(16777216),
	"DbSNP_Val_Status" VARCHAR(16777216),
	"DNARepairGenes_Role" VARCHAR(16777216),
	"DrugBank" VARCHAR(16777216),
	"GC_Content" FLOAT,
	"GENCODE_Transcript_Name" VARCHAR(16777216),
	"GENCODE_Transcript_Status" VARCHAR(16777216),
	"GENCODE_Transcript_Type" VARCHAR(16777216),
	"Gene_Type" VARCHAR(16777216),
	"GO_Biological_Process" VARCHAR(16777216),
	"GO_Cellular_Component" VARCHAR(16777216),
	"GO_Molecular_Function" VARCHAR(16777216),
	"HGNC_Accession_Numbers" VARCHAR(16777216),
	"HGNC_CCDS_IDs" VARCHAR(16777216),
	"HGNC_Ensembl_ID_Supplied_By_Ensembl" VARCHAR(16777216),
	HGNC_HGNC_ID NUMBER(38,0),
	"HGNC_Locus_Group" VARCHAR(16777216),
	"HGNC_Locus_Type" VARCHAR(16777216),
	"HGNC_OMIM_ID_Supplied_By_NCBI" VARCHAR(16777216),
	"HGNC_RefSeq_Supplied_By_NCBI" VARCHAR(16777216),
	"HGNC_UCSC_ID_Supplied_By_UCSC" VARCHAR(16777216),
	"Hugo_Symbol" VARCHAR(16777216),
	"Normal_Seq_Allele1" VARCHAR(16777216),
	"Normal_Seq_Allele2" VARCHAR(16777216),
	"Normal_Validation_Allele1" VARCHAR(16777216),
	"Normal_Validation_Allele2" VARCHAR(16777216),
	OREGANNO_ID VARCHAR(16777216),
	"Ref_Context" VARCHAR(16777216),
	"Reference_Allele" VARCHAR(16777216),
	"Refseq_Prot_Id" VARCHAR(16777216),
	"Secondary_Variant_Classification" VARCHAR(16777216),
	"Sequencer" VARCHAR(16777216),
	"Sequence_Source" VARCHAR(16777216),
	"SwissProt_Acc_Id" VARCHAR(16777216),
	"SwissProt_Entry_Id" VARCHAR(16777216),
	"Transcript_Exon" NUMBER(38,0),
	"Transcript_Position" VARCHAR(16777216),
	"Transcript_Strand" VARCHAR(16777216),
	"Tumor_Seq_Allele1" VARCHAR(16777216),
	"Tumor_Seq_Allele2" VARCHAR(16777216),
	"Tumor_Validation_Allele1" VARCHAR(16777216),
	"Tumor_Validation_Allele2" VARCHAR(16777216),
	"UniProt_AApos" NUMBER(38,0),
	"UniProt_Region" VARCHAR(16777216),
	"Validation_Method" VARCHAR(16777216)
);

INSERT INTO "TCGA"."TCGA_VERSIONED"."SOMATIC_MUTATION_HG19_DCC_2017_02" (Transcript_Exon, Transcript_Position, Normal_Seq_Allele2, HGNC_Locus_Type, cDNA_Change, NCBI_Build, Secondary_Variant_Classification, sample_barcode_tumor, GENCODE_Transcript_Name, DbSNP_RS, HGNC_OMIM_ID_Supplied_By_NCBI, GO_Cellular_Component, HGNC_UniProt_ID_Supplied_By_UniProt, GENCODE_Transcript_Type, Gene_Type, HGNC_Locus_Group, Sequencer, Variant_Classification, Entrez_Gene_Id, Ref_Context, Normal_Validation_Allele1, Sequence_Source, GC_Content, Genome_Change, Variant_Type, Mutation_Status, COSMIC_Total_Alterations_In_Gene, Tumor_Seq_Allele1, HGNC_RefSeq_Supplied_By_NCBI, HGNC_UCSC_ID_Supplied_By_UCSC, GO_Biological_Process, GENCODE_Transcript_Status, project_short_name, aliquot_barcode_tumor, HGNC_Ensembl_ID_Supplied_By_Ensembl, SwissProt_Entry_Id, Refseq_Prot_Id, Center, Reference_Allele, Protein_Change, case_barcode, aliquot_barcode_normal, End_Position, Validation_Method, HGNC_CCDS_IDs, Tumor_Validation_Allele2, HGNC_Accession_Numbers, Normal_Seq_Allele1, DbSNP_Val_Status, Normal_Validation_Allele2, sample_barcode_normal, SwissProt_Acc_Id, Tumor_Validation_Allele1, HGNC_HGNC_ID, GO_Molecular_Function, Hugo_Symbol, DrugBank, CCLE_ONCOMAP_Total_Mutations_In_Gene, Start_Position, UniProt_AApos, Chromosome, UniProt_Region, Transcript_Strand, DNARepairGenes_Role, OREGANNO_ID, Annotation_Transcript, Tumor_Seq_Allele2) VALUES (2, '850', NULL, 'gene with protein product', NULL, 'GRCh37', NULL, 'TCGA-EW-A2FV-01A', 'NRG3-004', NULL, '605533', 'extracellular region (GO:0005576)|integral component of plasma membrane (GO:0005887)', 'P56975', 'protein_coding', 'protein_coding', 'protein-coding gene', 'Illumina GAIIx', 'Intron', 10718, 'caagtagtgtgggtctgctgc', NULL, 'WXS', 0.323, 'g.chr10:83926551delG', 'DEL', 'Somatic', 69, 'G', 'NM_001010848', 'uc001kco.2', 'activation of transmembrane receptor protein tyrosine kinase activity (GO:0007171)|intracellular signal transduction (GO:0035556)|mammary placode formation (GO:0060596)|pattern specification process (GO:0007389)|regulation of cell growth (GO:0001558)', 'KNOWN', 'TCGA-BRCA', 'TCGA-EW-A2FV-01A-11D-A17D-09', 'ENSG00000185737', 'NRG3_HUMAN', 'NP_001010848.2|NP_001159444.1', 'broad.mit.edu', 'G', NULL, 'TCGA-EW-A2FV', 'TCGA-EW-A2FV-10A-01D-A17D-09', 83926551, NULL, 'CCDS31233.1, CCDS53547.1', NULL, 'AK098823', NULL, NULL, NULL, 'TCGA-EW-A2FV-10A', 'P56975', NULL, 7999, 'growth factor activity (GO:0008083)|receptor tyrosine kinase binding (GO:0030971)|transmembrane receptor protein tyrosine kinase activator activity (GO:0030297)', 'NRG3', NULL, NULL, 83926551, nan, '10', NULL, '+', NULL, NULL, 'ENST00000372141.2', '-'), (4, '1077', NULL, 'gene with protein product', 'c.1050C>A', 'GRCh37', NULL, 'TCGA-F5-6814-01A', 'NRG3-004', NULL, '605533', 'extracellular region (GO:0005576)|integral component of plasma membrane (GO:0005887)', 'P56975', 'protein_coding', 'protein_coding', 'protein-coding gene', 'Illumina GAIIx', 'Missense_Mutation', 10718, 'GGATTGAATTCATGGGTAAGA', NULL, 'WXS', 0.368, 'g.chr10:84625189C>A', 'SNP', 'Somatic', 69, 'C', 'NM_001010848', 'uc001kco.2', 'activation of transmembrane receptor protein tyrosine kinase activity (GO:0007171)|intracellular signal transduction (GO:0035556)|mammary placode formation (GO:0060596)|pattern specification process (GO:0007389)|regulation of cell growth (GO:0001558)', 'KNOWN', 'TCGA-READ', 'TCGA-F5-6814-01A-31D-1924-10', 'ENSG00000185737', 'NRG3_HUMAN', 'NP_001010848.2|NP_001159444.1', 'broad.mit.edu;hgsc.bcm.edu', 'C', 'p.F350L', 'TCGA-F5-6814', 'TCGA-F5-6814-10A-01D-1924-10', 84625189, NULL, 'CCDS31233.1, CCDS53547.1', NULL, 'AK098823', NULL, NULL, NULL, 'TCGA-F5-6814-10A', 'P56975', NULL, 7999, 'growth factor activity (GO:0008083)|receptor tyrosine kinase binding (GO:0030971)|transmembrane receptor protein tyrosine kinase activator activity (GO:0030297)', 'NRG3', NULL, NULL, 84625189, 350.0, '10', NULL, '+', NULL, NULL, 'ENST00000372141.2', 'A'), (2, '777', NULL, 'gene with protein product', 'c.772C>T', 'GRCh37', NULL, 'TCGA-AG-A002-01A', 'LRIT2-001', NULL, NULL, 'integral component of membrane (GO:0016021)', 'A6NDA9', 'protein_coding', 'protein_coding', 'protein-coding gene', 'Illumina GAIIx', 'Missense_Mutation', 340745, 'TTGGCACTGGGGGTTGAGATC', NULL, 'WXS', 0.542, 'g.chr10:85984209G>A', 'SNP', 'Somatic', 32, 'G', 'NM_001017924', 'uc001kcy.3', NULL, 'KNOWN', 'TCGA-READ', 'TCGA-AG-A002-01A-01W-A00K-09', 'ENSG00000204033', 'LRIT2_HUMAN', 'NP_001017924.1', 'broad.mit.edu', 'G', 'p.P258S', 'TCGA-AG-A002', 'TCGA-AG-A002-10A-01W-A00K-09', 85984209, NULL, 'CCDS31234.1, CCDS60581.1', NULL, NULL, NULL, NULL, NULL, 'TCGA-AG-A002-10A', 'A6NDA9', NULL, 23443, NULL, 'LRIT2', NULL, NULL, 85984209, 258.0, '10', 'Ig-like.', '-', NULL, NULL, 'ENST00000372113.4', 'A'), (3, '985', '-', 'gene with protein product', 'c.980G>A', 'GRCh37', NULL, 'TCGA-VT-A80J-02A', 'LRIT2-001', NULL, NULL, 'integral component of membrane (GO:0016021)', 'A6NDA9', 'protein_coding', 'protein_coding', 'protein-coding gene', 'Illumina HiSeq', 'Missense_Mutation', 340745, 'GGAGGCCATGCAGGTGTAATT', '-', 'WXS', 0.532, 'g.chr10:85982349C>T', 'SNP', 'Somatic', 32, 'C', 'NM_001017924', 'uc001kcy.3', NULL, 'KNOWN', 'TCGA-SARC', 'TCGA-VT-A80J-02A-11D-A417-09', 'ENSG00000204033', 'LRIT2_HUMAN', 'NP_001017924.1', 'bcgsc.ca;broad.mit.edu;ucsc.edu', 'C', 'p.C327Y', 'TCGA-VT-A80J', 'TCGA-VT-A80J-11A-22D-A36M-09', 85982349, NULL, 'CCDS31234.1, CCDS60581.1', '-', NULL, 'C', NULL, '-', 'TCGA-VT-A80J-11A', 'A6NDA9', '-', 23443, NULL, 'LRIT2', NULL, NULL, 85982349, 327.0, '10', 'Ig-like.', '-', NULL, NULL, 'ENST00000372113.4', 'T'), (2, '863', NULL, 'gene with protein product', 'c.858G>A', 'GRCh37', NULL, 'TCGA-EE-A2GI-06A', 'LRIT2-001', NULL, NULL, 'integral component of membrane (GO:0016021)', 'A6NDA9', 'protein_coding', 'protein_coding', 'protein-coding gene', 'Illumina GAIIx', 'Nonsense_Mutation', 340745, 'GGGGATAAGTCCATGCAATGG', NULL, 'WXS', 0.537, 'g.chr10:85984123C>T', 'SNP', 'Somatic', 32, 'C', 'NM_001017924', 'uc001kcy.3', NULL, 'KNOWN', 'TCGA-SKCM', 'TCGA-EE-A2GI-06A-11D-A196-08', 'ENSG00000204033', 'LRIT2_HUMAN', 'NP_001017924.1', 'broad.mit.edu', 'C', 'p.W286*', 'TCGA-EE-A2GI', 'TCGA-EE-A2GI-10A-01D-A198-08', 85984123, NULL, 'CCDS31234.1, CCDS60581.1', NULL, NULL, NULL, NULL, NULL, 'TCGA-EE-A2GI-10A', 'A6NDA9', NULL, 23443, NULL, 'LRIT2', NULL, NULL, 85984123, 286.0, '10', 'Ig-like.', '-', NULL, NULL, 'ENST00000372113.4', 'T');