Class AAIdentityFeatureRelative
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.AAIdentityFeatureRelative
- All Implemented Interfaces:
Ms2pipFeature
An amino acid identity feature at a position relative to the end of an ion on the peptide sequence. In this feature, an index of 0 represents the last amino acid of the ion.
- Author:
- Marc Vaudel
-
Field Summary
FieldsFields inherited from class com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.generic.AAIdentityFeature
aaIndex, aminoAcidFields inherited from interface com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.Ms2pipFeature
implementations -
Constructor Summary
ConstructorsConstructorDescriptionEmpty default constructorAAIdentityFeatureRelative(int aaIndex, char aminoAcid) 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.AAIdentityFeature
getAaIndex, getAminoAcid, setAaIndex, setAminoAcid
-
Field Details
-
index
public static final int indexThe index of this ms2pip feature.- See Also:
-
-
Constructor Details
-
AAIdentityFeatureRelative
public AAIdentityFeatureRelative()Empty default constructor -
AAIdentityFeatureRelative
public AAIdentityFeatureRelative(int aaIndex, char aminoAcid) Constructor. An index of 0 represents the last amino acid of the ion.- Parameters:
aaIndex- the index of the amino acidaminoAcid- the amino acid targeted
-
-
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
-