Class PepnovoParameters
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.parameters.identification.tool_specific.PepnovoParameters
- All Implemented Interfaces:
IdentificationAlgorithmParameter,Serializable
PepNovo specific parameters.
- Author:
- Marc Vaudel
- 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 a boolean indicating whether a blast query shall be generated.Returns the identification algorithm.Returns a boolean indicating whether low quality spectra shall be discarded.Returns the name of the fragmentation model.Returns the length of the hit list.Returns the PepNovo to utilities PTM map.getUtilitiesPtmName(String pepnovoPtmName) Returns the utilities PTM name corresponding to the given PepNovo PTM name.Returns a boolean indicating whether the precursor mass shall be corrected (TagDB setting).Indicates whether the precursor charge shall be estimated for PepNovo.voidsetCorrectPrecursorMass(Boolean correctPrecursorMass) Sets whether the precursor mass shall be corrected (TagDB setting).voidsetDiscardLowQualitySpectra(Boolean discardLowQualitySpectra) Sets whether low quality spectra shall be discarded.voidsetEstimateCharge(Boolean estimateCharge) Sets whether the precursor charge shall be estimated for PepNovo.voidsetFragmentationModel(String fragmentationModel) Sets the name of the fragmentation model.voidsetGenerateQuery(Boolean generateQuery) Sets a boolean indicating whether a blast query shall be generated.voidsetHitListLength(Integer hitListLength) Sets the length of the hit list.voidsetPepNovoPtmMap(Map<String, String> pepNovoPtmMap) Set the PepNovo to utilities PTM map.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
-
PepnovoParameters
public PepnovoParameters()Constructor.
-
-
Method Details
-
getHitListLength
Returns the length of the hit list.- Returns:
- the length of the hit list
-
setHitListLength
Sets the length of the hit list.- Parameters:
hitListLength- the length of the hit list
-
isEstimateCharge
Indicates whether the precursor charge shall be estimated for PepNovo.- Returns:
- a boolean indicating whether the precursor charge shall be estimated for PepNovo
-
setEstimateCharge
Sets whether the precursor charge shall be estimated for PepNovo.- Parameters:
estimateCharge- a boolean indicating whether the precursor charge shall be estimated for PepNovo
-
isCorrectPrecursorMass
Returns a boolean indicating whether the precursor mass shall be corrected (TagDB setting).- Returns:
- a boolean indicating whether the precursor mass shall be corrected (TagDB setting)
-
setCorrectPrecursorMass
Sets whether the precursor mass shall be corrected (TagDB setting).- Parameters:
correctPrecursorMass- a boolean indicating whether the precursor mass shall be corrected (TagDB setting)
-
getDiscardLowQualitySpectra
Returns a boolean indicating whether low quality spectra shall be discarded.- Returns:
- a boolean indicating whether low quality spectra shall be discarded
-
setDiscardLowQualitySpectra
Sets whether low quality spectra shall be discarded.- Parameters:
discardLowQualitySpectra- a boolean indicating whether low quality spectra shall be discarded
-
getFragmentationModel
Returns the name of the fragmentation model.- Returns:
- the name of the fragmentation model
-
setFragmentationModel
Sets the name of the fragmentation model.- Parameters:
fragmentationModel- the name of the fragmentation model
-
generateQuery
Returns a boolean indicating whether a blast query shall be generated.- Returns:
- a boolean indicating whether a blast query shall be generated
-
setGenerateQuery
Sets a boolean indicating whether a blast query shall be generated.- Parameters:
generateQuery- a boolean indicating whether a blast query shall be generated
-
getPepNovoPtmMap
Returns the PepNovo to utilities PTM map. Null if not set.- Returns:
- the PepNovo to utilities PTM map, null if not set
-
getUtilitiesPtmName
Returns the utilities PTM name corresponding to the given PepNovo PTM name. Null if not found.- Parameters:
pepnovoPtmName- the PepNovo PTM name- Returns:
- the utilities PTM name
-
setPepNovoPtmMap
Set the PepNovo to utilities PTM map.- Parameters:
pepNovoPtmMap- the pepNovoPtmMap to set
-
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
-