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
FieldsModifier and TypeFieldDescriptionprotected intThe index on the sequence.protected AminoAcid.PropertyThe 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 -
Method Summary
Modifier and TypeMethodDescriptionintReturns the index on the sequence.Returns the amino acid property to consider.voidsetAaIndex(int aaIndex) Sets the index on the sequence.voidsetAminoAcidProperty(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, waitMethods 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:SingleAAPropertyFeatureReturns the amino acid property to consider.- Specified by:
getAminoAcidPropertyin interfaceSingleAAPropertyFeature- Returns:
- the amino acid property to consider
-
setAminoAcidProperty
Description copied from interface:SingleAAPropertyFeatureSets the amino acid property to consider.- Specified by:
setAminoAcidPropertyin interfaceSingleAAPropertyFeature- Parameters:
aminoAcidProperty- the amino acid property to consider
-