pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/biology/htslib htslib: updated to 1.9
details: https://anonhg.NetBSD.org/pkgsrc/rev/6cd21d46cdf0
branches: trunk
changeset: 325005:6cd21d46cdf0
user: adam <adam%pkgsrc.org@localhost>
date: Tue Nov 06 10:24:14 2018 +0000
description:
htslib: updated to 1.9
1.9:
If ./configure fails, make will stop working until either configure is re-run successfully, or make distclean is used. This makes configuration failures more obvious.
The default SAM version has been changed to 1.6. This is in line with the latest version specification and indicates that HTSlib supports the CG tag used to store long CIGAR data in BAM format.
bgzip integrity check option '--test'
Faidx can now index fastq files as well as fasta. The fastq index adds an extra column to the .fai index which gives the offset to the quality values. New interfaces have been added to htslib/faidx.h
to read the fastq index and retrieve the quality values. It is possible to open a fastq index as if fasta (only sequences will be returned), but not the other way round.
New API interfaces to add or update integer, float and array aux tags.
Add level=<number> option to hts_set_opt() to allow the compression level to be set. Setting level=0 enables uncompressed output.
Improved bgzip error reporting.
Better error reporting when CRAM reference files can't be opened.
Fixes to make tests work properly on Windows/MinGW - mainly to handle line ending differences.
Efficiency improvements:
Small speed-up for CRAM indexing.
Reduce the number of unnecessary wake-ups in the thread pool.
Avoid some memory copies when writing data, notably for uncompressed BGZF output.
Bug fixes:
Fix multi-region iterator bugs on CRAM files.
Fixed multi-region iterator bug that caused some reads to be skipped incorrectly when reading BAM files.
Fixed synced_bcf_reader() bug when reading contigs multiple times.
Fixed bug where bcf_hdr_set_samples() did not update the sample dictionary when removing samples.
Fixed bug where the VCF record ref length was calculated incorrectly if an INFO END tag was present. (71b00a)
Fixed warnings found when compiling with gcc 8.1.0.
sam_hdr_read() and sam_hdr_write() will now return an error code if passed a NULL file pointer, instead of crashing.
Fixed possible negative array look-up in sam_parse1() that somehow escaped previous fuzz testing.
Fixed bug where cram range queries could incorrectly report an error when using multiple threads.
Fixed very rare rANS normalisation bug that could cause an assertion failure when writing CRAM files.
diffstat:
biology/htslib/Makefile | 31 +++++++++++++------------------
biology/htslib/distinfo | 10 +++++-----
2 files changed, 18 insertions(+), 23 deletions(-)
diffs (64 lines):
diff -r d866e42649a0 -r 6cd21d46cdf0 biology/htslib/Makefile
--- a/biology/htslib/Makefile Tue Nov 06 09:41:30 2018 +0000
+++ b/biology/htslib/Makefile Tue Nov 06 10:24:14 2018 +0000
@@ -1,32 +1,27 @@
-# $NetBSD: Makefile,v 1.3 2018/08/22 09:42:59 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2018/11/06 10:24:14 adam Exp $
-DISTNAME= htslib-1.8
-PKGREVISION= 1
+DISTNAME= htslib-1.9
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_GITHUB:=samtools/}
-GITHUB_PROJECT= htslib
-GITHUB_TAG= ${PKGVERSION_NOREV}
+EXTRACT_SUFX= .tar.bz2
+GITHUB_RELEASE= ${PKGVERSION_NOREV}
MAINTAINER= bacon%NetBSD.org@localhost
HOMEPAGE= http://www.htslib.org/
COMMENT= C library for high-throughput sequencing data formats
LICENSE= mit
-USE_TOOLS+= autoconf automake autoreconf gmake perl
-GNU_CONFIGURE= yes
-REPLACE_PERL= test/compare_sam.pl test/test.pl
+USE_TOOLS+= gmake perl
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-libcurl
+PKGCONFIG_OVERRIDE= htslib.pc.in
+TEST_TARGET= test
-SUBST_CLASSES+= version
-SUBST_STAGE.version= pre-configure
-SUBST_SED.version= -e "s|m4_esyscmd_s(\[make print-version\])|[${PKGVERSION_NOREV}]|"
-SUBST_FILES.version= ${WRKSRC}/configure.ac
+REPLACE_PERL+= test/compare_sam.pl
+REPLACE_PERL+= test/test.pl
-PKGCONFIG_OVERRIDE= htslib.pc.in
-
-pre-configure:
- cd ${WRKSRC} && autoreconf
-
-.include "../../devel/zlib/buildlink3.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r d866e42649a0 -r 6cd21d46cdf0 biology/htslib/distinfo
--- a/biology/htslib/distinfo Tue Nov 06 09:41:30 2018 +0000
+++ b/biology/htslib/distinfo Tue Nov 06 10:24:14 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/04/30 16:51:54 bacon Exp $
+$NetBSD: distinfo,v 1.2 2018/11/06 10:24:14 adam Exp $
-SHA1 (htslib-1.8.tar.gz) = bc9dd2ca08de99b0b30bb7f5d64bfa0e8c3d35fd
-RMD160 (htslib-1.8.tar.gz) = 400ee0a4994c01e314394bd6a2dceedaa93ec7af
-SHA512 (htslib-1.8.tar.gz) = 888c815d5b202a624cfc99dfe4f795825defd4dcd2420153314096c8fe79532e0a21e0be6bd3b5a4f86dfa1e7c4524271b3f960ab871812abe5a1961d05d568c
-Size (htslib-1.8.tar.gz) = 1262465 bytes
+SHA1 (htslib-1.9.tar.bz2) = 21be5187203df30637dda2e1133cae2e833ef050
+RMD160 (htslib-1.9.tar.bz2) = 85d5211cc197931e73a0dc7ca0673426f2ff6d89
+SHA512 (htslib-1.9.tar.bz2) = ddb0e2d970e4c2c27e203b064898f95cb7c187cd497c02fc7b4312dcea25669d0b6063d537687521e7a065f6daefa1ae897add2df4981037a187b499d08fdef7
+Size (htslib-1.9.tar.bz2) = 1178859 bytes
Home |
Main Index |
Thread Index |
Old Index