f2739ff05c7530188b59076f2221b67a5aae3f08 galt Thu Aug 23 19:39:14 2012 -0700 bbiRead.c::bbiSummariesInRegion fixed to handle bbi->isSwapped diff --git src/inc/bbiFile.h src/inc/bbiFile.h index 8d0ecbc..c191d77 100644 --- src/inc/bbiFile.h +++ src/inc/bbiFile.h @@ -346,16 +346,20 @@ struct bbiSummary *bbiReduceSummaryList(struct bbiSummary *inList, struct bbiChromInfo *chromInfoArray, int reduction); /* Reduce summary list to another summary list. */ bits64 bbiWriteSummaryAndIndex(struct bbiSummary *summaryList, int blockSize, int itemsPerSlot, boolean doCompress, FILE *f); /* Write out summary and index to summary, returning start position of * summary index. */ boolean bbiFileCheckSigs(char *fileName, bits32 sig, char *typeName); /* check file signatures at beginning and end of file */ time_t bbiUpdateTime(struct bbiFile *bbi); /* return bbi->udc->updateTime */ +struct bbiSummary *bbiSummariesInRegion(struct bbiZoomLevel *zoom, struct bbiFile *bbi, + int chromId, bits32 start, bits32 end); +/* Return list of all summaries in region at given zoom level of bbiFile. */ + #endif /* BBIFILE_H */