|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.experiment.biology.PTM
public class PTM
This class models a post-translational modification. Created by IntelliJ IDEA. User: Marc Date: Jun 22, 2010 Time: 8:02:00 PM
Field Summary | |
---|---|
static int |
MODAA
modification at particular amino acids |
static int |
MODC
modification at the C terminus of a protein |
static int |
MODCAA
modification at the C terminus of a protein at particular amino acids |
static int |
MODCP
modification at the C terminus of a peptide |
static int |
MODCPAA
modification at the C terminus of a peptide at particular amino acids |
static int |
MODMAX
the max number of modification types |
static int |
MODN
modification at the N terminus of a protein |
static int |
MODNAA
modification at the N terminus of a protein at particular amino acids |
static int |
MODNP
modification at the N terminus of a peptide |
static int |
MODNPAA
modification at the N terminus of a peptide at particular amino acids |
Constructor Summary | |
---|---|
PTM()
Constructor for the modification |
|
PTM(int type,
java.lang.String name,
double mass,
java.util.ArrayList<java.lang.String> residuesArray)
Constructor for a reference modification |
|
PTM(int type,
java.lang.String name,
java.lang.String shortName,
double mass,
java.util.ArrayList<java.lang.String> residuesArray)
Constructor for a reference modification |
Method Summary | |
---|---|
double |
getMass()
getter for the mass difference induced by this modification |
java.lang.String |
getName()
getter for the modification name |
java.util.ArrayList<NeutralLoss> |
getNeutralLosses()
Returns the neutral losses possibly encountered with this modification |
java.util.ArrayList<ReporterIon> |
getReporterIons()
Returns the reporter ions possibly encountered with this modification |
java.util.ArrayList<java.lang.String> |
getResidues()
getter for the residues affected by this modification |
java.lang.String |
getShortName()
getter for the short modification name |
int |
getType()
getter for the modification type |
boolean |
isSameAs(PTM anotherPTM)
Compares two PTMs |
void |
setName(java.lang.String name)
Sets the ptm name |
void |
setNeutralLosses(java.util.ArrayList<NeutralLoss> neutralLosses)
Sets the neutral losses possibly encountered with this modification |
void |
setReporterIons(java.util.ArrayList<ReporterIon> reporterIons)
Sets the reporter ions possibly encountered with this modification |
void |
setShortName(java.lang.String shortName)
Sets the short ptm name |
Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject |
---|
addUrParam, getParameterKey, getUrParam |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MODAA
public static final int MODN
public static final int MODNAA
public static final int MODC
public static final int MODCAA
public static final int MODNP
public static final int MODNPAA
public static final int MODCP
public static final int MODCPAA
public static final int MODMAX
Constructor Detail |
---|
public PTM()
public PTM(int type, java.lang.String name, double mass, java.util.ArrayList<java.lang.String> residuesArray)
type
- Type of modification according to static attributesname
- Name of the modificationmass
- Mass difference produced by the modificationresiduesArray
- Residue array affected by this modificationpublic PTM(int type, java.lang.String name, java.lang.String shortName, double mass, java.util.ArrayList<java.lang.String> residuesArray)
type
- Type of modification according to static attributesname
- Name of the modificationshortName
- Short name of the modificationmass
- Mass difference produced by the modificationresiduesArray
- Residue array affected by this modificationMethod Detail |
---|
public int getType()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the ptm namepublic java.lang.String getShortName()
public void setShortName(java.lang.String shortName)
shortName
- the ptm namepublic double getMass()
public java.util.ArrayList<java.lang.String> getResidues()
public boolean isSameAs(PTM anotherPTM)
anotherPTM
- another PTM
public java.util.ArrayList<NeutralLoss> getNeutralLosses()
public void setNeutralLosses(java.util.ArrayList<NeutralLoss> neutralLosses)
neutralLosses
- the neutral losses possibly encountered with this modificationpublic java.util.ArrayList<ReporterIon> getReporterIons()
public void setReporterIons(java.util.ArrayList<ReporterIon> reporterIons)
reporterIons
- the reporter ions possibly encountered with this modification
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |