src/inc/bbiFile.h 1.16
1.16 2009/11/05 19:46:58 kent
Adding bbiTotalSummary.
Index: src/inc/bbiFile.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/bbiFile.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -b -B -U 4 -r1.15 -r1.16
--- src/inc/bbiFile.h 5 Nov 2009 19:31:02 -0000 1.15
+++ src/inc/bbiFile.h 5 Nov 2009 19:46:58 -0000 1.16
@@ -22,10 +22,10 @@
* reductionLevel 4 bytes
* reserved 4 bytes
* dataOffset 8 bytes
* indexOffset 8 bytes
- * autoSql string (zero terminated)
- * totalSummary - summary of all data in file
+ * autoSql string (zero terminated - only present if autoSqlOffset non-zero)
+ * totalSummary - summary of all data in file - only present if totalSummaryOffset non-zero
* basesCovered 8 bytes
* minVal 8 bytes float (for bigBed minimum depth of coverage)
* maxVal 8 bytes float (for bigBed maximum depth of coverage)
* sumData 8 bytes float (for bigBed sum of coverage)
@@ -237,8 +237,11 @@
* for regions without data in file. (Generally you want the default value to either
* be 0.0 or nan("") depending on the application.) Returns FALSE if no data
* at that position. */
+struct bbiSummaryElement bbiTotalSummary(struct bbiFile *bbi);
+/* Return summary of entire file! */
+
/****** Write side of things - implemented in bbiWrite.c ********/
struct bbiBoundsArray
/* Minimum info needed for r-tree indexer - where a section lives on disk and the