Struct rust_htslib::htslib::bam1_t
[−]
[src]
#[repr(C)]pub struct bam1_t { pub core: bam1_core_t, pub l_data: c_int, pub m_data: u32, pub data: *mut u8, pub id: u64, }
@typedef @abstract Structure for one alignment. @field core core information about the alignment @field l_data current length of bam1_t::data @field m_data maximum length of bam1_t::data @field data all variable-length data, concatenated; structure: qname-cigar-seq-qual-aux
@discussion Notes:
- qname is terminated by one to four NULs, so that the following cigar data is 32-bit aligned; core.l_qname includes these trailing NULs, while core.l_extranul counts the excess NULs (so 0 <= l_extranul <= 3).
- l_qseq is calculated from the total length of an alignment block on reading or from CIGAR.
- cigar data is encoded 4 bytes per CIGAR operation.
- seq is nybble-encoded according to bam_nt16_table.
Fields
core: bam1_core_t
l_data: c_int
m_data: u32
data: *mut u8
id: u64
Trait Implementations
impl Debug for bam1_t
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more