eab3f6024915a08ebe1cce08017271d4a6b142d5 braney Fri Mar 28 11:27:14 2025 -0700 draw quickLift lines for indels, make quickLift bigBed querying smarter about padding diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index 79b4b07e6df..cf1d8af99af 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -5150,30 +5150,31 @@ /* Loop through and draw each item individually */ for (sn = tg->ss->nodeList; sn != NULL; sn = sn->next) { if (sn->row >= overflowRow) { genericDrawOverflowItem(tg, sn, hvg, xOff, yOff, width, font, color, scale, overflowRow, firstOverflow); firstOverflow = FALSE; } else genericDrawItem(tg, sn, hvg, xOff, yOff, width, font, color, color, vis, scale, withLeftLabels); } +maybeDrawQuickLiftLines(tg, seqStart, seqEnd, hvg, xOff, yOff, width, font, color, vis); hvGfxUnclip(hvg); } void genericDrawNextItem(struct track *tg, void *item, struct hvGfx *hvg, int xOff, int y, double scale, Color color, enum trackVisibility vis) /* Draw next item buttons and map boxes */ //TODO: Use this to clean up genericDrawItemsFullDense (will require wading thru ifdefs) { boolean isNextItemCompatible = nextItemCompatible(tg); boolean isExonNumberMapsCompatible = exonNumberMapsCompatible(tg, vis); if (!isNextItemCompatible && !isExonNumberMapsCompatible) return; boolean doButtons = (isExonNumberMapsCompatible ? FALSE: TRUE); // Convert start/end coordinates to pix @@ -5307,30 +5308,31 @@ { color = colorFromCart(tg, color); if (tg->items == NULL && vis == tvDense && canDrawBigBedDense(tg)) { bigBedDrawDense(tg, seqStart, seqEnd, hvg, xOff, yOff, width, font, color); } else { if (vis == tvDense && tg->colorShades) slSort(&tg->items, cmpLfWhiteToBlack); genericDrawItems(tg, seqStart, seqEnd, hvg, xOff, yOff, width, font, color, vis); } +maybeDrawQuickLiftLines(tg, seqStart, seqEnd, hvg, xOff, yOff, width, font, color, vis); // put up the color key for the gnomAD pLI track // If you change this code below, you must also change hgTracks.js:hideLegends if (startsWith("pliBy", tg->track)) doPliColors = TRUE; } void incRange(UBYTE *start, int size) /* Add one to range of bytes, taking care to not overflow. */ { int i; UBYTE b; for (i=0; i<size; ++i) { b = start[i]; if (b < 254)