OceanGenomics / mudskipper

A tool for projecting genomic alignments to transcriptomic coordinates
BSD 3-Clause "New" or "Revised" License
32 stars 7 forks source link

Reading from SAM with multiple threads #6

Open haghshenas opened 2 years ago

haghshenas commented 2 years ago

In the implementation for getting all alignments of a query at once, I use bam::Reader::read() function. For some reason, when we turn on multi-threading for this reader, when reading from SAM, it gets stuck after reading all the records. However, that works fine for BAM! Tried to re-produce the bug using a smaller code but failed. Needs more investigation!