Index: src/utils/bigWigInfo/bigWigInfo.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/bigWigInfo/bigWigInfo.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 4 -r1.3 -r1.4
--- src/utils/bigWigInfo/bigWigInfo.c	5 Nov 2009 19:48:21 -0000	1.3
+++ src/utils/bigWigInfo/bigWigInfo.c	7 Nov 2009 19:30:32 -0000	1.4
@@ -36,8 +36,14 @@
 struct bbiFile *bwf = bigWigFileOpen(fileName);
 printf("version: %d\n", bwf->version);
 printf("isSwapped: %d\n", bwf->isSwapped);
 printf("zoomLevels: %d\n", bwf->zoomLevels);
+printf("primaryDataSize: %lld\n", (long long)(bwf->unzoomedIndexOffset -  bwf->unzoomedDataOffset));
+if (bwf->levelList != NULL)
+    {
+    long long indexEnd = bwf->levelList->dataOffset;
+    printf("primaryIndexSize: %lld\n", indexEnd - bwf->unzoomedIndexOffset);
+    }
 struct bbiZoomLevel *zoom;
 for (zoom = bwf->levelList; zoom != NULL; zoom = zoom->next)
     printf("\t%d\n", zoom->reductionLevel);
 struct bbiChromInfo *chrom, *chromList = bbiChromList(bwf);

