0f65acf368d1eb66c7026b688002abee0eb81cb9 braney Wed Feb 25 11:09:50 2026 -0800 fix bug on hgc page for clinvar submissions track on items located on chrom 0 in the bigBed numbering scheme refs #37138 diff --git src/hg/hgc/clinvarSubLolly.c src/hg/hgc/clinvarSubLolly.c index d0f3fd3f2b6..af0892ce0d2 100644 --- src/hg/hgc/clinvarSubLolly.c +++ src/hg/hgc/clinvarSubLolly.c @@ -112,28 +112,28 @@ if (!(bed->chromStart == start && bed->chromEnd == end)) continue; // our names are unique char *name = bed->name; boolean match = (isEmpty(name) && isEmpty(item)) || sameOk(name, item); if (!match) continue; int numSubs = chopString(fields[12], ",", NULL, 0); printPos(bed->chrom, bed->chromStart, bed->chromEnd, NULL, FALSE, name); char chromBuf[2048]; - bbiCachedChromLookup(bbi, bb->chromId, 0, chromBuf, sizeof chromBuf); + bbiCachedChromLookup(bbi, bb->chromId, -1, chromBuf, sizeof chromBuf); // print all the submissions that match the clinical significance of the // bead that the user clicked on. printSubmissions(tdb, chromBuf, bb->start, bb->end, atoi(fields[4]), numSubs, FALSE); // now print the ones with a different clinical status printSubmissions(tdb, chromBuf, bb->start, bb->end, atoi(fields[4]), numSubs, TRUE); // we found what we wanted break; } printTrackHtml(tdb); }