class
HTS::Bam::Pileup::Alignment
- HTS::Bam::Pileup::Alignment
- Reference
- Object
Overview
Thin wrapper around a single bam_pileup1_t entry. Small fields are copied so they remain valid after the iterator moves on.
Defined in:
hts/bam/pileup.crConstructors
Instance Method Summary
- #base : Char | Nil
- #base_qual : UInt8 | Nil
- #bitfields : UInt32
-
#del? : Bool
Bitfield helpers
- #head? : Bool
- #indel : Int32
-
#qname : String
Query name for the underlying read without duplicating the full record.
- #query_pos : Int32
-
#record : Bam::Record
Lazily duplicates the underlying bam1_t.
- #refskip? : Bool
- #tail? : Bool
Constructor Detail
Instance Method Detail
def qname : String
#
Query name for the underlying read without duplicating the full record. Call this before the pileup iterator advances or closes.
def record : Bam::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.