Skip to content

New --read-group-strict Option For samtools view#2268

Closed
whitwham wants to merge 1 commit into
samtools:developfrom
whitwham:view_read_group
Closed

New --read-group-strict Option For samtools view#2268
whitwham wants to merge 1 commit into
samtools:developfrom
whitwham:view_read_group

Conversation

@whitwham

@whitwham whitwham commented Oct 1, 2025

Copy link
Copy Markdown
Member

samtools view -r includes reads that have no read group. Though this is mentioned in the man page it still could be confusing.

This commit adds a new option, --read-group-strict, to omit reads with no read groups from the -r and -R settings. It also adds text to the usage to clarify how these options act.

Should address the concerns in #2265.

"samtools view -r" includes reads that have no read group.  Though this is
mentioned in the man page it still could be confusing.

This commit adds a new option to omit reads with no read groups from the
-r and -R settings.  It also adds text to the usage to clarify how these
options act.

Should address the concerns in samtools#2265.
@whitwham

whitwham commented Oct 8, 2025

Copy link
Copy Markdown
Member Author

Closing in favour of another solution.

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.

2 participants