pub trait Cigar {
// Required methods
fn is_empty(&self) -> bool;
fn len(&self) -> usize;
fn iter(&self) -> Box<dyn Iterator<Item = Result<Op>> + '_>;
// Provided methods
fn alignment_span(&self) -> Result<usize> { ... }
fn read_length(&self) -> Result<usize> { ... }
}
Expand description
Alignment record CIGAR operations.
Required Methods§
Provided Methods§
sourcefn alignment_span(&self) -> Result<usize>
fn alignment_span(&self) -> Result<usize>
Calculates the alignment span over the reference sequence.
sourcefn read_length(&self) -> Result<usize>
fn read_length(&self) -> Result<usize>
Calculates the read length.