Class PNovoParameters
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.parameters.identification.tool_specific.PNovoParameters
- All Implemented Interfaces:
IdentificationAlgorithmParameter,Serializable
pNovo specific parameters.
- Author:
- Harald Barsnes
- See Also:
-
Field Summary
Fields inherited from class com.compomics.util.experiment.personalization.ExperimentObject
NO_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(IdentificationAlgorithmParameter identificationAlgorithmParameter) Indicates whether another identificationAlgorithmParameter has the same parameters.Returns the activation type.Returns the identification algorithm.intReturns the lower precursor mass.intReturns the number of peptides to report per spectrum.Returns the pNovo to utilities PTM map.Returns the pNovo to original amino acids residue map.getPtmResidue(Character pNovoPtmCharacter) Returns the original amino acids residue corresponding to the given pNovo PTM character.intReturns the upper precursor mass.getUtilitiesPtmName(Character pNovoPtmCharacter) Returns the utilities PTM name corresponding to the given pNovo PTM character.voidsetActicationType(String acticationType) Sets the activation type.voidsetLowerPrecursorMass(int lowerPrecursorMass) Set the lower precursor mass.voidsetNumberOfPeptides(int numberOfPeptides) Set the number of peptides to report per spectrum.voidsetPNovoPtmMap(HashMap<Character, String> pNovoPtmMap) Set the pNovo to utilities PTM map.voidsetPNovoPtmResiduesMap(HashMap<Character, Character> pNovoResidueMap) Set the pNovo to original amino acids residue map.voidsetUpperPrecursorMass(int upperPrecursorMass) Set the upper precursor mass.toString(boolean html) Returns the parameters as a string.Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
PNovoParameters
public PNovoParameters()Constructor.
-
-
Method Details
-
getAlgorithm
Description copied from interface:IdentificationAlgorithmParameterReturns the identification algorithm.- Specified by:
getAlgorithmin interfaceIdentificationAlgorithmParameter- Returns:
- the identification algorithm
-
equals
Description copied from interface:IdentificationAlgorithmParameterIndicates whether another identificationAlgorithmParameter has the same parameters.- Specified by:
equalsin interfaceIdentificationAlgorithmParameter- Parameters:
identificationAlgorithmParameter- the other identificationAlgorithmParameter- Returns:
- true if the algorithm and parameters are the same
-
toString
Description copied from interface:IdentificationAlgorithmParameterReturns the parameters as a string.- Specified by:
toStringin interfaceIdentificationAlgorithmParameter- Parameters:
html- use HTML formatting- Returns:
- the parameters as a string
-
getNumberOfPeptides
public int getNumberOfPeptides()Returns the number of peptides to report per spectrum.- Returns:
- the number of peptides to report per spectrum
-
setNumberOfPeptides
public void setNumberOfPeptides(int numberOfPeptides) Set the number of peptides to report per spectrum.- Parameters:
numberOfPeptides- the number of peptides to report per spectrum
-
getLowerPrecursorMass
public int getLowerPrecursorMass()Returns the lower precursor mass.- Returns:
- the lowerPrecursorMass
-
setLowerPrecursorMass
public void setLowerPrecursorMass(int lowerPrecursorMass) Set the lower precursor mass.- Parameters:
lowerPrecursorMass- the lowerPrecursorMass to set
-
getUpperPrecursorMass
public int getUpperPrecursorMass()Returns the upper precursor mass.- Returns:
- the upperPrecursorMass
-
setUpperPrecursorMass
public void setUpperPrecursorMass(int upperPrecursorMass) Set the upper precursor mass.- Parameters:
upperPrecursorMass- the upperPrecursorMass to set
-
getActicationType
Returns the activation type.- Returns:
- the acticationType
-
setActicationType
Sets the activation type.- Parameters:
acticationType- the acticationType to set
-
getPNovoPtmMap
Returns the pNovo to utilities PTM map. Null if not set.- Returns:
- the pNovo to utilities PTM map, null if not set
-
getUtilitiesPtmName
Returns the utilities PTM name corresponding to the given pNovo PTM character. Null if not found.- Parameters:
pNovoPtmCharacter- the pNovo PTM character- Returns:
- the utilities PTM name
-
setPNovoPtmMap
Set the pNovo to utilities PTM map.- Parameters:
pNovoPtmMap- the pNovoPtmMap to set
-
getPNovoPtmResiduesMap
Returns the pNovo to original amino acids residue map. Null if not set.- Returns:
- the pNovo to original amino acids residue map, null if not set
-
getPtmResidue
Returns the original amino acids residue corresponding to the given pNovo PTM character. Null if not found.- Parameters:
pNovoPtmCharacter- the pNovo PTM character- Returns:
- the original amino acids residue
-
setPNovoPtmResiduesMap
Set the pNovo to original amino acids residue map.- Parameters:
pNovoResidueMap- the pNovoResidueMap to set
-