Class MyriMatchParameters
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.parameters.identification.tool_specific.MyriMatchParameters
- All Implemented Interfaces:
IdentificationAlgorithmParameter,Serializable
public class MyriMatchParameters
extends ExperimentObject
implements IdentificationAlgorithmParameter
The MyriMatch 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 TypeMethodDescriptionstatic StringenzymeMapping(DigestionParameters digestionPreferences) Tries to map the utilities enzyme in the digestion preferences to the enzymes supported by MyriMatch.booleanequals(IdentificationAlgorithmParameter identificationAlgorithmParameter) Indicates whether another identificationAlgorithmParameter has the same parameters.Returns the identification algorithm.Returns the intensity class size multiplier.booleanReturns true if a Sequest-like cross correlation score will be calculated for the top ranking hits in each spectrum’s result set.Returns the fragmentation rule.Returns the maximum number of variable modifications.Returns the max peak count.Returns the maximal peptide length allowed.Returns the maxPrecursorMass precursor mass.Sets the minimal peptide length allowed.Returns the minimum precursor mass.Returns the minimum number of termini cleavages.Set the number of batches per node to strive for when using the MPI-based parallelization features.Returns the maximum number of spectrum matches.Returns the number of intensity classes.Returns the output format.Returns the TicCutoffPercentage.booleanReturns true if the UseSmartPlusThreeModel is to be used.voidsetClassSizeMultiplier(Integer classSizeMultiplier) Set the intensity class size multiplier.voidsetComputeXCorr(boolean computeXCorr) Sets if a Sequest-like cross correlation score will be calculated for the top ranking hits in each spectrum’s result set.voidsetFragmentationRule(String fragmentationRule) Set the fragmentation rule.voidsetMaxDynamicMods(Integer maxDynamicMods) Set the maximum number of variable modifications.voidsetMaxPeakCount(Integer maxPeakCount) Set the max peak count.voidsetMaxPeptideLength(Integer maxPeptideLength) Sets the maximal peptide length allowed.voidsetMaxPrecursorMass(Double maxPrecursorMass) Sets the maximum precursor mass.voidsetMinPeptideLength(Integer minPeptideLength) Sets the minimal peptide length allowed.voidsetMinPrecursorMass(Double minPrecursorMass) Sets the minimum precursor mass.voidsetMinTerminiCleavages(Integer minTerminiCleavages) Set the minimum number of termini cleavages.voidsetNumberOfBatches(Integer numberOfBatches) Set the number of batches per node to strive for when using the MPI-based parallelization features.voidsetNumberOfSpectrumMatches(Integer numberOfSpectrumMarches) Set the maximum number of spectrum matches.voidsetNumIntensityClasses(Integer numIntensityClasses) Set the number of intensity classes.voidsetOutputFormat(String outputFormat) Set the output format.voidsetTicCutoffPercentage(Double ticCutoffPercentage) Set the TicCutoffPercentage.voidsetUseSmartPlusThreeModel(boolean useSmartPlusThreeModel) Sets if the UseSmartPlusThreeModel is to be used.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
-
MyriMatchParameters
public MyriMatchParameters()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
-
getMaxPeptideLength
Returns the maximal peptide length allowed.- Returns:
- the maximal peptide length allowed
-
setMaxPeptideLength
Sets the maximal peptide length allowed.- Parameters:
maxPeptideLength- the maximal peptide length allowed
-
getMinPeptideLength
Sets the minimal peptide length allowed.- Returns:
- the minimal peptide length allowed
-
setMinPeptideLength
Sets the minimal peptide length allowed.- Parameters:
minPeptideLength- the minimal peptide length allowed
-
getNumberOfSpectrumMatches
Returns the maximum number of spectrum matches.- Returns:
- the numberOfSpectrumMarches
-
setNumberOfSpectrumMatches
Set the maximum number of spectrum matches.- Parameters:
numberOfSpectrumMarches- the numberOfSpectrumMarches to set
-
getTicCutoffPercentage
Returns the TicCutoffPercentage.- Returns:
- the ticCutoffPercentage
-
setTicCutoffPercentage
Set the TicCutoffPercentage.- Parameters:
ticCutoffPercentage- the ticCutoffPercentage to set
-
getMaxDynamicMods
Returns the maximum number of variable modifications.- Returns:
- the maxDynamicMods
-
setMaxDynamicMods
Set the maximum number of variable modifications.- Parameters:
maxDynamicMods- the maxDynamicMods to set
-
getMinTerminiCleavages
Returns the minimum number of termini cleavages.- Returns:
- the maxDynamicMods
-
setMinTerminiCleavages
Set the minimum number of termini cleavages.- Parameters:
minTerminiCleavages- the minTerminiCleavages to set
-
getMinPrecursorMass
Returns the minimum precursor mass.- Returns:
- the minimum precursor mass
-
setMinPrecursorMass
Sets the minimum precursor mass.- Parameters:
minPrecursorMass- the minPrecursorMass to set
-
getMaxPrecursorMass
Returns the maxPrecursorMass precursor mass.- Returns:
- the maximum precursor mass
-
setMaxPrecursorMass
Sets the maximum precursor mass.- Parameters:
maxPrecursorMass- the maximum to set
-
getUseSmartPlusThreeModel
public boolean getUseSmartPlusThreeModel()Returns true if the UseSmartPlusThreeModel is to be used.- Returns:
- true if the UseSmartPlusThreeModel is to be used
-
setUseSmartPlusThreeModel
public void setUseSmartPlusThreeModel(boolean useSmartPlusThreeModel) Sets if the UseSmartPlusThreeModel is to be used.- Parameters:
useSmartPlusThreeModel- if the UseSmartPlusThreeModel is to be used
-
getComputeXCorr
public boolean getComputeXCorr()Returns true if a Sequest-like cross correlation score will be calculated for the top ranking hits in each spectrum’s result set.- Returns:
- true if the Sequest-like cross correlation score is to be calculated
-
setComputeXCorr
public void setComputeXCorr(boolean computeXCorr) Sets if a Sequest-like cross correlation score will be calculated for the top ranking hits in each spectrum’s result set.- Parameters:
computeXCorr- if the Sequest-like cross correlation score is to be calculated
-
getNumIntensityClasses
Returns the number of intensity classes.- Returns:
- the number of intensity classes
-
setNumIntensityClasses
Set the number of intensity classes.- Parameters:
numIntensityClasses- he number of intensity classes
-
getClassSizeMultiplier
Returns the intensity class size multiplier.- Returns:
- the intensity class size multiplier
-
setClassSizeMultiplier
Set the intensity class size multiplier.- Parameters:
classSizeMultiplier- the intensity class size multiplier
-
getNumberOfBatches
Set the number of batches per node to strive for when using the MPI-based parallelization features.- Returns:
- the number of batches per node
-
setNumberOfBatches
Set the number of batches per node to strive for when using the MPI-based parallelization features.- Parameters:
numberOfBatches- the number of batches per node
-
getFragmentationRule
Returns the fragmentation rule.- Returns:
- the fragmentation rule
-
setFragmentationRule
Set the fragmentation rule.- Parameters:
fragmentationRule- the fragmentation rule
-
getMaxPeakCount
Returns the max peak count.- Returns:
- the max peak count
-
setMaxPeakCount
Set the max peak count.- Parameters:
maxPeakCount- the max peak count
-
getOutputFormat
Returns the output format.- Returns:
- the outputFormat
-
setOutputFormat
Set the output format.- Parameters:
outputFormat- the outputFormat to set
-
enzymeMapping
Tries to map the utilities enzyme in the digestion preferences to the enzymes supported by MyriMatch.- Parameters:
digestionPreferences- the digestion preferences- Returns:
- the MyriMatch enzyme as a string, or null of no mapping is found
-