public class ModificationMatch extends ExperimentObject
| Constructor and Description |
|---|
ModificationMatch(String theoreticPtm,
boolean variable,
int modifiedSite)
Constructor for a modification match.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getModificationSite()
Getter for the modification site, 1 is the first amino acid.
|
String |
getTheoreticPtm()
Getter for the theoretic PTM name.
|
boolean |
isConfident()
Returns a boolean indicating whether the modification is confidently
localized on the sequence.
|
boolean |
isInferred()
Returns a boolean indicating whether the modification is inferred from
another peptide.
|
boolean |
isSameAs(ModificationMatch anotherModificationMatch)
Indicates whether this modification match is the same of another one.
|
boolean |
isVariable()
Returns a boolean indicating if the modification is variable.
|
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 |
setModificationSite(int site)
Setter for the modification site, 1 is the first amino acid.
|
void |
setTheoreticPtm(String ptm)
Sets the theoretic PTM.
|
addUrParam, getParameterKey, getUrParampublic ModificationMatch(String theoreticPtm, boolean variable, int modifiedSite)
theoreticPtm - the theoretic PTMvariable - true for variable modifications, false otherwisemodifiedSite - the position of the modification in the sequence, 1
is the first residuepublic boolean isVariable()
public String getTheoreticPtm()
public void setTheoreticPtm(String ptm)
ptm - the theoretic PTM namepublic int getModificationSite()
public void setModificationSite(int site)
site - the index of the modification in the sequencepublic boolean isConfident()
public void setConfident(boolean confident)
confident - a boolean indicating whether the modification is
confidently localized on the sequencepublic boolean isInferred()
public void setInferred(boolean inferred)
inferred - a boolean indicating whether the modification is inferred
from another peptidepublic boolean isSameAs(ModificationMatch anotherModificationMatch)
anotherModificationMatch - another modification matchCopyright © 2014. All rights reserved.