Skip to content

Commit fd0f895

Browse files
committed
Release 1.10.2
2 parents 7c16b56 + ea879e1 commit fd0f895

File tree

14 files changed

+169
-45
lines changed

14 files changed

+169
-45
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ RANLIB = ranlib
3030
htslib_default_libs = -lz -lm -lbz2 -llzma -lcurl
3131

3232
CPPFLAGS =
33+
# TODO: make the 64-bit support for VCF optional via configure, for now add -DVCF_ALLOW_INT64
34+
# to CFLAGS manually, here or in config.mk if the latter exists.
3335
# TODO: probably update cram code to make it compile cleanly with -Wc++-compat
3436
# For testing strict C99 support add -std=c99 -D_XOPEN_SOURCE=600
3537
#CFLAGS = -g -Wall -O2 -pedantic -std=c99 -D_XOPEN_SOURCE=600

NEWS

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
Noteworthy changes in release 1.10.2 (19th December 2019)
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
This is a release fix that corrects minor inconsistencies discovered in
5+
previous deliverables.
6+
7+
8+
Noteworthy changes in release 1.10.1 (17th December 2019)
9+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10+
11+
The support for 64-bit coordinates in VCF brought problems for files
12+
not conforming to VCF/BCF specification. While previous versions would
13+
make out-of-range values silently overflow creating nonsense values
14+
but parseable file, the version 1.10 would silently create an invalid BCF.
15+
16+
117
Noteworthy changes in release 1.10 (6th December 2019)
218
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
319

README.large_positions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ which have, or are expected to have, chromosomes longer than two gigabases.
99
Currently 64 bit positions can only be stored in SAM and VCF format files.
1010
Binary BAM, CRAM and BCF cannot be used due to limitations in the formats
1111
themselves. As SAM and VCF are text formats, they have no limit on the
12-
size of numeric values.
12+
size of numeric values. Note that while 64 bit positions are supported by
13+
default for SAM, for VCF they must be enabled explicitly at compile time
14+
by editing Makefile and adding -DVCF_ALLOW_INT64=1 to CFLAGS.
1315

1416
# Compatibility issues to check
1517

bgzip.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH bgzip 1 "6 December 2019" "htslib-1.10" "Bioinformatics tools"
1+
.TH bgzip 1 "19 December 2019" "htslib-1.10.2" "Bioinformatics tools"
22
.SH NAME
33
.PP
44
bgzip \- Block compression/decompression utility

htsfile.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH htsfile 1 "6 December 2019" "htslib-1.10" "Bioinformatics tools"
1+
.TH htsfile 1 "19 December 2019" "htslib-1.10.2" "Bioinformatics tools"
22
.SH NAME
33
htsfile \- identify high-throughput sequencing data files
44
.\"

htslib-s3-plugin.7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH htslib-s3-plugin 7 "6 December 2019" "htslib-1.10" "Bioinformatics tools"
1+
.TH htslib-s3-plugin 7 "19 December 2019" "htslib-1.10.2" "Bioinformatics tools"
22
.SH NAME
33
s3 plugin \- htslib AWS S3 plugin
44
.\"

htslib/hts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ const char *hts_version(void);
421421
// Immediately after release, bump ZZ to 90 to distinguish in-development
422422
// Git repository builds from the release; you may wish to increment this
423423
// further when significant features are merged.
424-
#define HTS_VERSION 101000
424+
#define HTS_VERSION 101002
425425

426426
/*!
427427
@abstract Determine format by peeking at the start of a file

htslib/vcf.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1390,10 +1390,10 @@ static inline int bcf_enc_int1(kstring_t *s, int32_t x)
13901390
@param[out] q Location to store an updated value for p
13911391
@return The integer value, or zero if @p type is not valid.
13921392
1393-
If @p type is not one of BCF_BT_INT8, BCF_BT_INT16 or BCF_BT_INT32, zero
1394-
will be returned and @p *q will not be updated. Otherwise, the integer
1395-
value will be returned and @p *q will be set to the memory location
1396-
immediately following the integer value.
1393+
If @p type is not one of BCF_BT_INT8, BCF_BT_INT16, BCF_BT_INT32 or
1394+
BCF_BT_INT64, zero will be returned and @p *q will not be updated.
1395+
Otherwise, the integer value will be returned and @p *q will be set
1396+
to the memory location immediately following the integer value.
13971397
13981398
Cautious callers can detect invalid type codes by checking that *q has
13991399
actually been updated.
@@ -1411,7 +1411,7 @@ static inline int64_t bcf_dec_int1(const uint8_t *p, int type, uint8_t **q)
14111411
*q = (uint8_t*)p + 4;
14121412
return le_to_i32(p);
14131413
} else if (type == BCF_BT_INT64) {
1414-
*q = (uint8_t*)p + 4;
1414+
*q = (uint8_t*)p + 8;
14151415
return le_to_i64(p);
14161416
} else { // Invalid type.
14171417
return 0;

tabix.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH tabix 1 "6 December 2019" "htslib-1.10" "Bioinformatics tools"
1+
.TH tabix 1 "19 December 2019" "htslib-1.10.2" "Bioinformatics tools"
22
.SH NAME
33
.PP
44
tabix \- Generic indexer for TAB-delimited genome position files

test/longrefs/index.expected2.vcf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1 10010000110 . G <DEL> 0 . SVTYPE=DEL;SVLEN=-890;END=10010001000 PL 0,1,45
1+
1 10010000110 . G <DEL> 0 . SVTYPE=DEL;SVLEN=-890;END=10010001000;QS=1,0 PL 0,1,45

0 commit comments

Comments
 (0)