Trait Aligner

Source
pub trait Aligner: Debug {
    // Required method
    fn align(&mut self, a: Seq<'_>, b: Seq<'_>) -> (Cost, Option<Cigar>);
}
Expand description

Generic global pairwise alignment interface.

Required Methods§

Source

fn align(&mut self, a: Seq<'_>, b: Seq<'_>) -> (Cost, Option<Cigar>)

An alignment of sequences a and b. The returned cost is the non-negative cost of the alignment. Costmodel and traceback parameters must be specified on construction of the aligner.

Implementors§