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!
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!