fix bamToFastq skipping reads after unpaired reads
It was correctly identifying reads whose “paired” flag was set, but then it was incorrectly skipping over the read-pair that follows such an incorrect read. Also added a test for this behavior.
Showing
- src/bamToFastq/bamToFastq.cpp 9 additions, 3 deletionssrc/bamToFastq/bamToFastq.cpp
- test/bamtofastq/golden.fq 8 additions, 0 deletionstest/bamtofastq/golden.fq
- test/bamtofastq/golden.fq2 8 additions, 0 deletionstest/bamtofastq/golden.fq2
- test/bamtofastq/test-bamtofastq.sh 20 additions, 0 deletionstest/bamtofastq/test-bamtofastq.sh
- test/bamtofastq/test.sam 7 additions, 0 deletionstest/bamtofastq/test.sam
Loading
Please register or sign in to comment