Struct rust_htslib::bam::pileup::Alignment
[−]
[src]
pub struct Alignment<'a> { /* fields omitted */ }An aligned read in a pileup.
Methods
impl<'a> Alignment<'a>[src]
pub fn new(inner: &'a bam_pileup1_t) -> Self[src]
pub fn qpos(&self) -> Option<usize>[src]
Position within the read. None if either is_del or is_refskip.
pub fn indel(&self) -> Indel[src]
Insertion, deletion (with length) if indel starts at next base or None otherwise.
pub fn is_del(&self) -> bool[src]
Whether there is a deletion in the alignment at this position.
pub fn is_head(&self) -> bool[src]
Whether the alignment starts at this position.
pub fn is_tail(&self) -> bool[src]
Whether the alignment ends at this position.
pub fn is_refskip(&self) -> bool[src]
Whether this position is marked as refskip in the CIGAR string.
pub fn record(&self) -> Record[src]
The corresponding record.