github samtools/samtools 1.22.2

latest releases: 1.23.2, 1.22.3, 1.21.2...
3 months ago

Download the source code here: samtools-1.22.2.tar.bz2.(The "Source code" downloads are generated by GitHub and are incomplete as they don't bundle HTSlib and are missing some generated files.)


Bug fixes:

  • This release bundles HTSlib 1.22.2, which includes many important bug fixes. Please see htslib/NEWS for details.

  • Prevent samtools coverage from printing a coverage table on failure. (PR #2247, fixes #2242. Reported by Georges Kanaan)

  • Remove deprecated line style commands from plot-bamstats. (PR #2251, fixes #2243. Reported by Suhas Srinivasan)

  • Check for file close errors in samtools addreplacerg. (PR #2254. Thanks to Martin Pollard)

  • Add missing sam_global_args_free calls to address memory leaks. (PR #2274)

  • Don't try to write out empty strings in threaded consensus pileup mode. (PR #2305)

  • Wrap ctype.h functions to avoid array subscript warnings, and add casts to prevent sign extension where arrays are indexed with char values. (PR #2306)

  • Make samtools cram-size exit cleanly instead of crashing if it reads an invalid CRAM header. (CVE-2026-31973) (PR #2313)

Build changes:

  • Ensure test files are cleaned up. (PR #2241. Thanks to John Marshall)

  • Reordered options for grep commands in tests so the input file is at the end. (PR #2311)


Download the source code here: samtools-1.22.2.tar.bz2.(The "Source code" downloads are generated by GitHub and are incomplete as they don't bundle HTSlib and are missing some generated files.)

Don't miss a new samtools release

NewReleases is sending notifications on new releases.