Class MsgfParameters
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.parameters.identification.tool_specific.MsgfParameters
- All Implemented Interfaces:
IdentificationAlgorithmParameter,Serializable
The MS-GF+ 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 identification algorithm.intReturn the fragmentation ID.intReturn the instrument ID.Returns the maximal peptide length allowed.Sets the minimal peptide length allowed.Returns the maximum number of modifications per peptide.Returns the maximum number of spectrum matches.Returns the number of tasks, null if not set.Returns the number of tolerable termini.intReturns the protocol ID.booleanReturns if additional output is to be included.booleanReturns whether MS-GF+ is to create and search a decoy database.voidsetAdditionalOutput(boolean additionalOutput) Set if additional output is to be included.voidsetFragmentationType(int fragmentationType) Set the fragmentation ID.voidsetInstrumentID(int instrumentID) Set the instrument ID.voidsetMaxPeptideLength(Integer maxPeptideLength) Sets the maximal peptide length allowed.voidsetMinPeptideLength(Integer minPeptideLength) Sets the minimal peptide length allowed.voidsetNumberOfModificationsPerPeptide(Integer numberOfModificationsPerPeptide) Set the maximum number of modifications per peptide.voidsetNumberOfSpectrumMarches(Integer numberOfSpectrumMarches) Set the maximum number of spectrum matches.voidsetNumberOfTasks(Integer numberOfTasks) Set the number of tasks.voidsetNumberTolerableTermini(Integer numberTolerableTermini) Set the number of tolerable termini.voidsetProtocol(int protocol) Set the protocol ID.voidsetSearchDecoyDatabase(boolean searchDecoyDatabase) Set whether MS-GF+ is to create and search a decoy database.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
-
MsgfParameters
public MsgfParameters()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
-
searchDecoyDatabase
public boolean searchDecoyDatabase()Returns whether MS-GF+ is to create and search a decoy database.- Returns:
- whether MS-GF+ is to create and search a decoy database
-
setSearchDecoyDatabase
public void setSearchDecoyDatabase(boolean searchDecoyDatabase) Set whether MS-GF+ is to create and search a decoy database.- Parameters:
searchDecoyDatabase- the searchDecoyDatabase to set
-
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
-
getInstrumentID
public int getInstrumentID()Return the instrument ID.- Returns:
- the instrumentID
-
setInstrumentID
public void setInstrumentID(int instrumentID) Set the instrument ID.- Parameters:
instrumentID- the instrumentID to set
-
getFragmentationType
public int getFragmentationType()Return the fragmentation ID.- Returns:
- the fragmentationType
-
setFragmentationType
public void setFragmentationType(int fragmentationType) Set the fragmentation ID.- Parameters:
fragmentationType- the fragmentationType to set
-
getProtocol
public int getProtocol()Returns the protocol ID.- Returns:
- the protocol
-
setProtocol
public void setProtocol(int protocol) Set the protocol ID.- Parameters:
protocol- the protocol to set
-
getNumberOfSpectrumMatches
Returns the maximum number of spectrum matches.- Returns:
- the numberOfSpectrumMarches
-
setNumberOfSpectrumMarches
Set the maximum number of spectrum matches.- Parameters:
numberOfSpectrumMarches- the numberOfSpectrumMarches to set
-
isAdditionalOutput
public boolean isAdditionalOutput()Returns if additional output is to be included.- Returns:
- the additionalOutput
-
setAdditionalOutput
public void setAdditionalOutput(boolean additionalOutput) Set if additional output is to be included.- Parameters:
additionalOutput- the additionalOutput to set
-
getNumberTolerableTermini
Returns the number of tolerable termini.- Returns:
- the numberTolerableTermini
-
setNumberTolerableTermini
Set the number of tolerable termini.- Parameters:
numberTolerableTermini- the numberTolerableTermini to set
-
getNumberOfModificationsPerPeptide
Returns the maximum number of modifications per peptide.- Returns:
- the maximum number of modifications per peptide
-
setNumberOfModificationsPerPeptide
Set the maximum number of modifications per peptide.- Parameters:
numberOfModificationsPerPeptide- the maximum number of modifications per peptide
-
getNumberOfTasks
Returns the number of tasks, null if not set.- Returns:
- the number of tasks
-
setNumberOfTasks
Set the number of tasks. Set to null to leave the choice to MS-GF+.- Parameters:
numberOfTasks- the number of tasks
-