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 Details

    • aaIndex

      protected int aaIndex
      The index on the sequence.
    • aminoAcidProperty

      protected AminoAcid.Property 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

      public AminoAcid.Property getAminoAcidProperty()
      Description copied from interface: SingleAAPropertyFeature
      Returns the amino acid property to consider.
      Specified by:
      getAminoAcidProperty in interface SingleAAPropertyFeature
      Returns:
      the amino acid property to consider
    • setAminoAcidProperty

      public void setAminoAcidProperty(AminoAcid.Property aminoAcidProperty)
      Description copied from interface: SingleAAPropertyFeature
      Sets the amino acid property to consider.
      Specified by:
      setAminoAcidProperty in interface SingleAAPropertyFeature
      Parameters:
      aminoAcidProperty - the amino acid property to consider