java.lang.Object
com.compomics.util.experiment.biology.variants.amino_acids.Substitution
All Implemented Interfaces:
Variant

public class Substitution extends Object implements Variant
Class representing an amino acid substitution.
Author:
Marc Vaudel
  • Constructor Details

    • Substitution

      public Substitution()
      Empty default constructor
    • Substitution

      public Substitution(char originalAa, char substitutedAa)
      Constructor.
      Parameters:
      originalAa - the single character code of the original amino acid
      substitutedAa - the single character code of the substituted amino acid
  • Method Details

    • getDescription

      public String getDescription()
      Description copied from interface: Variant
      Returns the description of the variant as string.
      Specified by:
      getDescription in interface Variant
      Returns:
      the description of the variant as string
    • getOriginalAminoAcid

      public char getOriginalAminoAcid()
    • getSubstitutedAminoAcid

      public char getSubstitutedAminoAcid()