c0d5a48b95aae318fe5ab5f12b14149356d17753 chmalee Thu Jan 21 11:46:02 2021 -0800 Support mouseOver trackDb setting for bigPsl (previously allowed but not supported) and add generic position information for bigPsl clicks, both to get lrg bigPsl otto track up to date with old version, refs #24672 diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index c143ca3..8021f17 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -3070,38 +3070,40 @@ int itemsLeft = 0; // Zero actually means no limit.... struct bigBedInterval *intervalList = bigBedIntervalQuery(bbi, chromName, start, end, itemsLeft, lm); slCat(&bbList, intervalList); } } else if (showAll) { int fieldIx; struct bptFile *bpt = bigBedOpenExtraIndex(bbi, "name", &fieldIx); bbList = bigBedNameQuery(bbi, bpt, fieldIx, item, lm); } else bbList = bigBedIntervalQuery(bbi, seqName, ivStart, ivEnd, 0, lm); - /* print out extra fields */ for (bb = bbList; bb != NULL; bb = bb->next) { char *restFields[256]; int restCount = chopTabs(cloneString(bb->rest), restFields); if (sameString(restFields[0], item)) { + /* print standard position information */ + char *strand = restFields[2]; + printPos(seqName, ivStart, ivEnd, strand, FALSE, item); int bedSize = 25; int restBedFields = bedSize - 3; if (restCount > restBedFields) { char **extraFields = (restFields + restBedFields); int extraFieldCount = restCount - restBedFields; int printCount = extraFieldsPrint(tdb,NULL,extraFields, extraFieldCount); printCount += 0; } } } char *bedRow[32]; char startBuf[16], endBuf[16];