c2a3e34e0d246747a3449b8902469a913c88f3a2 braney Tue Mar 11 13:43:50 2014 -0700 fix an issue with a function definition change that was breaking BioPerl diff --git src/inc/bigWig.h src/inc/bigWig.h index ca49de2..211bf30 100644 --- src/inc/bigWig.h +++ src/inc/bigWig.h @@ -15,42 +15,52 @@ * See also the module bbiFile that has a description of they structure of * a bigWig file, and lower level routines used to implement this interface. */ #ifndef BIGWIG_H #define BIGWIG_H #ifndef BBIFILE #include "bbiFile.h" #endif #ifndef BITS_H #include "bits.h" #endif -void bigWigFileCreate( +void bigWigFileCreateEx( char *inName, /* Input file in ascii wiggle format. */ char *chromSizes, /* Two column tab-separated file: <chromosome> <size>. */ int blockSize, /* Number of items to bundle in r-tree. 1024 is good. */ int itemsPerSlot, /* Number of items in lowest level of tree. 512 is good. */ boolean clipDontDie, /* If TRUE then clip items off end of chrom rather than dying. */ boolean compress, /* If TRUE then compress data. */ boolean keepAllChromosomes, /* If TRUE then store all chromosomes in chromosomal b-tree. */ boolean fixedSummaries, /* If TRUE then impose fixed summary levels. */ char *outName); /* Convert ascii format wig file (in fixedStep, variableStep or bedGraph format) * to binary big wig format. */ +void bigWigFileCreate( + char *inName, /* Input file in ascii wiggle format. */ + char *chromSizes, /* Two column tab-separated file: <chromosome> <size>. */ + int blockSize, /* Number of items to bundle in r-tree. 1024 is good. */ + int itemsPerSlot, /* Number of items in lowest level of tree. 512 is good. */ + boolean clipDontDie, /* If TRUE then clip items off end of chrom rather than dying. */ + boolean compress, /* If TRUE then compress data. */ + char *outName); +/* Convert ascii format wig file (in fixedStep, variableStep or bedGraph format) + * to binary big wig format. */ struct bbiFile *bigWigFileOpen(char *fileName); /* Open up big wig file. Free this up with bbiFileClose */ #define bigWigFileClose(a) bbiFileClose(a) 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. */