Class AAIdentityFeature
java.lang.Object
com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.generic.AAIdentityFeature
- All Implemented Interfaces:
Ms2pipFeature
- Direct Known Subclasses:
AAIdentityFeatureAbsolute,AAIdentityFeatureRelative
Feature based on an amino acid identity.
- Author:
- Marc Vaudel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intThe index on the sequence.protected charThe amino acid targeted represented as single letter code.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.charReturns the amino acid targeted represented as single letter code.voidsetAaIndex(int aaIndex) Sets the index on the sequence.voidsetAminoAcid(char aminoAcid) Sets the amino acid targeted represented as single letter code.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. -
aminoAcid
protected char aminoAcidThe amino acid targeted represented as single letter code.
-
-
Constructor Details
-
AAIdentityFeature
public AAIdentityFeature()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
-
getAminoAcid
public char getAminoAcid()Returns the amino acid targeted represented as single letter code.- Returns:
- the amino acid targeted represented as single letter code
-
setAminoAcid
public void setAminoAcid(char aminoAcid) Sets the amino acid targeted represented as single letter code.- Parameters:
aminoAcid- the amino acid targeted represented as single letter code
-