Skip to content

Commit dc65e7e

Browse files
whitwhamvaleriuojmarshalldaviesrob
authored
Summer 2021 NEWS updates (PR #1303)
Co-authored-by: Valeriu Ohan <vo2@sanger.ac.uk> Co-authored-by: John Marshall <jmarshall@hey.com> Co-authored-by: Rob Davies <rmd+git@sanger.ac.uk>
1 parent f7975f1 commit dc65e7e

File tree

1 file changed

+105
-3
lines changed

1 file changed

+105
-3
lines changed

NEWS

Lines changed: 105 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,114 @@ Noteworthy changes in release a.b
44
Features and Updates
55
--------------------
66

7-
* New method `hts_idx_nseq` returns the number of contigs covered by reads
8-
from an index structure.
9-
107
* In case a PG header line has multiple ID tags supplied by other applications,
118
the header API now selects the first one encountered as the identifying tag
129
and issues a warning when detecting subsequent ID tags.
10+
(#1256; fixed samtools/samtools#1393)
11+
12+
* VCF header reading function (vcf_hdr_read) no longer tries to download a
13+
remote index file by default.
14+
(#1266; fixes #380)
15+
16+
* Support reading and writing FASTQ format in the same way as SAM, BAM or CRAM.
17+
Records read from a FASTQ file will be treated as unmapped data.
18+
(#1156)
19+
20+
* Added GCP requester pays bucket access. Thanks to @indraniel.
21+
(#1255)
22+
23+
* Made mpileup's overlap removal choose which copy to remove at random instead
24+
of always removing the second one. This avoids strand bias in experiments
25+
where the +ve and -ve strand reads always appear in the same order.
26+
(#1273; fixes samtools/bcftools#1459)
27+
28+
* It is now possible to use platform specific BAQ parameters. This also
29+
selects long-read parameters for read lengths bigger than 1kb, which helps
30+
bcftools mpileup call SNPs on PacBio CCS reads.
31+
(#1275)
32+
33+
* Improved bcf_remove_allele_set. This fixes a bug that stopped iteration over
34+
alleles prematurely, marks removed alleles as 'missing' and does automatic
35+
lazy unpacking.
36+
(#1288; fixes #1259)
37+
38+
* Improved compression metrics for unsorted CRAM files. This improves the
39+
choice of codecs when handling unsorted data.
40+
(#1291)
41+
42+
* Linear index entries for empty intervals are now initialised with the file
43+
offset in the next non-empty interval instead of the previous one. This
44+
may reduce the amount of data iterators have to discard before reaching
45+
the desired region, when the starting location is in a sequence gap.
46+
Thanks to @carsonh for reporting the issue.
47+
(#1286; fixes #486)
48+
49+
* A new hts_bin_level API function has been added, to compute the level of a
50+
given bin in the binning index.
51+
(#1286)
52+
53+
* Related to the above, a new API method, hts_idx_nseq, now returns the total
54+
number of contigs from an index.
55+
(#1295 and #1299)
56+
57+
* Added bracket handling to bcf_hdr_parse_line, for use with ##META lines.
58+
Thanks to Alberto Casas Ortiz.
59+
(#1240)
60+
61+
Build changes
62+
-------------
63+
64+
These are compiler, configuration and makefile based changes.
65+
66+
* Added a curl/curl.h check to configure and improved INSTALL documentation on
67+
build options. Thanks to Melanie Kirsche and John Marshall.
68+
(#1265; fixes #1261)
69+
70+
* Some fixes to address GCC 11.1 warnings.
71+
(#1280, #1284, #1285; fixes #1283)
72+
73+
* Supports building HTSlib in a separate directory. Thanks to John Marshall.
74+
(#1277; fixes #231)
75+
76+
* Supports building HTSlib on MinGW 32-bit environments. Thanks to
77+
John Marshall.
78+
(#1301)
79+
80+
Bug fixes
81+
---------
82+
83+
* Fixed hts_itr_query() et al region queries: fixed bug introduced in
84+
HTSlib 1.12, which led to iterators producing very few reads for some
85+
queries (especially for larger target regions) when unmapped reads were
86+
present. HTSlib 1.11 had a related problem in which iterators would omit
87+
a few unmapped reads that should have been produced; cf #1142.
88+
Thanks to Daniel Cooke for reporting the issue.
89+
(#1281; fixes #1279)
90+
91+
* Removed compressBound assertions on opening bgzf files. Thanks to
92+
Gurt Hulselmans for reporting the issue.
93+
(#1258; fixed #1257)
94+
95+
* Duplicate sample name error message for a VCF file now only displays the
96+
duplicated name rather the entire same name list.
97+
(#1262; fixes samtools/bcftools#1451)
98+
99+
* Fix to make samtools cat work on CRAMs again.
100+
(#1276; fixes samtools/samtools#1420)
101+
102+
* Fix for a double memory free in SAM header creation. Thanks to @ihsineme.
103+
(#1274)
104+
105+
* Prevent assert in bcf_sr_set_regions. Thanks to Dr K D Murray.
106+
(#1270)
107+
108+
* Fixed crash in knet_open() etc stubs. Thanks to John Marshall.
109+
(#1289)
110+
111+
* Fixed filter expression "cigar" on unmapped reads. Stop treating an empty
112+
CIGAR string as an error. Thanks to Chang Y for reporting the issue.
113+
(#1298, fixes samtools/samtools#1445)
114+
13115

14116
Noteworthy changes in release 1.12 (17th March 2021)
15117
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)