Class MetaMorpheusParameters
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.parameters.identification.tool_specific.MetaMorpheusParameters
- All Implemented Interfaces:
IdentificationAlgorithmParameter,Serializable
public class MetaMorpheusParameters
extends ExperimentObject
implements IdentificationAlgorithmParameter
The MetaMorpheus specific parameters.
- Author:
- Harald Barsnes
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe available decoy types.static enumThe available dissociation types.static enumThe available fragmentation terminus types.static enumThe available initiator methionine behavior types.static enumThe available mass difference acceptor types.static enumThe available search types.static enumThe available decoy types. -
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 deconvolution intensity ratio.Returns the deconvolution mass tolerance.Returns the deconvolution mass tolerance type.Returns the decoy type.Returns the dissociation type.Returns true if precursor deconvolution is to be carried out.Returns the fragmentation terminus.Returns the modification categories to include in the G-PTM search.Returns the initiator methionine behavior.Returns the mass difference acceptor type.Returns the max fragmentation size.Returns the max heterozygous variants.Returns the max modification isoforms.Returns the max mods for peptide.Returns the maximum peptide length.Returns the minimum allowed intensity ratio to base peak.Returns the minimum allowed internal fragment length.Returns the minimum peptide length.Returns the min variant depth.Returns true if modified peptides are considered different.Returns true if one hit wonders are excluded.Returns the normalize peaks across all windows.Return the number of peaks to keep per window.Returns the number of windows.Returns the score cut-off.Returns true if target sequences are to be searched.Returns the search type.Returns total partitions.Returns true if Ms1 peaks are to be trimmed.Returns true if MsMs peaks are to be trimmed.booleanReturns true of delta score is to be used.Returns true of the provided precursor info is to be used.Returns the window width in Thomson.Returns true if mzId output is to be created.Returns true if pepXML output is to be created.booleanrunGptm()Returns true if the G-PTM search is to be performed.voidsetDeconvolutionIntensityRatio(Double deconvolutionIntensityRatio) Set the deconvolution intensity ratio.voidsetDeconvolutionMassTolerance(Double deconvolutionMassTolerance) Set the deconvolution mass tolerance.voidsetDeconvolutionMassToleranceType(MetaMorpheusParameters.MetaMorpheusToleranceType deconvolutionMassToleranceType) Set the deconvolution mass tolerance type.voidSet the decoy type.voidsetDissociationType(MetaMorpheusParameters.MetaMorpheusDissociationType dissociationType) Set the dissociation type.voidsetDoPrecursorDeconvolution(Boolean doPrecursorDeconvolution) Set whether precursor deconvolution is to be carried out.voidsetFragmentationTerminus(MetaMorpheusParameters.MetaMorpheusFragmentationTerminusType fragmentationTerminus) Set the fragmentation terminus.voidsetGPtmCategories(ArrayList<ModificationCategory> gPtmCategories) Set the modification categories to include in the G-PTM search.voidsetInitiatorMethionineBehavior(MetaMorpheusParameters.MetaMorpheusInitiatorMethionineBehaviorType initiatorMethionineBehavior) Set the initiator methionine behavior.voidsetMassDiffAcceptorType(MetaMorpheusParameters.MetaMorpheusMassDiffAcceptorType massDiffAcceptorType) Set the mass difference acceptor type.voidsetMaxFragmentSize(Double maxFragmentSize) Set the max fragmentation size.voidsetMaxHeterozygousVariants(Integer maxHeterozygousVariants) Set the max heterozygous variants.voidsetMaxModificationIsoforms(Integer maxModificationIsoforms) Set the max modification isoforms.voidsetMaxModsForPeptide(Integer maxModsForPeptide) Set the max mods for peptide.voidsetMaxPeptideLength(Integer maxPeptideLength) Set the maximum peptide length.voidsetMinAllowedIntensityRatioToBasePeak(Double minAllowedIntensityRatioToBasePeak) Set the minimum allowed intensity ratio to base peak.voidsetMinAllowedInternalFragmentLength(Integer minAllowedInternalFragmentLength) Set the minimum allowed internal fragment length.voidsetMinPeptideLength(Integer minPeptideLength) Set the minimum peptide length.voidsetMinVariantDepth(Integer minVariantDepth) Set the min variant depth.voidsetModPeptidesAreDifferent(Boolean modPeptidesAreDifferent) Set whether modified peptides are considered different.voidsetNoOneHitWonders(Boolean noOneHitWonders) Set whether one hit wonders are to be excluded.voidsetNormalizePeaksAcrossAllWindows(Boolean normalizePeaksAcrossAllWindows) Set the normalize peaks across all windows.voidsetNumberOfPeaksToKeepPerWindow(Integer numberOfPeaksToKeepPerWindow) Set the number of peaks to keep per window.voidsetNumberOfWindows(Integer numberOfWindows) Set the number of windows.voidsetRunGptm(boolean runGptm) Set whether the G-PTM search is to be performed.voidsetScoreCutoff(Double scoreCutoff) Set the score cut-off.voidsetSearchTarget(Boolean searchTarget) Set whether target sequences are to be searched.voidSet the search type.voidsetTotalPartitions(Integer totalPartitions) Set the total partitions.voidsetTrimMs1Peaks(Boolean trimMs1Peaks) Set whether Ms1 peaks are to be trimmed.voidsetTrimMsMsPeaks(Boolean trimMsMsPeaks) Set whether MsMs peaks are to be trimmed.voidsetUseDeltaScore(boolean useDeltaScore) Set whether delta score is to be used.voidsetUseProvidedPrecursorInfo(Boolean useProvidedPrecursorInfo) Set whether the provided precursor info is to be used.voidsetWindowWidthThomsons(Double windowWidthThomsons) Set the window width in Thomson.voidsetWriteMzId(Boolean writeMzId) Set whether mzId output is to be created.voidsetWritePepXml(Boolean writePepXml) Set whether pepXML output is to be created.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
-
MetaMorpheusParameters
public MetaMorpheusParameters()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
-
getMinPeptideLength
Returns the minimum peptide length.- Returns:
- the the minimum peptide length
-
setMinPeptideLength
Set the minimum peptide length.- Parameters:
minPeptideLength- the minimum peptide length
-
getMaxPeptideLength
Returns the maximum peptide length.- Returns:
- the the maximum peptide length
-
setMaxPeptideLength
Set the maximum peptide length.- Parameters:
maxPeptideLength- the maximum peptide length
-
getSearchType
Returns the search type.- Returns:
- the searchType
-
setSearchType
Set the search type.- Parameters:
searchType- the searchType to set
-
getTotalPartitions
Returns total partitions.- Returns:
- the totalPartitions
-
setTotalPartitions
Set the total partitions.- Parameters:
totalPartitions- the totalPartitions to set
-
getDissociationType
Returns the dissociation type.- Returns:
- the dissociationType
-
setDissociationType
public void setDissociationType(MetaMorpheusParameters.MetaMorpheusDissociationType dissociationType) Set the dissociation type.- Parameters:
dissociationType- the dissociationType to set
-
getMaxModsForPeptide
Returns the max mods for peptide.- Returns:
- the maxModsForPeptide
-
setMaxModsForPeptide
Set the max mods for peptide.- Parameters:
maxModsForPeptide- the maxModsForPeptide to set
-
getInitiatorMethionineBehavior
public MetaMorpheusParameters.MetaMorpheusInitiatorMethionineBehaviorType getInitiatorMethionineBehavior()Returns the initiator methionine behavior.- Returns:
- the initiatorMethionineBehavior
-
setInitiatorMethionineBehavior
public void setInitiatorMethionineBehavior(MetaMorpheusParameters.MetaMorpheusInitiatorMethionineBehaviorType initiatorMethionineBehavior) Set the initiator methionine behavior.- Parameters:
initiatorMethionineBehavior- the initiatorMethionineBehavior to set
-
getScoreCutoff
Returns the score cut-off.- Returns:
- the scoreCutoff
-
setScoreCutoff
Set the score cut-off.- Parameters:
scoreCutoff- the scoreCutoff to set
-
getUseDeltaScore
public boolean getUseDeltaScore()Returns true of delta score is to be used.- Returns:
- the useDeltaScore
-
setUseDeltaScore
public void setUseDeltaScore(boolean useDeltaScore) Set whether delta score is to be used.- Parameters:
useDeltaScore- the useDeltaScore to set
-
getFragmentationTerminus
Returns the fragmentation terminus.- Returns:
- the fragmentationTerminus
-
setFragmentationTerminus
public void setFragmentationTerminus(MetaMorpheusParameters.MetaMorpheusFragmentationTerminusType fragmentationTerminus) Set the fragmentation terminus.- Parameters:
fragmentationTerminus- the fragmentationTerminus to set
-
getMaxFragmentSize
Returns the max fragmentation size.- Returns:
- the maxFragmentSize
-
setMaxFragmentSize
Set the max fragmentation size.- Parameters:
maxFragmentSize- the maxFragmentSize to set
-
getMinAllowedInternalFragmentLength
Returns the minimum allowed internal fragment length. 0 means "no internal fragments".- Returns:
- the minAllowedInternalFragmentLength
-
setMinAllowedInternalFragmentLength
Set the minimum allowed internal fragment length. 0 means "no internal fragments".- Parameters:
minAllowedInternalFragmentLength- the minAllowedInternalFragmentLength to set
-
getMassDiffAcceptorType
Returns the mass difference acceptor type.- Returns:
- the massDiffAcceptorType
-
setMassDiffAcceptorType
public void setMassDiffAcceptorType(MetaMorpheusParameters.MetaMorpheusMassDiffAcceptorType massDiffAcceptorType) Set the mass difference acceptor type.- Parameters:
massDiffAcceptorType- the massDiffAcceptorType to set
-
getWriteMzId
Returns true if mzId output is to be created.- Returns:
- the writeMzId
-
setWriteMzId
Set whether mzId output is to be created.- Parameters:
writeMzId- the writeMzId to set
-
getWritePepXml
Returns true if pepXML output is to be created.- Returns:
- the writePepXml
-
setWritePepXml
Set whether pepXML output is to be created.- Parameters:
writePepXml- the writePepXml to set
-
getUseProvidedPrecursorInfo
Returns true of the provided precursor info is to be used.- Returns:
- the useProvidedPrecursorInfo
-
setUseProvidedPrecursorInfo
Set whether the provided precursor info is to be used.- Parameters:
useProvidedPrecursorInfo- the useProvidedPrecursorInfo to set
-
getDoPrecursorDeconvolution
Returns true if precursor deconvolution is to be carried out.- Returns:
- the doPrecursorDeconvolution
-
setDoPrecursorDeconvolution
Set whether precursor deconvolution is to be carried out.- Parameters:
doPrecursorDeconvolution- the doPrecursorDeconvolution to set
-
getDeconvolutionIntensityRatio
Returns the deconvolution intensity ratio.- Returns:
- the deconvolutionIntensityRatio
-
setDeconvolutionIntensityRatio
Set the deconvolution intensity ratio.- Parameters:
deconvolutionIntensityRatio- the deconvolutionIntensityRatio to set
-
getDeconvolutionMassTolerance
Returns the deconvolution mass tolerance.- Returns:
- the deconvolutionMassTolerance
-
setDeconvolutionMassTolerance
Set the deconvolution mass tolerance.- Parameters:
deconvolutionMassTolerance- the deconvolutionMassTolerance to set
-
getDeconvolutionMassToleranceType
Returns the deconvolution mass tolerance type.- Returns:
- the deconvolutionMassToleranceType
-
setDeconvolutionMassToleranceType
public void setDeconvolutionMassToleranceType(MetaMorpheusParameters.MetaMorpheusToleranceType deconvolutionMassToleranceType) Set the deconvolution mass tolerance type.- Parameters:
deconvolutionMassToleranceType- the deconvolutionMassToleranceType to set
-
getTrimMs1Peaks
Returns true if Ms1 peaks are to be trimmed.- Returns:
- the trimMs1Peaks
-
setTrimMs1Peaks
Set whether Ms1 peaks are to be trimmed.- Parameters:
trimMs1Peaks- the trimMs1Peaks to set
-
getTrimMsMsPeaks
Returns true if MsMs peaks are to be trimmed.- Returns:
- the trimMsMsPeaks
-
setTrimMsMsPeaks
Set whether MsMs peaks are to be trimmed.- Parameters:
trimMsMsPeaks- the trimMsMsPeaks to set
-
getNumberOfPeaksToKeepPerWindow
Return the number of peaks to keep per window.- Returns:
- the numberOfPeaksToKeepPerWindow
-
setNumberOfPeaksToKeepPerWindow
Set the number of peaks to keep per window.- Parameters:
numberOfPeaksToKeepPerWindow- the numberOfPeaksToKeepPerWindow to set
-
getMinAllowedIntensityRatioToBasePeak
Returns the minimum allowed intensity ratio to base peak.- Returns:
- the minAllowedIntensityRatioToBasePeak
-
setMinAllowedIntensityRatioToBasePeak
Set the minimum allowed intensity ratio to base peak.- Parameters:
minAllowedIntensityRatioToBasePeak- the minAllowedIntensityRatioToBasePeak to set
-
getWindowWidthThomsons
Returns the window width in Thomson. Null if not set.- Returns:
- the windowWidthThomson
-
setWindowWidthThomsons
Set the window width in Thomson.- Parameters:
windowWidthThomsons- the windowWidthThomson to set
-
getNumberOfWindows
Returns the number of windows. Null if not set.- Returns:
- the numberOfWindows
-
setNumberOfWindows
Set the number of windows.- Parameters:
numberOfWindows- the numberOfWindows to set
-
getNormalizePeaksAcrossAllWindows
Returns the normalize peaks across all windows.- Returns:
- the normalizePeaksAcrossAllWindows
-
setNormalizePeaksAcrossAllWindows
Set the normalize peaks across all windows.- Parameters:
normalizePeaksAcrossAllWindows- the normalizePeaksAcrossAllWindows to set
-
getModPeptidesAreDifferent
Returns true if modified peptides are considered different.- Returns:
- the modPeptidesAreDifferent
-
setModPeptidesAreDifferent
Set whether modified peptides are considered different.- Parameters:
modPeptidesAreDifferent- the modPeptidesAreDifferent to set
-
getNoOneHitWonders
Returns true if one hit wonders are excluded.- Returns:
- the noOneHitWonders
-
setNoOneHitWonders
Set whether one hit wonders are to be excluded.- Parameters:
noOneHitWonders- the noOneHitWonders to set
-
getSearchTarget
Returns true if target sequences are to be searched.- Returns:
- the searchTarget
-
setSearchTarget
Set whether target sequences are to be searched.- Parameters:
searchTarget- the searchTarget to set
-
getDecoyType
Returns the decoy type.- Returns:
- the decoyType
-
setDecoyType
Set the decoy type.- Parameters:
decoyType- the decoyType to set
-
getMaxModificationIsoforms
Returns the max modification isoforms.- Returns:
- the maxModificationIsoforms
-
setMaxModificationIsoforms
Set the max modification isoforms.- Parameters:
maxModificationIsoforms- the maxModificationIsoforms to set
-
getMinVariantDepth
Returns the min variant depth.- Returns:
- the minVariantDepth
-
setMinVariantDepth
Set the min variant depth.- Parameters:
minVariantDepth- the minVariantDepth to set
-
getMaxHeterozygousVariants
Returns the max heterozygous variants.- Returns:
- the maxHeterozygousVariants
-
setMaxHeterozygousVariants
Set the max heterozygous variants.- Parameters:
maxHeterozygousVariants- the maxHeterozygousVariants to set
-
runGptm
public boolean runGptm()Returns true if the G-PTM search is to be performed.- Returns:
- true if the G-PTM search is to be performed
-
setRunGptm
public void setRunGptm(boolean runGptm) Set whether the G-PTM search is to be performed.- Parameters:
runGptm- set to true if the G-PTM search is to be performed
-
getGPtmCategories
Returns the modification categories to include in the G-PTM search.- Returns:
- the modification categories to include in the G-PTM search
-
setGPtmCategories
Set the modification categories to include in the G-PTM search.- Parameters:
gPtmCategories- the gPtmCategories to set
-