bam1_t

! @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.

Members

Variables

core
bam1_core_t core;

core information about the alignment

data
uint8_t* data;

all variable-length data, concatenated; structure: qname-cigar-seq-qual-aux

id
uint64_t id;

???

l_data
int l_data;

current length of bam1_t::data

m_data
uint32_t m_data;

maximum length of bam1_t::data

Meta