Struct block_aligner::scan_block::Trace
source · pub struct Trace { /* private fields */ }Expand description
Holds the trace generated by block aligner.
Implementations§
source§impl Trace
impl Trace
sourcepub fn cigar(&self, i: usize, j: usize, cigar: &mut Cigar)
pub fn cigar(&self, i: usize, j: usize, cigar: &mut Cigar)
Create a CIGAR string that represents a single traceback path ending on the specified location.
When aligning q against r, this represents the edits to go from r to q.
Matches and mismatches are both represented with M.
sourcepub fn cigar_eq(
&self,
query: &PaddedBytes,
reference: &PaddedBytes,
i: usize,
j: usize,
cigar: &mut Cigar
)
pub fn cigar_eq( &self, query: &PaddedBytes, reference: &PaddedBytes, i: usize, j: usize, cigar: &mut Cigar )
Create a CIGAR string that represents a single traceback path ending on the specified location.
When aligning q against r, this represents the edits to go from r to q.
Matches are represented using = and mismatches are represented using X.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Trace
impl Send for Trace
impl Sync for Trace
impl Unpin for Trace
impl UnwindSafe for Trace
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more