36710988224ab9373893a97a6edc95e033b0d646 braney Fri Oct 18 08:52:28 2024 -0700 density mode on vcf tracks was crashing. Refs #34659 diff --git src/hg/hgTracks/wigCommon.h src/hg/hgTracks/wigCommon.h index c11b741..f23a2b1 100644 --- src/hg/hgTracks/wigCommon.h +++ src/hg/hgTracks/wigCommon.h @@ -186,16 +186,21 @@ double wiggleLogish(double x); /* Return log-like transform without singularity at 0. */ /****************** in source file bedGraph.c ************************/ void wigBedGraphFindItemLimits(void *items, double *graphUpperLimit, double *graphLowerLimit); /* find upper and lower limits of graphed items (bedGraphItem) */ int normalizeCount(struct preDrawElement *el, double countFactor, double minVal, double maxVal, double sumData, double sumSquares); /* Normalize statistics to be based on an integer number of valid bases. * Integer value is the smallest integer not less than countFactor. */ void wigLogoMafCheck(struct track *tg, int start, int end); /* Check to see if we should draw a sequence logo for the wiggle contents. */ + +int setupForWiggle(struct track *tg, enum trackVisibility vis); +/* Check to see if this track should show density coverage and if so + * make sure it has the cart data to support it. + */ #endif /* WIGCOMMON_H */