Class CometParameters
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.parameters.identification.tool_specific.CometParameters
- All Implemented Interfaces:
IdentificationAlgorithmParameter,Serializable
The Comet specific parameters.
- Author:
- Harald Barsnes
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe available output formats. -
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 identification algorithm.Returns the batch size.Returns the enzyme type.Returns the fragment ion bin offset.Returns the isotope correction setting.Returns the lower mass value for the clear mz range.Returns the maximum fragment ion charge.Returns the maximal peptide length allowed.Returns the maximum precursor mass.Returns the maximum number of variable modifications per peptide.Returns the minimum peak intensity.Returns the minimum number of peaks.Returns the minimal peptide length allowed.Returns the minimum precursor mass.Returns the maximum number of spectrum matches.booleanReturns true if the export score is to be printed.Returns true if n-term methionine is to be removed.Returns if the precursor is to be removed.Returns the precursor removal tolerance.booleanReturns true if at least one variable modification is required per peptide.Returns the selected output format.Returns true if the theoretical fragment ions are calculated on the sum in the bin alone.Returns the upper mass value for the clear mz range.Deprecated.from Comet release 2015.02 all searches use this internal data representation by defaultvoidsetBatchSize(Integer batchSize) Set the batch size.voidsetEnzymeType(Integer enzymeType) Set the enzyme type.voidsetFragmentBinOffset(Double fragmentBinOffset) Set the fragment ion bin offset.voidsetIsotopeCorrection(Integer isotopeCorrection) Set the isotope correction setting.voidsetLowerClearMzRange(Double lowerClearMzRange) Set the lower mass value for the clear mz range.voidsetMaxFragmentCharge(Integer maxFragmentCharge) Set the maximum fragment ion charge.voidsetMaxPeptideLength(int maxPeptideLength) Sets the maximal peptide length allowed.voidsetMaxPrecursorMass(Double maxPrecursorMass) Set the maximum precursor mass.voidsetMaxVariableMods(Integer maxVariableMods) Set the maximum number of variable modifications per peptide.voidsetMinPeakIntensity(Double minPeakIntensity) Set the minimum peak intensity.voidsetMinPeaks(Integer minPeaks) Set the minimum number of peaks.voidsetMinPeptideLength(int minPeptideLength) Sets the minimal peptide length allowed.voidsetMinPrecursorMass(Double minPrecursorMass) Set the minimum precursor mass.voidsetNumberOfSpectrumMatches(Integer numberOfSpectrumMarches) Set the maximum number of spectrum matches.voidsetPrintExpectScore(boolean printExpectScore) Set if the export score is to be printed.voidsetRemoveMethionine(Boolean removeMethionine) Sets if n-term methionine is to be removed.voidsetRemovePrecursor(Integer removePrecursor) Set if the precursor is to be removed.voidsetRemovePrecursorTolerance(Double removePrecursorTolerance) Set the precursor removal tolerance.voidsetRequireVariableMods(Boolean requireVariableMods) Set if at least one variable modification is required per peptide.voidsetSelectedOutputFormat(CometParameters.CometOutputFormat selectedOutputFormat) Sets the output format.voidsetTheoreticalFragmentIonsSumOnly(Boolean theoreticalFragmentIonsSumOnly) Set if the theoretical fragment ions are calculated on the sum in the bin alone.voidsetUpperClearMzRange(Double upperClearMzRange) Set the upper mass value for the clear mz range.voidsetUseSparseMatrix(Boolean useSparseMatrix) Deprecated.from Comet release 2015.02 all searches use this internal data representation by defaulttoString(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
-
CometParameters
public CometParameters()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
-
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
-
getMaxVariableMods
Returns the maximum number of variable modifications per peptide.- Returns:
- the maxVariableMods
-
setMaxVariableMods
Set the maximum number of variable modifications per peptide.- Parameters:
maxVariableMods- the maxVariableMods to set
-
getMinPeaks
Returns the minimum number of peaks.- Returns:
- the minPeaks
-
setMinPeaks
Set the minimum number of peaks.- Parameters:
minPeaks- the minPeaks to set
-
getMinPeakIntensity
Returns the minimum peak intensity.- Returns:
- the minPeakIntensity
-
setMinPeakIntensity
Set the minimum peak intensity.- Parameters:
minPeakIntensity- the minPeakIntensity to set
-
getRemovePrecursor
Returns if the precursor is to be removed.- Returns:
- the removePrecursor
-
setRemovePrecursor
Set if the precursor is to be removed.- Parameters:
removePrecursor- the removePrecursor to set
-
getRemovePrecursorTolerance
Returns the precursor removal tolerance.- Returns:
- the removePrecursorTolerance
-
setRemovePrecursorTolerance
Set the precursor removal tolerance.- Parameters:
removePrecursorTolerance- the removePrecursorTolerance to set
-
getLowerClearMzRange
Returns the lower mass value for the clear mz range.- Returns:
- the lowerClearMzRange
-
setLowerClearMzRange
Set the lower mass value for the clear mz range.- Parameters:
lowerClearMzRange- the lowerClearMzRange to set
-
getUpperClearMzRange
Returns the upper mass value for the clear mz range.- Returns:
- the upperClearMzRange
-
setUpperClearMzRange
Set the upper mass value for the clear mz range.- Parameters:
upperClearMzRange- the upperClearMzRange to set
-
getEnzymeType
Returns the enzyme type.- Returns:
- the enzymeType
-
setEnzymeType
Set the enzyme type.- Parameters:
enzymeType- the enzymeType to set
-
getIsotopeCorrection
Returns the isotope correction setting.- Returns:
- the isotopeCorrection
-
setIsotopeCorrection
Set the isotope correction setting.- Parameters:
isotopeCorrection- the isotopeCorrection to set
-
getMinPrecursorMass
Returns the minimum precursor mass.- Returns:
- the minPrecursorMass
-
setMinPrecursorMass
Set the minimum precursor mass.- Parameters:
minPrecursorMass- the minPrecursorMass to set
-
getMaxPrecursorMass
Returns the maximum precursor mass.- Returns:
- the maxPrecursorMass
-
setMaxPrecursorMass
Set the maximum precursor mass.- Parameters:
maxPrecursorMass- the maxPrecursorMass to set
-
getMaxFragmentCharge
Returns the maximum fragment ion charge.- Returns:
- the maxFragmentCharge
-
setMaxFragmentCharge
Set the maximum fragment ion charge.- Parameters:
maxFragmentCharge- the maxFragmentCharge to set
-
getRemoveMethionine
Returns true if n-term methionine is to be removed.- Returns:
- the removeMethionine
-
setRemoveMethionine
Sets if n-term methionine is to be removed.- Parameters:
removeMethionine- the removeMethionine to set
-
getBatchSize
Returns the batch size.- Returns:
- the batchSize
-
setBatchSize
Set the batch size.- Parameters:
batchSize- the batchSize to set
-
getTheoreticalFragmentIonsSumOnly
Returns true if the theoretical fragment ions are calculated on the sum in the bin alone. False means that flanking bins are used as well.- Returns:
- the theoreticalFragmentIonsSumOnly
-
setTheoreticalFragmentIonsSumOnly
Set if the theoretical fragment ions are calculated on the sum in the bin alone. False means that flanking bins are used as well.- Parameters:
theoreticalFragmentIonsSumOnly- the theoreticalFragmentIonsSumOnly to set
-
getFragmentBinOffset
Returns the fragment ion bin offset.- Returns:
- the fragmentBinOffset
-
setFragmentBinOffset
Set the fragment ion bin offset.- Parameters:
fragmentBinOffset- the fragmentBinOffset to set
-
getUseSparseMatrix
Deprecated.from Comet release 2015.02 all searches use this internal data representation by defaultReturns true if a sparse matrix is to be used.- Returns:
- the useSparseMatrix
-
setUseSparseMatrix
Deprecated.from Comet release 2015.02 all searches use this internal data representation by defaultSet if a sparse matrix is to be used.- Parameters:
useSparseMatrix- the useSparseMatrix to set
-
getRequireVariableMods
public boolean getRequireVariableMods()Returns true if at least one variable modification is required per peptide.- Returns:
- the requireVariableMods
-
setRequireVariableMods
Set if at least one variable modification is required per peptide.- Parameters:
requireVariableMods- the requireVariableMods to set
-
getPrintExpectScore
public boolean getPrintExpectScore()Returns true if the export score is to be printed.- Returns:
- true if the export score is to be printed
-
setPrintExpectScore
public void setPrintExpectScore(boolean printExpectScore) Set if the export score is to be printed.- Parameters:
printExpectScore- the printExpectScore to set
-
getSelectedOutputFormat
Returns the selected output format.- Returns:
- the selected output format
-
setSelectedOutputFormat
Sets the output format.- Parameters:
selectedOutputFormat- the output format
-
getMaxPeptideLength
Returns the maximal peptide length allowed.- Returns:
- the maximal peptide length allowed
-
setMaxPeptideLength
public void setMaxPeptideLength(int maxPeptideLength) Sets the maximal peptide length allowed.- Parameters:
maxPeptideLength- the maximal peptide length allowed
-
getMinPeptideLength
Returns the minimal peptide length allowed.- Returns:
- the minimal peptide length allowed
-
setMinPeptideLength
public void setMinPeptideLength(int minPeptideLength) Sets the minimal peptide length allowed.- Parameters:
minPeptideLength- the minimal peptide length allowed
-