If decodeSeqRC() receives a read with an odd number of bases, the loop will write into position o_sequence[0] instead of leaving it empty for the final if to fill it in. This commit fixes the bug by adjusting o_sequence_pairs to point one byte beyond the start of o_sequence if the read length is odd numbered.
If
decodeSeqRC()
receives a read with an odd number of bases, the loop will write into positiono_sequence[0]
instead of leaving it empty for the finalif
to fill it in. This commit fixes the bug by adjustingo_sequence_pairs
to point one byte beyond the start ofo_sequence
if the read length is odd numbered.