Using qqual and query_alignment_sequence in pileup_bases() and fetch_bases() could cause error when CIGAR string includes the 'I' (Insertion) op.
With help of Cython, this pull request fixes the bug above by replacing qqual and query_alignment_sequence with two new functions called get_query_qualities and get_query_bases.
Using
qqual
andquery_alignment_sequence
in pileup_bases() and fetch_bases() could cause error when CIGAR string includes the 'I' (Insertion) op.With help of Cython, this pull request fixes the bug above by replacing qqual and query_alignment_sequence with two new functions called
get_query_qualities
andget_query_bases
.