pub type BamRead = (String, Vec<u8>, String, usize, usize, u8);Expand description
A single BAM read after CIGAR-aware extraction.
The tuple fields are (name, sequence, quality_string, ref_start, ref_end, haplotype).
name— read name from the BAM record.sequence— the extracted subsequence as raw bytes (ASCII nucleotides).quality_string— Phred+33 encoded quality string for the extracted slice.ref_start/ref_end— the reference coordinates (0-based, matching BED) actually covered by the extracted slice (may differ from the requested BED coordinates when the alignment does not perfectly span the region boundary).haplotype— value of theHPaux tag;0means the tag was absent (unphased).