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

Support separate analysis of R1/R2 in paried end BAM files #66

Open
s-andrews opened this issue Dec 3, 2020 · 1 comment
Open

Support separate analysis of R1/R2 in paried end BAM files #66

s-andrews opened this issue Dec 3, 2020 · 1 comment
Assignees

Comments

@s-andrews
Copy link
Owner

If we are reading from a BAM file we currently generate a report which is a mix of the two reads, which isn't ideal since some effects will target both of them.

To give some options for this can we:

  1. Add a command line option (maybe --first and --second to only analyse one of the pair of reads

  2. Add a warning if someone analyses a paired end BAM file without specifying either of the above options

Ideally it would be nice to make it so that two reports were generated in a single pass, but that's going to take some serious re-working of some of the internals. The above points should be fairly quick to implement.

@s-andrews s-andrews self-assigned this Dec 3, 2020
@alanhoyle
Copy link

As mentioned in email correspondence, having it automatically dispatch threads for --first and --second when detected would be a nice feature. While separate threads that both separately the source might not be quite as efficient as a single thread that scans and divvies out per-read, it might be easier to implement, and from a disk IO perspective I imagine that if the threads were started simultaneously, both would still be in the read cache most of the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants