Repository navigation
Download the source code here: samtools-1.25.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.)
New work and changes:
-
CHANGE.
samtools checksumreported version set to 2.0. Checksum calculations differed between samtools 1.24 and previous releases. In earlier releases, the --check-mate option produced incorrect checksums. This was fixed in v1.24 but made already existing checksums invalid. Therefore, the fixed checksum is now designated Checksum 2.0 while the previous one is left at Checksum 1.0 in order differentiate the versions.
NB Samtools version 1.24 produced corrected checksums but erroneously labelled them as version 1.0. If you used this release with the --check-mate option then we advise recomputing or manually editing the version numbers in the output files.
(PR #2365, fixes #2354. Reported by Ruben Vorderman) -
CHANGE. When the HTSlib version in use cannot be deduced from the SAMtools version, the
@PGVNfield now records it too, for exampleVN:1.24.1 (with HTSlib 1.25).
(PR #2350. Thanks to Benjamin Demaille) -
In
mpileup, added an ENDPOS field to --output-extra. Combined with POS, this gives the left and right extents on the reference for this alignment, meaning we can observe how close to either end this pileup base is.
(PR #2351, fixes #2343. Requested by Devang Thakkar) -
Strip UR tags from header SQ lines in
samtools view.
(PR #2357, fixes #2327. Requested by Florian Plaza Oñate) -
Make
samtools view--unmap and --unoutput work together.
(PR #2358, fixes #2356. Requested by Eric Boyden) -
Make
samtools importaccept empty FASTQ input. This avoids halting a pipeline when one file has no data.
(PR #2395. Thanks to Clint Valentine) -
samtools statschanged to use hts_crc32() instead of zlib's crc32() to take advantage of libdeflate (if used). Plus some minor fixes.
(PR #2406, thanks to John Marshall)
Documentation:
- Update values in embed_ref and multi_seq_per_slice options.
(PR #2386)
Bug fixes:
-
Fix reuse-after-free in bam_plcmd ref cache.
(PR #2364, fixes #2363. Reported by James Smagala. GHSA-xj7m-w8mc-xvf2 GHSA-vh3p-9c59-j3hv) -
Check string aux tag types before accessing data.
(PR #2366 GHSA-3j6q-r48h-wvm3) -
Fix
samtools fixmates-Mand-z cigaroptions. Fixing base modifications failed on reads without base modifications tags. Trimming CIGAR strings to the length of the reference sequence failed on strings containing 0M.
(PR #2407 GHSA-f423-v554-fwqr) -
In
samtools statsgrow the coverage ring buffer instead of wrapping around.
(PR #2379, fixes #2378. Thanks to Cynthia Krafft) -
Fix --move-umi-to-tag in
samtools markdup.
(PR #2382, fixes #2380. Reported by mrubio-chavarria) -
Relax the --barcode-name regex in
samtools markdup.
(PR #2387, fixes #2385. Reported by fjvorhoelter) -
Make
phaseandtargetcutwork with records where seq is '*'.
(PR #2393, fixes #2390. Reported by babayaga) -
Check the number of temporary files is above 0 in
samtools collate.
(PR #2394. Thanks to Pierre Lindenbaum) -
Fix optical duplicates being set in
markdupeven when read name prefixes differ.
(PR #2400, fixes #2399. Thanks to Kris Alavattam) -
Fix
samtools catexit code when unable to use CRAM file. cram_cat() now distinguishes between failure and EOF.
(PR #2403, fixes #2401. Reported by Matthieu Muffato) -
FIX.
samtools statscounted secondary and supplementary records in reads duplicated and bases duplicated, while sequences and total length exclude them. Non-primary duplicates are now not included in the counts. Also,samtools statscounted pairs with insert size 0 (TLEN unknown) in the denominator of insert size average and insert size standard deviation, and in the mean but not in the sum of squares of the standard deviation. They are now left out of both statistics and of the-mmain-bulk cut-off.
(PR #2388. Addresses a question in #696. Thanks to Cindy Krafft) -
Fix
samtools calmdwhen correcting MD tags that aren't aux typeZ.
(PR #2408)
Non user-visible changes and build improvements:
-
Add more CI targets (various Linux releases and other operating systems). Fixed warnings that occurred on some platforms.
(PR #2353) -
Add --norc --noprofile to bash invocations in test.pl.
(PR #2362) -
Remove unnecessary strdup(optarg) calls in CLI parsing.
(PR #2361) -
Fix memory leaks when samtools view CLI bails. Minimal impact but helps with enabling memory leak detection in fuzzing.
(PR #2372) -
Various error checking and reporting changes.
(PR #2368, PR #2369, PR #2370, PR #2371, PR #2373) -
Switch containers to ones built by samtools/c-maint. This reduces the dependence on upstream repositories.
(PR #2381)
Download the source code here: samtools-1.25.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.)