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/hg/hgTracks/variation.h src/hg/hgTracks/variation.h
index 7bf1a26..9c46fdf 100644
--- src/hg/hgTracks/variation.h
+++ src/hg/hgTracks/variation.h
@@ -22,30 +22,31 @@
 #include "ld2.h"
 #include "hash.h"
 #include "ldUi.h"
 #include "gfxPoly.h"
 #include "memgfx.h"
 #include "cnpIafrate.h"
 #include "cnpIafrate2.h"
 #include "cnpSebat.h"
 #include "cnpSebat2.h"
 #include "cnpSharp.h"
 #include "cnpSharp2.h"
 #include "cnpRedon.h"
 #include "cnpLocke.h"
 #include "cnpSharpSample.h"
 #include "cnpSharpCutoff.h"
+#include "bigBedFilter.h"
 #include "hgTracks.h"
 
 /****** snpMap *******/
 
 boolean snpMapSourceFilterItem(struct track *tg, void *item);
 /* Return TRUE if item passes filter. */
 
 boolean snpMapTypeFilterItem(struct track *tg, void *item);
 /* Return TRUE if item passes filter. */
 
 void loadSnpMap(struct track *tg);
 /* Load up snpMarkers from database table to track items. */
 
 void freeSnpMap(struct track *tg);
 /* Free up snpMap items. */
@@ -264,16 +265,25 @@
 void delConrad2Methods(struct track *tg);
 /* methods for delConrad2 */
 
 Color delMccarrollColor(struct track *tg, void *item, struct hvGfx *hvg);
 /* always red */
 
 void delMccarrollMethods(struct track *tg);
 /* methods for delMccarroll */
 
 Color delHindsColor(struct track *tg, void *item, struct hvGfx *hvg);
 /* always red */
 
 void delHindsMethods(struct track *tg);
 /* methods for delHinds */
 
+/***** bigDbSnp *****/
+
+struct linkedFeatures *lfFromBigDbSnp(struct trackDb *tdb, struct bigBedInterval *bb,
+                                      struct bigBedFilter *filters, int freqSourceIx);
+/* Convert one bigDbSnp item to a linkedFeatures for drawing if it passes filter, else NULL. */
+
+void bigDbSnpMethods(struct track *track);
+/* Special load and draw hooks for type bigDbSnp. */
+
 #endif