zaeleus / noodles

Bioinformatics I/O libraries in Rust
MIT License
512 stars 53 forks source link

util/alignment/async: Add async indexed reader #296

Open zaeleus opened 2 months ago

zaeleus commented 2 months ago

I wonder if it also makes sense to add an asynchronous version of an indexed reader? Given the implementations on SAM/BAM/CRAM are !Send I guess we probably need that auto trait before we could do that? And I hope I understand this correctly, we might also want Sync as currently it is !Sync, though my understanding is it doesn't have to be Sync to be used in async code correct?

Originally posted by @mbhall88 in https://github.com/zaeleus/noodles/issues/286#issuecomment-2305982800