Skip to main content

reconstruct_alignment

Function reconstruct_alignment 

Source
pub fn reconstruct_alignment(
    query: &[u8],
    target: &[u8],
    score: i32,
    end_i: usize,
    end_j: usize,
    traceback: &[u8],
    bandwidth: usize,
    mode: AlignmentMode,
    _scoring: &ScoringScheme,
) -> AlignmentResult
Expand description

Reconstruct an AlignmentResult from GPU traceback data for a single pair.

traceback is a flat array of traceback cells for the banded DP matrix. score and end_pos come from the GPU output.