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:

  1. 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).
  2. l_qseq is calculated from the total length of an alignment block on reading or from CIGAR.
  3. cigar data is encoded 4 bytes per CIGAR operation.
  4. seq is nybble-encoded according to bam_nt16_table.

Fields

Trait Implementations

impl Debug for bam1_t
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for bam1_t
[src]

impl Clone for bam1_t
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for bam1_t

impl !Sync for bam1_t