Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
y9c opened this issue Apr 22, 2024 · 1 comment
Assignees

Comments

@y9c
Copy link

y9c commented Apr 22, 2024

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.

@daviesrob daviesrob self-assigned this May 2, 2024
@daviesrob
Copy link
Member

It shouldn't be too difficult. We'll look into this.

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

No branches or pull requests

2 participants