All Known Implementing Classes:
AminoAcidSequence, MassGap

public interface TagComponent
Interface for a sequence tag component.
Author:
Marc Vaudel
  • Method Details

    • asSequence

      String asSequence()
      Returns the tag component as String like a peptide sequence. Note: this does not include modifications.
      Returns:
      the tag component as String like a peptide sequence
    • getMass

      double getMass()
      Returns the mass of the tag component.
      Returns:
      the mass of the tag component
    • isSameAs

      boolean isSameAs​(TagComponent anotherCompontent, SequenceMatchingParameters sequenceMatchingPreferences)
      Indicates whether another component is the same as the component of interest.
      Parameters:
      anotherCompontent - another component
      sequenceMatchingPreferences - the sequence matching preferences
      Returns:
      a boolean indicating whether the other component is the same as the one of interest
    • isSameSequenceAndModificationStatusAs

      boolean isSameSequenceAndModificationStatusAs​(TagComponent anotherCompontent, SequenceMatchingParameters sequenceMatchingPreferences)
      Indicates whether another component is the same as the component of interest.
      Parameters:
      anotherCompontent - another component
      sequenceMatchingPreferences - the sequence matching preferences
      Returns:
      a boolean indicating whether the other component is the same as the one of interest