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

Question: multi-threaded reading of BAM files #403

Open
rashidalabri opened this issue Aug 8, 2023 · 0 comments
Open

Question: multi-threaded reading of BAM files #403

rashidalabri opened this issue Aug 8, 2023 · 0 comments

Comments

@rashidalabri
Copy link

I'm working on a tool that reads BAM files and I'm interested in enabling multi-threaded reading. Is using bam::Reader::set_threads(...) sufficient for this? I'm currently using bam::Reader::read(...) within a while loop to read records into a preallocated record. Will this automatically leverage multiple threads?

Thanks in advance for you assistance!

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