public class MassGap extends ExperimentObject implements TagComponent
Constructor and Description |
---|
MassGap(double value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
asSequence()
Returns the tag component as String like a peptide sequence.
|
Double |
getMass()
Returns the mass of the tag component.
|
boolean |
isSameAs(TagComponent anotherCompontent,
AminoAcidPattern.MatchingType matchingType,
Double massTolerance)
Indicates whether another component is the same as the component of
interest.
|
boolean |
isSameSequenceAndModificationStatusAs(TagComponent anotherCompontent,
AminoAcidPattern.MatchingType matchingType,
Double massTolerance)
Indicates whether another component is the same as the component of
interest.
|
void |
setMass(double value)
Sets the mass of the gap.
|
addUrParam, getParameterKey, getUrParam
public MassGap(double value)
value
- the value of the mass gappublic void setMass(double value)
value
- the mass of the gappublic String asSequence()
TagComponent
asSequence
in interface TagComponent
public Double getMass()
TagComponent
getMass
in interface TagComponent
public boolean isSameAs(TagComponent anotherCompontent, AminoAcidPattern.MatchingType matchingType, Double massTolerance)
TagComponent
isSameAs
in interface TagComponent
anotherCompontent
- another componentmatchingType
- the amino acid matching typemassTolerance
- the mass tolerance to use to consider amino acids as
indistinguishablepublic boolean isSameSequenceAndModificationStatusAs(TagComponent anotherCompontent, AminoAcidPattern.MatchingType matchingType, Double massTolerance)
TagComponent
isSameSequenceAndModificationStatusAs
in interface TagComponent
anotherCompontent
- another componentmatchingType
- the amino acid matching typemassTolerance
- the mass tolerance to use to consider amino acids as
indistinguishableCopyright © 2014. All rights reserved.