Skip to content

Commit 0b5f5ef

Browse files
committed
use htslib 1.21
1 parent bc36b63 commit 0b5f5ef

File tree

1,118 files changed

+126605
-221542
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,118 files changed

+126605
-221542
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: vcfppR
22
Title: Rapid Manipulation of the Variant Call Format (VCF)
3-
Version: 0.6.1
3+
Version: 0.6.2
44
Authors@R: c(
55
person("Zilong", "Li", , "[email protected]", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0001-5859-2078")),

configure

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
HTSLIB_DIR="src/htslib-1.21"
4+
echo "Configuring HTSlib in $HTSLIB_DIR"
5+
cd $HTSLIB_DIR && ./configure && make

configure.win

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
HTSLIB_DIR="src/htslib-1.21"
4+
echo "Configuring HTSlib in $HTSLIB_DIR"
5+
cd $HTSLIB_DIR && ./configure && make

src/Makevars

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,11 @@
1-
HTSLIB_DIR='htslib-1.19.1'
1+
HTSLIB_DIR='htslib-1.21'
22
PKG_CPPFLAGS = -I${HTSLIB_DIR} -I../inst/include
33
PKG_LIBS = ${HTSLIB_DIR}/libhts.a -fPIC -lz -lm -lbz2 -llzma -lcurl
44

5-
.PHONY: all clean HTSLIB
5+
.PHONY: all clean
66

77
all : $(SHLIB)
88

9-
$(SHLIB) : HTSLIB
10-
11-
CC=$(shell "R CMD config CC")
12-
CXX=$(shell "R CMD config CXX")
13-
AR=$(shell "R CMD config AR")
14-
RANLIB=$(shell "R CMD config RANLIB")
15-
LDFLAGS=$(shell "R CMD config LDFLAGS")
16-
# CFLAGS=$(shell "R CMD config CFLAGS")
17-
# CPPFLAGS=$(shell "R CMD config CPPFLAGS")
18-
19-
HTSLIB:
20-
(cd ${HTSLIB_DIR} && $(MAKE) -f Makefile.vcfppR libhts.a && cd ..)
21-
22-
239
clean:
2410
$(RM) *.o
2511
$(RM) *.dll

src/Makevars.win

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
HTSLIB_DIR=htslib-1.18
1+
HTSLIB_DIR='htslib-1.21'
22
PKG_CPPFLAGS = -I${HTSLIB_DIR} -I../inst/include -D_FILE_OFFSET_BITS=64
33
PKG_LIBS=${HTSLIB_DIR}/libhts.a
44

@@ -11,21 +11,10 @@ else
1111
PKG_CPPFLAGS += $(shell pkg-config --cflags libcurl)
1212
endif
1313

14-
.PHONY: all clean HTSLIB
14+
.PHONY: all clean
1515

1616
all : $(SHLIB)
1717

18-
$(SHLIB) : HTSLIB
19-
20-
# CC=$(shell "R CMD config CC")
21-
# CXX=$(shell "R CMD config CXX")
22-
# CPPFLAGS=$(shell "R CMD config CPPFLAGS")
23-
# LDFLAGS=$(shell "R CMD config LDFLAGS")
24-
25-
HTSLIB:
26-
cd ${HTSLIB_DIR} && $(MAKE) -f Makefile.win libhts.a && cd ..
27-
28-
2918
clean:
3019
$(RM) *.o
3120
$(RM) *.dll

src/htslib-1.18/INSTALL

Lines changed: 0 additions & 309 deletions
This file was deleted.

0 commit comments

Comments
 (0)