pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/biology/htslib



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov  6 10:24:14 UTC 2018

Modified Files:
        pkgsrc/biology/htslib: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/biology/htslib/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/biology/htslib/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/biology/htslib/Makefile
diff -u pkgsrc/biology/htslib/Makefile:1.3 pkgsrc/biology/htslib/Makefile:1.4
--- pkgsrc/biology/htslib/Makefile:1.3  Wed Aug 22 09:42:59 2018
+++ pkgsrc/biology/htslib/Makefile      Tue Nov  6 10:24:14 2018
@@ -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
-
-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
-
+USE_TOOLS+=            gmake perl
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --enable-libcurl
 PKGCONFIG_OVERRIDE=    htslib.pc.in
+TEST_TARGET=           test
 
-pre-configure:
-       cd ${WRKSRC} && autoreconf
+REPLACE_PERL+=         test/compare_sam.pl
+REPLACE_PERL+=         test/test.pl
 
-.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"

Index: pkgsrc/biology/htslib/distinfo
diff -u pkgsrc/biology/htslib/distinfo:1.1 pkgsrc/biology/htslib/distinfo:1.2
--- pkgsrc/biology/htslib/distinfo:1.1  Mon Apr 30 16:51:54 2018
+++ pkgsrc/biology/htslib/distinfo      Tue Nov  6 10:24:14 2018
@@ -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