|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.pride.PtmToPrideMap
public class PtmToPrideMap
Map linking user modification names to PSI-MOD CV terms.
Field Summary | |
---|---|
static java.lang.String |
fileName
The name of the file to save. |
Constructor Summary | |
---|---|
PtmToPrideMap()
Constructor. |
Method Summary | |
---|---|
CvTerm |
getCVTerm(java.lang.String ptmName)
Returns the cv term corresponding to the given PTM name. |
static CvTerm |
getDefaultCVTerm(java.lang.String ptmName)
Returns the default cvTerm of a modification when it exists. |
void |
putCVTerm(java.lang.String modName,
CvTerm cvTerm)
Puts a new mapping in the map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String fileName
Constructor Detail |
---|
public PtmToPrideMap()
Method Detail |
---|
public CvTerm getCVTerm(java.lang.String ptmName)
ptmName
- the ptm name
public void putCVTerm(java.lang.String modName, CvTerm cvTerm)
modName
- the modification namecvTerm
- the corresponding cvTermpublic static CvTerm getDefaultCVTerm(java.lang.String ptmName)
ptmName
- the ptm Name according to the xml file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |