public class ModificationMatch extends ExperimentObject
NO_KEY
Constructor and Description |
---|
ModificationMatch()
Default constructor for a modification match.
|
ModificationMatch(String theoreticPtm,
int modifiedSite)
Constructor for a modification match.
|
Modifier and Type | Method and Description |
---|---|
ModificationMatch |
clone()
Clones the modification match into a new match with the same attributes.
|
boolean |
getConfident()
Returns a boolean indicating whether the modification is confidently
localized on the sequence.
|
boolean |
getInferred()
Returns a boolean indicating whether the modification is inferred from
another peptide.
|
String |
getModification()
Getter for the theoretic PTM name.
|
int |
getSite()
Getter for the modification site.
|
boolean |
isSameAs(ModificationMatch anotherModificationMatch)
Indicates whether this modification match is the same of another one.
|
void |
setConfident(boolean confident)
Sets whether the modification is confidently localized on the sequence.
|
void |
setInferred(boolean inferred)
Sets whether the modification is inferred from another peptide.
|
void |
setModification(String modName)
Sets the theoretic PTM.
|
void |
setSite(int site)
Setter for the modification site, 1 is the first amino acid.
|
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
public ModificationMatch(String theoreticPtm, int modifiedSite)
theoreticPtm
- the theoretic PTMmodifiedSite
- the position of the modification in the sequence, 1
is the first residuepublic ModificationMatch()
public String getModification()
public void setModification(String modName)
modName
- the theoretic PTM namepublic int getSite()
public void setSite(int site)
site
- the index of the modification in the sequencepublic boolean getConfident()
public void setConfident(boolean confident)
confident
- a boolean indicating whether the modification is
confidently localized on the sequencepublic boolean getInferred()
public void setInferred(boolean inferred)
inferred
- a boolean indicating whether the modification is inferred
from another peptidepublic boolean isSameAs(ModificationMatch anotherModificationMatch)
anotherModificationMatch
- another modification matchpublic ModificationMatch clone()
Copyright © 2021. All rights reserved.