Skip to main content

needleman_wunsch

Function needleman_wunsch 

Source
pub fn needleman_wunsch(
    query: &[u8],
    target: &[u8],
    gap: GapPenalty,
    score_fn: impl Fn(u8, u8) -> i32,
) -> AlignmentResult
Expand description

Needleman-Wunsch global alignment with linear gap penalty.