Class AAPropertyFeatureAbsolute
java.lang.Object
com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.generic.AAPropertyFeature
com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.AAPropertyFeatureAbsolute
- All Implemented Interfaces:
Ms2pipFeature,SingleAAPropertyFeature
An amino acid property 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
FieldsFields inherited from class com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.generic.AAPropertyFeature
aaIndex, aminoAcidPropertyFields inherited from interface com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.Ms2pipFeature
implementations -
Constructor Summary
ConstructorsConstructorDescriptionEmpty default constructorAAPropertyFeatureAbsolute(int aaIndex, AminoAcid.Property property) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the category of the feature.Returns the description of the feature.intgetIndex()Returns an integer unique to this class.Methods inherited from class com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.generic.AAPropertyFeature
getAaIndex, getAminoAcidProperty, setAaIndex, setAminoAcidProperty
-
Field Details
-
index
public static final int indexThe index of this ms2pip feature.- See Also:
-
-
Constructor Details
-
AAPropertyFeatureAbsolute
public AAPropertyFeatureAbsolute()Empty default constructor -
AAPropertyFeatureAbsolute
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 on the sequenceproperty- the amino acid property
-
-
Method Details
-
getCategory
Description copied from interface:Ms2pipFeatureReturns the category of the feature.- Returns:
- the category of the feature
-
getDescription
Description copied from interface:Ms2pipFeatureReturns the description of the feature.- Returns:
- the description of the feature
-
getIndex
public int getIndex()Description copied from interface:Ms2pipFeatureReturns an integer unique to this class.- Returns:
- an integer unique to this class
-