d3752edc12da1bf08427946150f564dbdd5d2254
angie
  Thu Oct 24 13:55:51 2019 -0700
bigDbSnp track handler code - initial commit.  refs #23283
* dnautil: Added trimRefAltLeft to get left-justified trimming (a la VCF not HGVS).
* bigBedClick: do hReplaceGbdb up front in parseDetailsTablUrls instead of waiting until endpoint.
* trackDbCustom.c: consolidating type-handling for wig/bigWig vs. bigBed-based big*.

diff --git src/inc/dnautil.h src/inc/dnautil.h
index 882d411..d509e88 100644
--- src/inc/dnautil.h
+++ src/inc/dnautil.h
@@ -263,16 +263,20 @@
 
 boolean isAllNt(char *seq, int size);
 /* Return TRUE if all letters in seq are ACGTNU-. */
 
 char aaAbbrToLetter(char *abbr);
 /* Convert an AA abbreviation such as "Ala", "Asp" etc., to its single letter code
  * such as "A", "D" etc.  Return the null char '\0' if abbr is not found. */
 
 void aaToAbbr(char aa, char *abbrBuf, size_t abbrBufSize);
 /* Convert an AA single letter such as "A", "D" etc. to its abbreviation such as "Ala", "Asp" etc.
  * abbrBufSize must be at least 4.  If aa is not found, "?%c?",aa is written into abbrBuf. */
 
 void trimRefAlt(char *ref, char *alt, uint *pStart, uint *pEnd, int *pRefLen, int *pAltLen);
 /* If ref and alt have identical bases at beginning and/or end, trim those & update all params. */
 
+void trimRefAltLeft(char *ref, char *alt, uint *pStart, uint *pEnd, int *pRefLen, int *pAltLen);
+/* If ref and alt have identical bases at beginning and/or end, trim those starting on the right
+ * so we get the leftmost representation & update all params. */
+
 #endif /* DNAUTIL_H */