Skip to content

New --exclude-no-read-group option for view#2271

Merged
vasudeva8 merged 1 commit into
samtools:developfrom
whitwham:exclude_no_rg
Oct 9, 2025
Merged

New --exclude-no-read-group option for view#2271
vasudeva8 merged 1 commit into
samtools:developfrom
whitwham:exclude_no_rg

Conversation

@whitwham

@whitwham whitwham commented Oct 8, 2025

Copy link
Copy Markdown
Member

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

This commit adds text to the usage to clarify how these options act. In addition a new option -n (--exclude-no-read-group) will omit readings with no read group set.

This should address concerns in #2265.

(This PR replaces #2268).

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

This commit adds text to the usage to clarify how these options act.  In addition a new option -n (--exclude-no-read-group) will omit readings with no read group set.

This should address concerns in samtools#2265.
@whitwham whitwham changed the title New --exlcude-no-read-group option for view New --exclude-no-read-group option for view Oct 8, 2025
@vasudeva8 vasudeva8 merged commit e406d9e into samtools:develop Oct 9, 2025
6 checks passed
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