class

HTS::Bam::Pileup::Alignment

Inherits Reference < Object

Thin wrapper around a single bam_pileup1_t entry. Small fields are copied so they remain valid after the iterator moves on.

Constructors

new(entry : Pointer(LibHTS::BamPileup1T), header : Bam::Header)
Source

Instance methods

base
Source
base_qual
Source
bitfields
Source
del?

Bitfield helpers

Source
head?
Source
indel
Source
qname

Query name for the underlying read without duplicating the full record. Call this before the pileup iterator advances or closes.

Source
query_pos
Source
record

Lazily duplicates the underlying bam1_t. This is convenient but relatively expensive in pileup hot paths; prefer direct accessors such as base, base_qual, and qname when possible. Call this before the pileup iterator advances or closes.

Source
refskip?
Source
tail?
Source