What it does
Nextalign is a viral genome sequence alignment algorithm used in Nextclade.
It will perform a pairwise alignment of provided sequences against a given reference sequence using banded local alignment algorithm with affine gap-cost. Band width and rough relative positions are determined through seed matching.
Nextalign will strip insertions relative to the reference and output them in a separate CSV file.
Optionally, when provided with a gene map and a list of genes, Nextalign can perform translation of these genes.
Currently Nextalign primarily focuses on SARS-CoV-2 genome, but it can be used on any virus, given a sufficiently similar reference sequence (less than a 5% divergence).