Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,93 @@
Noteworthy changes in release a.b
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Updates
-------

* Consolidate and simplify SAM header parsing. This considerably speeds up
parsing files with many SQ lines.
(PR #1947. PR #1953 fixes oss-fuzz issues 444492071, 444492076, 444547724,
444490034)

* Switch from strtol to hts_str2uint in mod parsing for speed increase.
(PR #1957. Thanks to Chris Wright)

* Add UMI support to FASTQ input and output. See samtools/samtools#2270.
(PR #1960, fixes samtools/samtools#2259. Requested by Poshi)

* Removed direct access to htsFile struct members in some sample functions.
(PR #1963, fixes #1961. Reported by John Marshall)

* Add support for VCFv4.4 / VCFv4.5 "Number=" fields.
(PR #1874)

* Improved operation of filters that work with header data. Filter expressions
such as rname, mrname, rnext and library were not working well with iterators.
(PR #1959)

* Add Type to the INFO/FORMAT sanity check. This produces a warning on
incorrect Type usage.
(PR #1967, fixes #1937 and samtools/bcftools#2431.
Reported by Jukka Matilainen)


Build Changes
-------------

* Change optimisation for -fsanitize=address,undefined test build to counter
slow build and high compiler memory use.
(PR #1924)

* Fix compilation failure on MacOS X 10.9 (and likely other very old platforms).
(PR #1945, fixes #1941. Reported by Ryan Carsten Schmidt)



Bug fixes
---------

* Fix segfault on an empty valid MM tag.
(PR #1939, fixes #1936. Reported by John Marshall)

* Fix bam_next_basemod + HTS_MOD_REPORT_UNCHECKED flag.
(PR #1946, fixes #1943)

* For the VCF rlen calculation, only use SVLEN for DEL, DUP and CNV symbolic
alleles. A bug is also fixed on big-endian platforms where INFO and FORMAT
values were being accessed incorrectly.
(PR #1942, fixes #1940)

* Correct TLEN assignment in CRAM decode. Also improve decoder when dealing
with multiple secondary alignments. See also samtools/hts-specs#842.
(PR #1951, fixes #1948. Reported by Matt Sexton)

* Recognise the tabix comment character (-c) when reading records.
(PR #1952, fixes #1950. Reported by Victor Negîrneac)

* Update htscodecs for better AVX2 / AVX512 runtime detection.
(PR #1954, fixes samtools/samtools#2256. Reported by Ran Fan)

* Fix embed_ref=2 on SEQ * and MD:Z tag. The combination of no sequence and
MD:Z with embed_ref=2 caused the slice extents to be miscalculated.
(PR #1964, fixes samtools/samtools#2277. Reported by fo40225)

* Internally store phase in VCF4.4 format irrespective of input file format.
This should prevent problems when dealing with different VCF versions.
(PR #1938, fixes #1932)

* Try to ensure CSI indexes are built with valid parameters. Adjusts the
min_shift and n_lvls to cover the size of the genome. This may override the
user setting of min_shift (with warning) if needed.
(PR #1968, fixes #1966. Reported by Marc Sturm)



Documentation updates
---------------------

* Added support information and samtools email for security issues.
(PR #1956)



Noteworthy changes in release 1.22.1 (14th July 2025)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down