Class Substitution
java.lang.Object
com.compomics.util.experiment.biology.variants.amino_acids.Substitution
- All Implemented Interfaces:
Variant
Class representing an amino acid substitution.
- Author:
- Marc Vaudel
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty default constructorSubstitution(char originalAa, char substitutedAa) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of the variant as string.charchar
-
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 acidsubstitutedAa- the single character code of the substituted amino acid
-
-
Method Details
-
getDescription
Description copied from interface:VariantReturns the description of the variant as string.- Specified by:
getDescriptionin interfaceVariant- Returns:
- the description of the variant as string
-
getOriginalAminoAcid
public char getOriginalAminoAcid() -
getSubstitutedAminoAcid
public char getSubstitutedAminoAcid()
-