Class AAPropertyFeature
java.lang.Object
com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.generic.AAPropertyFeature
- All Implemented Interfaces:
Ms2pipFeature
,SingleAAPropertyFeature
- Direct Known Subclasses:
AAPropertyFeatureAbsolute
,AAPropertyFeatureRelative
public abstract class AAPropertyFeature extends Object implements Ms2pipFeature, SingleAAPropertyFeature
Feature based on an amino acid property.
- Author:
- Marc Vaudel
-
Field Summary
Fields Modifier and Type Field Description protected int
aaIndex
The index on the sequence.protected AminoAcid.Property
aminoAcidProperty
The property of the amino acids to consider.Fields inherited from interface com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.Ms2pipFeature
implementations
-
Constructor Summary
Constructors Constructor Description AAPropertyFeature()
Empty default constructor -
Method Summary
Modifier and Type Method Description int
getAaIndex()
Returns the index on the sequence.AminoAcid.Property
getAminoAcidProperty()
Returns the amino acid property to consider.void
setAaIndex(int aaIndex)
Sets the index on the sequence.void
setAminoAcidProperty(AminoAcid.Property aminoAcidProperty)
Sets the amino acid property to consider.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
-
aaIndex
protected int aaIndexThe index on the sequence. -
aminoAcidProperty
The property of the amino acids to consider.
-
-
Constructor Details
-
AAPropertyFeature
public AAPropertyFeature()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
-
getAminoAcidProperty
Description copied from interface:SingleAAPropertyFeature
Returns the amino acid property to consider.- Specified by:
getAminoAcidProperty
in interfaceSingleAAPropertyFeature
- Returns:
- the amino acid property to consider
-
setAminoAcidProperty
Description copied from interface:SingleAAPropertyFeature
Sets the amino acid property to consider.- Specified by:
setAminoAcidProperty
in interfaceSingleAAPropertyFeature
- Parameters:
aminoAcidProperty
- the amino acid property to consider
-