src/inc/bigBed.h 1.10

1.10 2009/03/16 05:07:54 kent
Adding maxItems parameter to bigBedIntervalQuery. Checking that asFile field count matches tab-file field count.
Index: src/inc/bigBed.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/bigBed.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -B -U 4 -r1.9 -r1.10
--- src/inc/bigBed.h	15 Mar 2009 00:17:52 -0000	1.9
+++ src/inc/bigBed.h	16 Mar 2009 05:07:54 -0000	1.10
@@ -20,11 +20,12 @@
 
 struct bbiFile *bigBedFileOpen(char *fileName);
 /* Open up big bed file.   Free this up with bbiFileFree */
 
-struct bigBedInterval *bigBedIntervalQuery(struct bbiFile *bwf, 
-	char *chrom, bits32 start, bits32 end, struct lm *lm);
-/* Get data for interval.  Return list allocated out of lm. */
+struct bigBedInterval *bigBedIntervalQuery(struct bbiFile *bbi, char *chrom, 
+	bits32 start, bits32 end, int maxItems, struct lm *lm);
+/* Get data for interval.  Return list allocated out of lm.  Set maxItems to maximum
+ * number of items to return, or to 0 for all items. */
 
 int bigBedIntervalToRow(struct bigBedInterval *interval, char *chrom, char *startBuf, char *endBuf,
 	char **row, int rowSize);
 /* Convert bigBedInterval into an array of chars equivalent to what you'd get by