Struct rust_htslib::bam::record::Record [] [src]

pub struct Record {
    pub inner: *mut bam1_t,
    // some fields omitted
}

A BAM record.

Fields

Methods

impl Record
[src]

Create an empty BAM record.

Get target id.

Set target id.

Get position (0-based).

Set position (0-based).

Get MAPQ.

Set MAPQ.

Get raw flags.

Set raw flags.

Unset all flags.

Get target id of mate.

Set target id of mate.

Get mate position.

Set mate position.

Get insert size.

Set insert size.

Get qname (read name). Complexity: O(1).

Set variable length data (qname, cigar, seq, qual).

Get cigar string. Complexity: O(k) with k being the length of the cigar string.

Get read sequence. Complexity: O(1).

Get base qualities (PHRED-scaled probability that base is wrong). This does not entail any offsets, hence the qualities can be used directly without e.g. subtracting 33. Complexity: O(1).

Get auxiliary data (tags).

Add auxiliary data.

Trait Implementations

impl Send for Record
[src]

impl Sync for Record
[src]

impl Drop for Record
[src]

A method called when the value goes out of scope. Read more