-- 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_MITELMAN"."TCGA_VERSIONED"."SOMATIC_MUTATION_HG19_DCC_2017_02" (Transcript_Exon, Normal_Seq_Allele2, HGNC_Locus_Type, Transcript_Position, cDNA_Change, NCBI_Build, Secondary_Variant_Classification, DbSNP_RS, sample_barcode_tumor, GENCODE_Transcript_Name, HGNC_OMIM_ID_Supplied_By_NCBI, GENCODE_Transcript_Type, GO_Cellular_Component, HGNC_UniProt_ID_Supplied_By_UniProt, HGNC_Locus_Group, Gene_Type, Sequencer, Variant_Classification, Normal_Validation_Allele1, Entrez_Gene_Id, Ref_Context, Sequence_Source, GC_Content, Genome_Change, Variant_Type, Mutation_Status, Tumor_Seq_Allele1, COSMIC_Total_Alterations_In_Gene, HGNC_RefSeq_Supplied_By_NCBI, HGNC_UCSC_ID_Supplied_By_UCSC, GENCODE_Transcript_Status, project_short_name, GO_Biological_Process, aliquot_barcode_tumor, Reference_Allele, HGNC_Ensembl_ID_Supplied_By_Ensembl, Refseq_Prot_Id, Center, SwissProt_Entry_Id, Protein_Change, case_barcode, End_Position, aliquot_barcode_normal, Validation_Method, HGNC_Accession_Numbers, Tumor_Validation_Allele2, HGNC_CCDS_IDs, Normal_Validation_Allele2, sample_barcode_normal, Normal_Seq_Allele1, DbSNP_Val_Status, SwissProt_Acc_Id, Tumor_Validation_Allele1, HGNC_HGNC_ID, GO_Molecular_Function, CCLE_ONCOMAP_Total_Mutations_In_Gene, Hugo_Symbol, DrugBank, Start_Position, UniProt_AApos, Chromosome, UniProt_Region, OREGANNO_ID, DNARepairGenes_Role, Annotation_Transcript, Transcript_Strand, Tumor_Seq_Allele2) VALUES (8, NULL, 'gene with protein product', '1535', 'c.1508G>C', 'GRCh37', NULL, 'rs149882313', 'TCGA-NC-A5HM-01A', 'NRG3-004', '605533', 'protein_coding', 'extracellular region (GO:0005576)|integral component of plasma membrane (GO:0005887)', 'P56975', 'protein-coding gene', 'protein_coding', 'Illumina GAIIx', 'Missense_Mutation', NULL, 10718, 'AGTAGGCTAGGTGGAATTGTG', 'WXS', 0.522, 'g.chr10:84738801G>C', 'SNP', 'Somatic', 'G', 69, 'NM_001010848', 'uc001kco.2', 'KNOWN', 'TCGA-LUSC', '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)', 'TCGA-NC-A5HM-01A-12D-A26M-08', 'G', 'ENSG00000185737', 'NP_001010848.2|NP_001159444.1', 'broad.mit.edu', 'NRG3_HUMAN', 'p.G503A', 'TCGA-NC-A5HM', 84738801, 'TCGA-NC-A5HM-10A-01D-A26K-08', NULL, 'AK098823', NULL, 'CCDS31233.1, CCDS53547.1', NULL, 'TCGA-NC-A5HM-10A', NULL, NULL, 'P56975', NULL, 7999, 'growth factor activity (GO:0008083)|receptor tyrosine kinase binding (GO:0030971)|transmembrane receptor protein tyrosine kinase activator activity (GO:0030297)', NULL, 'NRG3', NULL, 84738801, 503.0, '10', NULL, NULL, NULL, 'ENST00000372141.2', '+', 'C'), (8, NULL, 'gene with protein product', '1567', 'c.1540G>A', 'GRCh37', NULL, 'rs564020344', 'TCGA-BT-A20T-01A', 'NRG3-004', '605533', 'protein_coding', 'extracellular region (GO:0005576)|integral component of plasma membrane (GO:0005887)', 'P56975', 'protein-coding gene', 'protein_coding', 'Illumina GAIIx', 'Missense_Mutation', NULL, 10718, 'TCAGCAACTCGAAGAATCAAG', 'Capture', 0.493, 'g.chr10:84738833G>A', 'SNP', 'Somatic', 'G', 69, 'NM_001010848', 'uc001kco.2', 'KNOWN', 'TCGA-BLCA', '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)', 'TCGA-BT-A20T-01A-11D-A14W-08', 'G', 'ENSG00000185737', 'NP_001010848.2|NP_001159444.1', 'broad.mit.edu', 'NRG3_HUMAN', 'p.E514K', 'TCGA-BT-A20T', 84738833, 'TCGA-BT-A20T-11A-11D-A14W-08', NULL, 'AK098823', NULL, 'CCDS31233.1, CCDS53547.1', NULL, 'TCGA-BT-A20T-11A', NULL, NULL, 'P56975', NULL, 7999, 'growth factor activity (GO:0008083)|receptor tyrosine kinase binding (GO:0030971)|transmembrane receptor protein tyrosine kinase activator activity (GO:0030297)', NULL, 'NRG3', NULL, 84738833, 514.0, '10', NULL, NULL, NULL, 'ENST00000372141.2', '+', 'A'), (9, NULL, 'gene with protein product', '1709', 'c.1682A>G', 'GRCh37', NULL, NULL, 'TCGA-33-4533-01A', 'NRG3-004', '605533', 'protein_coding', 'extracellular region (GO:0005576)|integral component of plasma membrane (GO:0005887)', 'P56975', 'protein-coding gene', 'protein_coding', 'Illumina GAIIx', 'Missense_Mutation', NULL, 10718, 'TTGGAGCAAAAGGACCTGGTG', 'WXS', 0.443, 'g.chr10:84744952A>G', 'SNP', 'Somatic', 'A', 69, 'NM_001010848', 'uc001kco.2', 'KNOWN', 'TCGA-LUSC', '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)', 'TCGA-33-4533-01A-01D-1267-08', 'A', 'ENSG00000185737', 'NP_001010848.2|NP_001159444.1', 'broad.mit.edu', 'NRG3_HUMAN', 'p.K561R', 'TCGA-33-4533', 84744952, 'TCGA-33-4533-11A-01D-1267-08', NULL, 'AK098823', NULL, 'CCDS31233.1, CCDS53547.1', NULL, 'TCGA-33-4533-11A', NULL, NULL, 'P56975', NULL, 7999, 'growth factor activity (GO:0008083)|receptor tyrosine kinase binding (GO:0030971)|transmembrane receptor protein tyrosine kinase activator activity (GO:0030297)', NULL, 'NRG3', NULL, 84744952, 585.0, '10', NULL, NULL, NULL, 'ENST00000372141.2', '+', 'G'), (2, NULL, 'gene with protein product', '850', NULL, 'GRCh37', 'Intron', NULL, 'TCGA-AZ-4615-01A', 'NRG3-004', '605533', 'protein_coding', 'extracellular region (GO:0005576)|integral component of plasma membrane (GO:0005887)', 'P56975', 'protein-coding gene', 'protein_coding', 'Illumina GAIIx', 'Splice_Site', NULL, 10718, 'TTCCCTGACAGATACGACGAC', 'WXS', 0.517, 'g.chr10:84118494G>T', 'SNP', 'Somatic', 'G', 69, 'NM_001010848', 'uc001kco.2', 'KNOWN', 'TCGA-COAD', '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)', 'TCGA-AZ-4615-01A-01D-1408-10', 'G', 'ENSG00000185737', 'NP_001010848.2|NP_001159444.1', 'broad.mit.edu;hgsc.bcm.edu', 'NRG3_HUMAN', NULL, 'TCGA-AZ-4615', 84118494, 'TCGA-AZ-4615-10A-01D-1408-10', NULL, 'AK098823', NULL, 'CCDS31233.1, CCDS53547.1', NULL, 'TCGA-AZ-4615-10A', NULL, NULL, 'P56975', NULL, 7999, 'growth factor activity (GO:0008083)|receptor tyrosine kinase binding (GO:0030971)|transmembrane receptor protein tyrosine kinase activator activity (GO:0030297)', NULL, 'NRG3', NULL, 84118494, nan, '10', NULL, NULL, NULL, 'ENST00000372141.2', '+', 'T'), (3, '-', 'gene with protein product', '985', 'c.980G>A', 'GRCh37', NULL, NULL, 'TCGA-VT-A80J-02A', 'LRIT2-001', NULL, 'protein_coding', 'integral component of membrane (GO:0016021)', 'A6NDA9', 'protein-coding gene', 'protein_coding', 'Illumina HiSeq', 'Missense_Mutation', '-', 340745, 'GGAGGCCATGCAGGTGTAATT', 'WXS', 0.532, 'g.chr10:85982349C>T', 'SNP', 'Somatic', 'C', 32, 'NM_001017924', 'uc001kcy.3', 'KNOWN', 'TCGA-SARC', NULL, 'TCGA-VT-A80J-02A-11D-A417-09', 'C', 'ENSG00000204033', 'NP_001017924.1', 'bcgsc.ca;broad.mit.edu;ucsc.edu', 'LRIT2_HUMAN', 'p.C327Y', 'TCGA-VT-A80J', 85982349, 'TCGA-VT-A80J-11A-22D-A36M-09', NULL, NULL, '-', 'CCDS31234.1, CCDS60581.1', '-', 'TCGA-VT-A80J-11A', 'C', NULL, 'A6NDA9', '-', 23443, NULL, NULL, 'LRIT2', NULL, 85982349, 327.0, '10', 'Ig-like.', NULL, NULL, 'ENST00000372113.4', '-', 'T');