4bb621ce7eb13b685bf5c9fde408220abda8d35e
angie
  Wed Aug 24 12:08:48 2016 -0700
Jonathan noticed in code review that I threw away some SO terms that appeared
only in snp125Ui.c in e49078c1, and also suggested using a single mapping table
instead of duplicating the mappings in soTerm.c.  Better now.  refs #17897, #17209
Also corrected a SO term: non_coding_exon_variant --> non_coding_transcript_exon_variant.

diff --git src/hg/inc/soTerm.h src/hg/inc/soTerm.h
index dcaa43f..3818e5d 100644
--- src/hg/inc/soTerm.h
+++ src/hg/inc/soTerm.h
@@ -1,54 +1,59 @@
 /* soTerm.h --- a subset of locally used Sequence Ontology terms */
 
 /* Copyright (C) 2013 The Regents of the University of California 
  * See README in this or parent directory for licensing information. */
 
 // To explore the full tree of SO terms and their relationships, try the MISO browser:
 // http://www.sequenceontology.org/browser/obob.cgi
 
 // would be nice to more closely match Ensembl's subset of SO:
 // http://uswest.ensembl.org/info/docs/variation/predicted_data.html#consequences
 
 #ifndef SOTERM_H
 #define SOTERM_H
 
 enum soTerm	// the various variant effects
     {
     regulatory_region_variant=1566,
     stop_retained_variant=1567,
     exon_loss=1572,
     splice_acceptor_variant=1574,
     splice_donor_variant=1575,
     complex_transcript_variant=1577,
     stop_lost=1578,
     coding_sequence_variant=1580,
     initiator_codon_variant=1582,
     missense_variant=1583,
     stop_gained=1587,
     frameshift_variant=1589,
     nc_transcript_variant=1619,
     mature_miRNA_variant=1620,
     NMD_transcript_variant=1621,
+    UTR_variant=1622,
     _5_prime_UTR_variant=1623,
     _3_prime_UTR_variant=1624,
     incomplete_terminal_codon_variant=1626,
     intron_variant=1627,
     intergenic_variant=1628,
+    splice_site_variant=1629,
     splice_region_variant=1630,
     upstream_gene_variant=1631,
     downstream_gene_variant=1632,
     TF_binding_site_variant=1782,
-    non_coding_exon_variant=1792,
+    non_coding_transcript_exon_variant=1792,
     protein_altering_variant=1818,
     synonymous_variant=1819,
+    inframe_indel=1820,
     inframe_insertion=1821,
     inframe_deletion=1822,
+    feature_variant=1878,
     };
 
 char *soTermToString(enum soTerm termNumber);
-/* Translate termNumber to its string equivalent.  Do not modify or free result. */
+/* Translate termNumber to its string equivalent; errAbort if not found.
+ * Do not modify or free result. */
 
 int soTermStringToId(char *soTermStr);
 /* Translate soTermStr into its numeric ID.  Return -1 if soTermStr is not recognized. */
 
 #endif /* SOTERM_H */