Struct bam::record::cigar::Cigar [−][src]
pub struct Cigar(_);Expand description
A wrapper around raw Cigar.
Implementations
Extends CIGAR from raw data.
Pushes a single operation to the end of the CIGAR. Does nothing if len is 0.
Extends Cigar from text representation. If an error occured, the cigar may be filled partially.
Returns a pair (length, operation) by its index.
Returns an iterator over typles (length, operation).
Returns raw Cigar. Each u32 value represents length << 4 | operation, where
operations are encoded from 0 to 8.
Calculates reference alignment length. Consider using Record::calculate_end, as the record alignment end is stored once calculated.
Calculates query length.
Shrinks inner vector.
Writes to f in a human readable format. Write * if empty.
Returns the size of the hard clipping
on the left side if left_side and on the right side otherwise.
Returns the size of the soft clipping
on the left side if left_side and on the right side otherwise.
The function ignores any hard clipping in the process.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Cigar
impl UnwindSafe for Cigar
Blanket Implementations
Mutably borrows from an owned value. Read more
