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/utils/wigToBigWig/wigToBigWig.c src/utils/wigToBigWig/wigToBigWig.c index 6b95a75..6376321 100644 --- src/utils/wigToBigWig/wigToBigWig.c +++ src/utils/wigToBigWig/wigToBigWig.c @@ -44,31 +44,31 @@ static struct optionSpec options[] = { {"blockSize", OPTION_INT}, {"itemsPerSlot", OPTION_INT}, {"clip", OPTION_BOOLEAN}, {"unc", OPTION_BOOLEAN}, {"fixedSummaries", OPTION_BOOLEAN}, {"keepAllChromosomes", OPTION_BOOLEAN}, {NULL, 0}, }; void wigToBigWig(char *inName, char *chromSizes, char *outName) /* wigToBigWig - Convert ascii format wig file (in fixedStep, variableStep or bedGraph format) * to binary big wig format.. */ { -bigWigFileCreate(inName, chromSizes, blockSize, itemsPerSlot, clipDontDie, doCompress, keepAllChromosomes, fixedSummaries, outName); +bigWigFileCreateEx(inName, chromSizes, blockSize, itemsPerSlot, clipDontDie, doCompress, keepAllChromosomes, fixedSummaries, outName); } int main(int argc, char *argv[]) /* Process command line. */ { optionInit(&argc, argv, options); blockSize = optionInt("blockSize", blockSize); itemsPerSlot = optionInt("itemsPerSlot", itemsPerSlot); clipDontDie = optionExists("clip"); doCompress = !optionExists("unc"); keepAllChromosomes = optionExists("keepAllChromosomes"); fixedSummaries = optionExists("fixedSummaries"); if (argc != 4) usage(); wigToBigWig(argv[1], argv[2], argv[3]);