Class ScaledSubstitutionMatrix

  • All Implemented Interfaces:
    SubstitutionMatrix<AminoAcidCompound>

    public class ScaledSubstitutionMatrix
    extends Object
    implements SubstitutionMatrix<AminoAcidCompound>
    The biojava-alignment module represents substitution matrices with short values. This is for performance reasons. Some substitution matrices, however, are provided as float values with up to 2 decimal places.

    In order to be able to use them in the alignment module these are scaled in order to be able to represent as short values. The method getScale() provides access to the scaling factor.

    Author:
    Andreas Prlic