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.