PileupRead.query_offset

Returns number of bases consumed from the read sequence.
More concisely,

  • if current CIGAR operation is 'M', '=', or 'X', index of current read base in the read sequence
  • if current CIGAR operation is 'D' or 'N', index of read base after the deletion

(in both cases indices are 0-based)

struct PileupRead(Read = bio.std.hts.bam.read.EagerBamRead)
@property const
int
query_offset
()

Meta