5fbeef52986052068fcf6316a433908211fe4f65 braney Fri Mar 25 11:27:52 2022 -0700 add a little comment to make it more clear how bbiAliasChromSize works diff --git src/lib/bbiAlias.c src/lib/bbiAlias.c index 757c3b4..4cacf75 100644 --- src/lib/bbiAlias.c +++ src/lib/bbiAlias.c @@ -68,21 +68,22 @@ { for(; bptIndex; bptIndex = bptIndex->next) { bb= bigBedNameQuery(bbi, bptIndex->bpt, bptIndex->fieldIx, chrom, lm); if (bb != NULL) break; } } char *bedRow[bbi->fieldCount]; char startBuf[16], endBuf[16]; if (bb != NULL) { bigBedIntervalToRow(bb, chrom, startBuf, endBuf, bedRow, ArraySize(bedRow)); + // sequence size is the end address of the bigBed item int ret = atoi(endBuf); return ret; } return 0; }