Class AAIdentityFeature
java.lang.Object
com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.generic.AAIdentityFeature
- All Implemented Interfaces:
Ms2pipFeature
- Direct Known Subclasses:
AAIdentityFeatureAbsolute
,AAIdentityFeatureRelative
public abstract class AAIdentityFeature extends Object implements Ms2pipFeature
Feature based on an amino acid identity.
- Author:
- Marc Vaudel
-
Field Summary
Fields Modifier and Type Field Description protected int
aaIndex
The index on the sequence.protected char
aminoAcid
The amino acid targeted represented as single letter code.Fields inherited from interface com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.Ms2pipFeature
implementations
-
Constructor Summary
Constructors Constructor Description AAIdentityFeature()
Empty default constructor -
Method Summary
Modifier and Type Method Description int
getAaIndex()
Returns the index on the sequence.char
getAminoAcid()
Returns the amino acid targeted represented as single letter code.void
setAaIndex(int aaIndex)
Sets the index on the sequence.void
setAminoAcid(char aminoAcid)
Sets the amino acid targeted represented as single letter code.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.Ms2pipFeature
getCategory, getDescription, getIndex
-
Field Details
-
Constructor Details
-
AAIdentityFeature
public AAIdentityFeature()Empty default constructor
-
-
Method Details
-
getAaIndex
public int getAaIndex()Returns the index on the sequence.- Returns:
- the index on the sequence
-
setAaIndex
public void setAaIndex(int aaIndex)Sets the index on the sequence.- Parameters:
aaIndex
- the index on the sequence
-
getAminoAcid
public char getAminoAcid()Returns the amino acid targeted represented as single letter code.- Returns:
- the amino acid targeted represented as single letter code
-
setAminoAcid
public void setAminoAcid(char aminoAcid)Sets the amino acid targeted represented as single letter code.- Parameters:
aminoAcid
- the amino acid targeted represented as single letter code
-