9e5cc5d894b020d4e51b7b340f4e6441d0256388 braney Sat Apr 12 10:37:58 2025 -0700 fix quickLifted clinvar submissions track diff --git src/hg/hgc/clinvarSubLolly.c src/hg/hgc/clinvarSubLolly.c index a20af50ee39..d0f3fd3f2b6 100644 --- src/hg/hgc/clinvarSubLolly.c +++ src/hg/hgc/clinvarSubLolly.c @@ -111,27 +111,29 @@ } 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); // print all the submissions that match the clinical significance of the // bead that the user clicked on. - printSubmissions(tdb, chrom, bb->start, bb->end, atoi(fields[4]), numSubs, FALSE); + printSubmissions(tdb, chromBuf, bb->start, bb->end, atoi(fields[4]), numSubs, FALSE); // now print the ones with a different clinical status - printSubmissions(tdb, chrom, bb->start, bb->end, atoi(fields[4]), numSubs, TRUE); + printSubmissions(tdb, chromBuf, bb->start, bb->end, atoi(fields[4]), numSubs, TRUE); // we found what we wanted break; } printTrackHtml(tdb); }