Skip to content

Change how markdup looks for single reads.#2119

Merged
vasudeva8 merged 1 commit into
samtools:developfrom
whitwham:md_pair_fix
Oct 8, 2024
Merged

Change how markdup looks for single reads.#2119
vasudeva8 merged 1 commit into
samtools:developfrom
whitwham:md_pair_fix

Conversation

@whitwham

Copy link
Copy Markdown
Member

Due to changes to fixmate in 1.21 markdup no longer recognised single reads that would have normally have been part of a pair. This change adds a function to look for unset (-1 in bam1_t) mate reference (RNEXT) and mate position (PNEXT) to indicate the missing part of a pair.

There are other samtools commands that use the paired flag. We should probably review them.

Fixes #2117.

Due to changes to fixmate in 1.21 markdup no longer recognised single reads that would have normally have been part of a pair.  This change adds a function to look for unset (-1 in bam1_t) mate reference (RNEXT) and mate position (PNEXT) to indicate the missing part of a pair.
@whitwham whitwham marked this pull request as ready for review September 30, 2024 08:59
@vasudeva8 vasudeva8 merged commit b6442ac into samtools:develop Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

markdup error with updated samtools

2 participants