org.biojava.nbio.structure.align.util

Class AlignmentTools

Parameters:
alignment - The input function, as a map (see alignmentAsMap(AFPChain))
identity - An identity-like function providing the isomorphism between the codomain of alignment (of type ) and the domain (type ).
Returns:
  • calculateBlockGap

    public static int[] calculateBlockGap(int[][][] optAln)
    Method that calculates the number of gaps in each subunit block of an optimal AFP alignment. INPUT: an optimal alignment in the format int[][][]. OUTPUT: an int[] array of length containing the gaps in each block as int[block].

Copyright © 2000-2015 BioJava. All Rights Reserved.