Interface TagComponent
- All Known Implementing Classes:
AminoAcidSequence,MassGap
public interface TagComponent
Interface for a sequence tag component.
- Author:
- Marc Vaudel
-
Method Summary
Modifier and TypeMethodDescriptionReturns the tag component as String like a peptide sequence.doublegetMass()Returns the mass of the tag component.booleanisSameAs(TagComponent anotherCompontent, SequenceMatchingParameters sequenceMatchingPreferences) Indicates whether another component is the same as the component of interest.booleanisSameSequenceAndModificationStatusAs(TagComponent anotherCompontent, SequenceMatchingParameters sequenceMatchingPreferences) Indicates whether another component is the same as the component of interest.
-
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 componentsequenceMatchingPreferences- 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 componentsequenceMatchingPreferences- the sequence matching preferences- Returns:
- a boolean indicating whether the other component is the same as the one of interest
-