Class AASequenceFeature
java.lang.Object
com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.generic.AASequenceFeature
- All Implemented Interfaces:
Ms2pipFeature,SingleAAPropertyFeature
- Direct Known Subclasses:
ComplementaryIonAminoAcidFeature,ForwardIonAminoAcidFeature,PeptideAminoAcidFeature
public abstract class AASequenceFeature
extends Object
implements Ms2pipFeature, SingleAAPropertyFeature
Feature based on the amino acid properties of a sequence.
- Author:
- Marc Vaudel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe different functions implemented to compare the amino acid features. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AminoAcid.PropertyThe property of the amino acids to consider.protected AASequenceFeature.FunctionThe function used to compare the amino acid properties.Fields inherited from interface com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.Ms2pipFeature
implementations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the amino acid property to consider.Returns the function used to compare the amino acid properties.voidsetAminoAcidProperty(AminoAcid.Property aminoAcidProperty) Sets the amino acid property to consider.voidsetFunction(AASequenceFeature.Function function) Sets the function used to compare the amino acid properties.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
-
function
The function used to compare the amino acid properties. -
aminoAcidProperty
The property of the amino acids to consider.
-
-
Constructor Details
-
AASequenceFeature
public AASequenceFeature()Empty default constructor
-
-
Method Details
-
getFunction
Returns the function used to compare the amino acid properties.- Returns:
- the function used to compare the amino acid properties
-
setFunction
Sets the function used to compare the amino acid properties.- Parameters:
function- the function used to compare the amino acid properties
-
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
-