consecutive_align

Function consecutive_align 

Source
pub fn consecutive_align<'imgt, const STEPS: u16, A: HasPeptidoform<SimpleLinear> + Eq + Clone>(
    sequence: A,
    genes: &[(GeneType, AlignType)],
    species: Option<HashSet<Species, impl BuildHasher + Clone + Send + Sync + Default + 'imgt>>,
    chains: Option<HashSet<ChainType, impl BuildHasher + Clone + Send + Sync + Default + 'imgt>>,
    allele: AlleleSelection,
    scoring: AlignScoring<'_>,
    return_number: usize,
    imgt: &'imgt CVIndex<IMGT>,
) -> ConsecutiveAlignment<'imgt, SimpleLinear>
Expand description

Only available if features align and imgt are turned on. Align one sequence to multiple consecutive genes. Each gene can be controlled to be global to the left or free to allow unmatched residues between it and the previous gene. If the sequence is too short to cover all genes only the genes that could be matched are returned.

ยงPanics

If there are not two or more genes listed. If the return number is 0.