class HTS::Bam::Pileup::Alignment

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.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(entry : Pointer(LibHTS::BamPileup1T), header : Bam::Header) #

[View source]

Instance Method Detail

def bitfields : UInt32 #

[View source]
def del? : Bool #

Bitfield helpers


[View source]
def head? : Bool #

[View source]
def indel : Int32 #

[View source]
def query_pos : Int32 #

[View source]
def record : Bam::Record #

Lazily duplicates the underlying bam1_t to avoid copying every read. Call this before the pileup iterator advances or closes.


[View source]
def refskip? : Bool #

[View source]
def tail? : Bool #

[View source]