Struct bam::pileup::PileupEntry[][src]

pub struct PileupEntry { /* fields omitted */ }
Expand description

Single record that covers a reference position. Part of a pileup column.

Implementations

Returns a smart pointer to the record.

Returns 0-based index of the first base aligned to the reference position. If the position is deleted in the record, the function returns the index of the last aligned base before the reference position.

Returns 0-based index after the last base aligned to the reference position. If the position is deleted in the record, the function returns the index of the last aligned base before the reference position. In that case query_start is the same as query_end.

Returns the size of the record sequence aligned to the reference position. (same as query_end() - query_start()).

Returns the type of the region aligned to the reference position (deletion, match or insertion).

Returns the current reference position.

Returns an iterator over nucleotides in the region aligned to the reference position, if the sequence is present in the record.

Returns raw qualities (without +33) in the region aligned to the reference position, if the qualities are present in the record.

Returns true if the record alignment starts at the reference position.

Returns true if the record alignment ends at the reference position (it is the last aligned position).

Returns the current CIGAR index.

Returns the remaining length of the current CIGAR operation. The remaining length includes the current position.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.