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

Missing Reads #15

Open
christopher-schroeder opened this issue Mar 28, 2019 · 2 comments
Open

Missing Reads #15

christopher-schroeder opened this issue Mar 28, 2019 · 2 comments

Comments

@christopher-schroeder
Copy link

Dear bazam team:

I have noticed that bazam does not output all read pairs. That was quite unexpected for me. Does it have a built-in filter? For example for duplicates? And can you configure it to really output all read pairs?

Best
Christo

@christopher-schroeder
Copy link
Author

christopher-schroeder commented Mar 28, 2019

Oh sorry, never mind. The input bam seems to have missing mates for some reads.
But just to make sure: Bazam outputs all reads and doesn't filter anything (except single reads).

@ssadedin
Copy link
Owner

Hi, yes you are correct - Bazam will definitely output every read that has a mate and will not filter anything. However currently it does drop single ended reads. Potentially a flag could be added to output them as single ends when streaming into aligners (eg: BWA) that will do "smart" pairing of the reads (as in: if two consecutive reads have the same name they are treated as paired, if they differ they are treated as single ends).

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