Skip to content

View: add --save-counts option#2120

Merged
whitwham merged 1 commit into
samtools:developfrom
daviesrob:save-counts
Oct 7, 2024
Merged

View: add --save-counts option#2120
whitwham merged 1 commit into
samtools:developfrom
daviesrob:save-counts

Conversation

@daviesrob

Copy link
Copy Markdown
Member

Adds an option to store counts of records processed, accepted and rejected by filtering to a file. The data is saved as JSON, but pretty-printed so it also can be processed fairly easily as a simple text file.

Fixes #2038 (Using view command to filter the records from a bam file, but also report the number of reads passed the filter or dropped.)

Adds an option to store counts of records processed, accepted
and rejected by filtering to a file.  The data is saved as JSON,
but pretty-printed so it also can be processed fairly easily as a
simple text file.

Fixes samtools#2038 (Using view command to filter the records from a bam
file, but also report the number of reads passed the filter or
dropped.)
@whitwham whitwham merged commit bb09885 into samtools:develop Oct 7, 2024
@daviesrob daviesrob deleted the save-counts branch October 10, 2024 10:42
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.

Using view command to filter the records from bam file, but also report the number of reads passed the filter or dropped.

2 participants