pub fn wfa_align(
a: &[u8],
b: &[u8],
sc: &GotohScoring,
) -> SeqResult<WfaAlignment>Expand description
Run the WFA gap-affine global alignment of a against b.
sc is interpreted exactly as in crate::alignment::gotoh::gotoh_align;
the returned WfaAlignment::score is guaranteed to equal that function’s
score on the same inputs.
§Errors
SeqError::EmptyInputif either sequence is empty (mirroring Gotoh).SeqError::InvalidConfigurationif the derived affine model is degenerate (seeWfaPenalties::from_gotoh).