Skip to content

Instantly share code, notes, and snippets.

@cjfields
Created February 17, 2014 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjfields/9058510 to your computer and use it in GitHub Desktop.
Save cjfields/9058510 to your computer and use it in GitHub Desktop.
Bio-BigFile patch for latest kent util API change
From bce13df624f703ac7501aaa83f87fe644f187c1a Mon Sep 17 00:00:00 2001
From: Chris Fields <cjfields@illinois.edu>
Date: Tue, 7 Jan 2014 14:31:47 -0600
Subject: [PATCH] API change in kent utils; not sure how to check for the
version yet, so this branch will need a little more work
---
Bio-BigFile/lib/Bio/DB/BigFile.xs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Bio-BigFile/lib/Bio/DB/BigFile.xs b/Bio-BigFile/lib/Bio/DB/BigFile.xs
index b69f611..a816fdf 100644
--- a/Bio-BigFile/lib/Bio/DB/BigFile.xs
+++ b/Bio-BigFile/lib/Bio/DB/BigFile.xs
@@ -81,7 +81,7 @@ typedef struct asTypeInfo *Bio__DB__asTypeInfo;
MODULE = Bio::DB::BigFile PACKAGE = Bio::DB::BigFile PREFIX=bf_
void
-bf_bigWigFileCreate(package="Bio::DB::BigFile",inName,chromSizes,blockSize=1024,itemsPerSlot=512,clipDontDie=TRUE,compress=TRUE,outName)
+bf_bigWigFileCreate(package="Bio::DB::BigFile",inName,chromSizes,blockSize=1024,itemsPerSlot=512,clipDontDie=TRUE,compress=TRUE,keepAllChromosomes=TRUE,fixedSummaries=TRUE,outName)
char *package
char *inName
char *chromSizes
@@ -89,9 +89,11 @@ bf_bigWigFileCreate(package="Bio::DB::BigFile",inName,chromSizes,blockSize=1024,
int itemsPerSlot
int clipDontDie
int compress
+ int keepAllChromosomes
+ int fixedSummaries
char *outName
CODE:
- bigWigFileCreate(inName,chromSizes,blockSize,itemsPerSlot,clipDontDie,compress,outName);
+ bigWigFileCreate(inName,chromSizes,blockSize,itemsPerSlot,clipDontDie,compress,keepAllChromosomes,fixedSummaries,outName);
void
bf_udcSetDefaultDir(packname="Bio::DB::BigFile",path)
--
1.8.5.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment