Class AAIdentityFeatureAbsolute
java.lang.Object
com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.generic.AAIdentityFeature
com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.AAIdentityFeatureAbsolute
- All Implemented Interfaces:
Ms2pipFeature
public class AAIdentityFeatureAbsolute extends AAIdentityFeature
An amino acid identity feature at a fixed position on the peptide sequence. In this feature, a positive index refers to counting from the N-term where the first amino acid is 0. A negative index refers to counting from the C-term where the first amino acid is -1.
- Author:
- Marc Vaudel
-
Field Summary
Fields Modifier and Type Field Description static int
index
The index of this ms2pip feature.Fields inherited from class com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.generic.AAIdentityFeature
aaIndex, aminoAcid
Fields inherited from interface com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.Ms2pipFeature
implementations
-
Constructor Summary
Constructors Constructor Description AAIdentityFeatureAbsolute()
Empty default constructorAAIdentityFeatureAbsolute(int aaIndex, char aminoAcid)
Constructor. -
Method Summary
Modifier and Type Method Description String
getCategory()
Returns the category of the feature.String
getDescription()
Returns the description of the feature.int
getIndex()
Returns an integer unique to this class.Methods inherited from class com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.generic.AAIdentityFeature
getAaIndex, getAminoAcid, setAaIndex, setAminoAcid
-
Field Details
-
index
public static final int indexThe index of this ms2pip feature.- See Also:
- Constant Field Values
-
-
Constructor Details
-
AAIdentityFeatureAbsolute
public AAIdentityFeatureAbsolute()Empty default constructor -
AAIdentityFeatureAbsolute
public AAIdentityFeatureAbsolute(int aaIndex, char aminoAcid)Constructor. A positive index refers to counting from the N-term where the first amino acid is 0. A negative index refers to counting from the C-term where the first amino acid is -1.- Parameters:
aaIndex
- the index of the amino acidaminoAcid
- the amino acid targeted
-
-
Method Details
-
getCategory
Description copied from interface:Ms2pipFeature
Returns the category of the feature.- Returns:
- the category of the feature
-
getDescription
Description copied from interface:Ms2pipFeature
Returns the description of the feature.- Returns:
- the description of the feature
-
getIndex
public int getIndex()Description copied from interface:Ms2pipFeature
Returns an integer unique to this class.- Returns:
- an integer unique to this class
-