Skip to content

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

Description

@y9c

The built-in argument -c of the view command can print only the count of matching records. However, if the filtered records are stored in an output file, it is difficult to tell how many reads passed the filter. One solution is to run the view command again on the input and output files with the -c argument, but this wastes time and computational resources. It would be better if the view command could support this functionality out of the box.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions