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

Add filter for not primary alignment or at least document it? #12

Open
mmterpstra opened this issue Aug 29, 2023 · 0 comments
Open

Add filter for not primary alignment or at least document it? #12

mmterpstra opened this issue Aug 29, 2023 · 0 comments

Comments

@mmterpstra
Copy link

Using bwa also outputs not primary alignments. These reads are flagged by the 256 flag (https://broadinstitute.github.io/picard/explain-flags.html). Preferably you would also filter them with the readcounter tool or you want the step being described in the manual.

There is a filter for duplicate alignment here (ideally the best place to insert it):
https://github.com/shahcompbio/hmmcopy_utils/blob/29a8d1d18dfd301600d5d91832e5fe231935058c/src/bin/readCounter.cpp#L194C1-L194C63

or update documentation in the README.md around here with a note.

@mmterpstra mmterpstra changed the title Filter for not primary algnment or at least documenting it? Filter for not primary alignment or at least documenting it? Aug 29, 2023
@mmterpstra mmterpstra changed the title Filter for not primary alignment or at least documenting it? Add filter for not primary alignment or at least document it? Aug 29, 2023
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

1 participant