forked from bioconda/bioconda-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60a2110
commit feeb7d6
Showing
3 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
BIN=${PREFIX}/bin | ||
mkdir -p ${BIN} | ||
|
||
make CC="$CC $LDFLAGS" CFLAGS="$CFLAGS" | ||
cp dupsifter ${BIN} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{% set version = '1.2.0.20230926' %} | ||
|
||
package: | ||
name: dupsifter | ||
version: {{ version }} | ||
|
||
build: | ||
number: 0 | ||
run_exports: | ||
- {{ pin_subpackage('dupsifter', max_pin='x') }} | ||
|
||
source: | ||
url: https://github.com/huishenlab/dupsifter/releases/download/v{{ version }}/release-source.zip | ||
sha256: 7a4dfe194d51ac09b30f85f6c77f9e8c31c62e636f56c09748688b32755d9521 | ||
patches: | ||
- patch | ||
|
||
requirements: | ||
build: | ||
- make | ||
- {{ compiler('c') }} | ||
host: | ||
- libcurl | ||
- bzip2 | ||
- xz | ||
- zlib | ||
- libdeflate | ||
- openssl # [not osx] | ||
- pthread-stubs | ||
run: | ||
- libcurl | ||
- bzip2 | ||
- xz | ||
- zlib | ||
- libdeflate | ||
- openssl # [not osx] | ||
- pthread-stubs | ||
|
||
test: | ||
commands: | ||
- dupsifter --help 2>&1 | grep dupsifter | ||
|
||
about: | ||
home: https://github.com/huishenlab/dupsifter | ||
license: MIT | ||
summary: A tool for PCR duplicate marking of WGBS (and WGS) data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff --git a/Makefile b/Makefile | ||
index f786e73..32df980 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -1,6 +1,6 @@ | ||
-CC = gcc | ||
-CFLAGS = -W -Wall -finline-functions -fPIC -std=gnu99 -Wno-unused-result -O3 | ||
-CLIB = -lz -lm -llzma -lbz2 -lcurl | ||
+CC ?= gcc | ||
+CFLAGS ?= -W -Wall -finline-functions -fPIC -std=gnu99 -Wno-unused-result -O3 | ||
+CLIB = -lz -lm -llzma -lbz2 -lcurl -lpthread | ||
CF_OPTIMIZE = 1 | ||
|
||
OS := $(shell uname) | ||
diff --git a/htslib-1.15.1/Makefile b/htslib-1.15.1/Makefile | ||
index 0871580..e7a313d 100644 | ||
--- a/htslib-1.15.1/Makefile | ||
+++ b/htslib-1.15.1/Makefile | ||
@@ -22,7 +22,7 @@ | ||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
# DEALINGS IN THE SOFTWARE. | ||
|
||
-CC = gcc | ||
+CC ?= gcc | ||
AR = ar | ||
RANLIB = ranlib | ||
|