Class AAPropertyFeatureRelative
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.AAPropertyFeatureRelative
- All Implemented Interfaces:
Ms2pipFeature
,SingleAAPropertyFeature
public class AAPropertyFeatureRelative extends AAPropertyFeature
An amino acid property 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
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.AAPropertyFeature
aaIndex, aminoAcidProperty
Fields inherited from interface com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.Ms2pipFeature
implementations
-
Constructor Summary
Constructors Constructor Description AAPropertyFeatureRelative()
Empty default constructorAAPropertyFeatureRelative(int aaIndex, AminoAcid.Property property)
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.AAPropertyFeature
getAaIndex, getAminoAcidProperty, setAaIndex, setAminoAcidProperty
-
Field Details
-
index
public static final int indexThe index of this ms2pip feature.- See Also:
- Constant Field Values
-
-
Constructor Details
-
AAPropertyFeatureRelative
public AAPropertyFeatureRelative()Empty default constructor -
AAPropertyFeatureRelative
Constructor. An index of 0 represents the last amino acid of the ion.- Parameters:
aaIndex
- the index on the sequenceproperty
- the amino acid property
-
-
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
-