Open
Description
property query_position:
"""position of the read base at the pileup site, 0-based.
None if :attr:`is_del` or :attr:`is_refskip` is set.
"""
def __get__(self):
if self.is_del or self.is_refskip:
return None
else:
return self._qpos
property query_position_or_next:
"""position of the read base at the pileup site, 0-based.
If the current position is a deletion, returns the next
aligned base.
"""
def __get__(self):
return self._qpos
Would you add query_position_or_next
for rust-htslib?
Metadata
Metadata
Assignees
Labels
No labels