src/inc/bigWig.h 1.10

1.10 2009/03/10 01:14:53 kent
Adding bigWigIntervalDump.
Index: src/inc/bigWig.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/bigWig.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -B -U 4 -r1.9 -r1.10
--- src/inc/bigWig.h	4 Feb 2009 22:27:19 -0000	1.9
+++ src/inc/bigWig.h	10 Mar 2009 01:14:53 -0000	1.10
@@ -40,8 +40,13 @@
 struct bbiInterval *bigWigIntervalQuery(struct bbiFile *bwf, char *chrom, bits32 start, bits32 end,
 	struct lm *lm);
 /* Get data for interval.  Return list allocated out of lm. */
 
+int bigWigIntervalDump(struct bbiFile *bwf, char *chrom, bits32 start, bits32 end, int maxCount,
+	FILE *out);
+/* Print out info on bigWig parts that intersect chrom:start-end.   Set maxCount to 0 if you 
+ * don't care how many are printed.  Returns number printed. */
+
 boolean bigWigSummaryArray(char *fileName, char *chrom, bits32 start, bits32 end,
 	enum bbiSummaryType summaryType, int summarySize, double *summaryValues);
 /* Fill in summaryValues with  data from indicated chromosome range in bigWig file.
  * Be sure to initialize summaryValues to a default value, which will not be touched