d26707fc96ea80bad241b19ccca7eb9b770b6b3c braney Wed Apr 6 14:14:02 2022 -0700 missed a case for bigBeds in extended dna coloring diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index a9fc68b..b884faf 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -5743,32 +5743,37 @@ && fbUnderstandTrack(database, tdbLeaf) && !dnaIgnoreTrack(tdbLeaf->table)) { struct featureBits *fbLeafList; if (startsWith("big", tdbLeaf->type)) fbLeafList = getBigBedFbList(tdbLeaf, seqName, winStart, winEnd); else fbLeafList = fbGetRange(database, tdbLeaf->table, seqName, winStart, winEnd); if (fbLeafList != NULL) fbList = slCat(fbList,fbLeafList); } freeMem(refLeaf); } } else + { + if (startsWith("big", tdb->type)) + fbList = getBigBedFbList(tdb, seqName, winStart, winEnd); + else fbList = fbGetRange(database, tdb->table, seqName, winStart, winEnd); } + } /* Flip underline/italic/bold bits. */ getDnaHandleBits(track, "u", uBits, winStart, winEnd, isRc, fbList); getDnaHandleBits(track, "b", bBits, winStart, winEnd, isRc, fbList); getDnaHandleBits(track, "i", iBits, winStart, winEnd, isRc, fbList); /* Toggle case if necessary. */ safef(buf, sizeof buf, "%s_case", track); if (cgiBoolean(buf)) { for (fb = fbList; fb != NULL; fb = fb->next) { DNA *dna; int start = fb->start - winStart; int end = fb->end - winStart;