Class MsAmandaParameters
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.parameters.identification.tool_specific.MsAmandaParameters
- All Implemented Interfaces:
IdentificationAlgorithmParameter,Serializable
public class MsAmandaParameters
extends ExperimentObject
implements IdentificationAlgorithmParameter
The MS Amanda specific parameters.
- Author:
- Harald Barsnes
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe maximum allowed length of the FASTA file name.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.booleanReturns whether a decoy database shall be created and searched against.Returns the identification algorithm.Returns true if considered charges are combined in one result.Returns the considered charges for precursors.Returns true if the first precursor is to be excluded.Returns true if a PIn file is to be generated.Return the instrument ID.Returns true if the Y1 ions are to be kept.Returns the maximum allowed charge state.Returns the maximum number of proteins loaded into memory.Returns the maximum number of spectra loaded into memory.Returns the maximum number of modifications per peptide.Returns the maximum number of modifications sites per modification per peptide.Returns the maximum number of precursors.Returns the maximum number of water and ammonia losses per peptide.Returns the maximum number identical modification specific losses per peptide.Returns the maximum peak depth.Returns the maximum peptide length.Returns the maximum rank.Returns the maximum number of variable modifications per peptide.Returns the minimum peak depth.Returns the minimum peptide length.Returns the output format.Returns true if a second search is to be performed.Returns true if the ammonia losses are to be removed.Returns true if the water losses are to be removed.Returns true if Percolator is to be run.booleanDeprecated.use getMaxLoadedProteins and getMaxLoadedSpectra insteadbooleanReturns whether monoisotopic mass values shall be used (in contrast to average mass values).booleanReturns whether deisotoping is to be performed.booleanReturns true if target and decoy are ranked separately, false if shared rank.voidsetCombineConsideredCharges(Boolean combineConsideredCharges) Set if considered charges are combined in one result.voidsetConsideredChargesForPrecursors(String consideredChargesForPrecursors) Set the considered charges for precursors.voidsetExcludeFirstPrecursor(Boolean excludeFirstPrecursor) Set whether the first precursor is to be excluded.voidsetGenerateDecoyDatabase(boolean generateDecoy) Set whether a decoy database shall be created and searched against.voidsetGeneratePInFile(Boolean generatePInFile) Set whether a PIn file is to be generated.voidsetInstrumentID(String instrumentID) Set the instrument ID.voidsetKeepY1Ion(Boolean keepY1Ion) Set whether the Y1 ions are to be kept.voidsetLowMemoryMode(boolean lowMemoryMode) Deprecated.use setMaxLoadedProteins and setMaxLoadedSpectra insteadvoidsetMaxAllowedChargeState(String maxAllowedChargeState) Set the maximum allowed charge state.voidsetMaxLoadedProteins(Integer maxLoadedProteins) Set the maximum number of proteins loaded into memory.voidsetMaxLoadedSpectra(Integer maxLoadedSpectra) Set the maximum number of spectra loaded into memory.voidsetMaxModifications(Integer maxModifications) Set the maximum number of modifications per peptide.voidsetMaxModificationSites(Integer maxModificationSites) Set the maximum number of modifications sites per modification per peptide.voidsetMaxMultiplePrecursors(Integer maxMultiplePrecursors) Set the maximum number of precursors.voidsetMaxNeutralLosses(Integer maxNeutralLosses) Set the maximum number of water and ammonia losses per peptide.voidsetMaxNeutralLossesPerModification(Integer maxNeutralLossesPerModification) Set the maximum number identical modification specific losses per peptide.voidsetMaxPeakDepth(Integer maxPeakDepth) Set the maximum peak depth.voidsetMaxPeptideLength(Integer maxPeptideLength) Set the maximum peptide length.voidsetMaxRank(Integer maxRank) Set the maximum rank.voidsetMaxVariableModifications(Integer maxVariableModifications) Set the maximum number of variable modifications per peptide.voidsetMinPeakDepth(Integer minPeakDepth) Set the minimum peak depth.voidsetMinPeptideLength(Integer minPeptideLength) Set the minimum peptide length.voidsetMonoIsotopic(boolean monoisotopic) Set whether monoisotopic mass values shall be used (in contrast to average mass values).voidsetOutputFormat(String outputFormat) Set the output format.voidsetPerformDeisotoping(boolean performDeisotoping) Sets if deisotoping is to be performed.voidsetPerformSecondSearch(Boolean performSecondSearch) Set if a second search is to be performed.voidsetRemoveAmmoniaLosses(Boolean removeAmmoniaLosses) Set whether the ammonia losses are to be removed.voidsetRemoveWaterLosses(Boolean removeWaterLosses) Set whether the water losses are to be removed.voidsetReportBothBestHitsForTD(boolean reportBothBestHitsForTD) Set if target and decoy are ranked separately or shared.voidsetRunPercolator(Boolean runPercolator) Set if Percolator is to be run.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
-
Field Details
-
MAX_MS_AMANDA_FASTA_FILE_NAME_LENGTH
public static final int MAX_MS_AMANDA_FASTA_FILE_NAME_LENGTHThe maximum allowed length of the FASTA file name.- See Also:
-
-
Constructor Details
-
MsAmandaParameters
public MsAmandaParameters()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
-
generateDecoy
public boolean generateDecoy()Returns whether a decoy database shall be created and searched against.- Returns:
- true if a decoy database shall be created and searched against
-
setGenerateDecoyDatabase
public void setGenerateDecoyDatabase(boolean generateDecoy) Set whether a decoy database shall be created and searched against.- Parameters:
generateDecoy- the generateDecoy to set
-
isMonoIsotopic
public boolean isMonoIsotopic()Returns whether monoisotopic mass values shall be used (in contrast to average mass values).- Returns:
- true if mass values shall be used (in contrast to average mass values)
-
setMonoIsotopic
public void setMonoIsotopic(boolean monoisotopic) Set whether monoisotopic mass values shall be used (in contrast to average mass values).- Parameters:
monoisotopic- the monoisotopic to set
-
getInstrumentID
Return the instrument ID.- Returns:
- the instrument ID
-
setInstrumentID
Set the instrument ID.- Parameters:
instrumentID- the instrument ID to set
-
getMaxRank
Returns the maximum rank.- Returns:
- the max rank
-
setMaxRank
Set the maximum rank.- Parameters:
maxRank- the maxRank to set
-
isLowMemoryMode
public boolean isLowMemoryMode()Deprecated.use getMaxLoadedProteins and getMaxLoadedSpectra insteadReturns whether the low memory mode is used.- Returns:
- true if in low memory mode
-
setLowMemoryMode
public void setLowMemoryMode(boolean lowMemoryMode) Deprecated.use setMaxLoadedProteins and setMaxLoadedSpectra insteadSet whether the low memory mode is used.- Parameters:
lowMemoryMode- the low memory mode to set
-
isPerformDeisotoping
public boolean isPerformDeisotoping()Returns whether deisotoping is to be performed.- Returns:
- true if deisotoping is to be performed
-
setPerformDeisotoping
public void setPerformDeisotoping(boolean performDeisotoping) Sets if deisotoping is to be performed.- Parameters:
performDeisotoping- the performDeisotoping to set
-
getMaxModifications
Returns the maximum number of modifications per peptide.- Returns:
- the maximum number of modifications
-
setMaxModifications
Set the maximum number of modifications per peptide.- Parameters:
maxModifications- the maximum number of modifications
-
getMaxVariableModifications
Returns the maximum number of variable modifications per peptide.- Returns:
- the maximum number of variable modifications
-
setMaxVariableModifications
Set the maximum number of variable modifications per peptide.- Parameters:
maxVariableModifications- the maximum number of variable modifications
-
getMaxModificationSites
Returns the maximum number of modifications sites per modification per peptide.- Returns:
- the maximum number of modifications sites per modification per peptide
-
setMaxModificationSites
Set the maximum number of modifications sites per modification per peptide.- Parameters:
maxModificationSites- the maximum number of modifications sites per modification per peptide
-
getMaxNeutralLosses
Returns the maximum number of water and ammonia losses per peptide.- Returns:
- the maximum number of water and ammonia losses per peptide
-
setMaxNeutralLosses
Set the maximum number of water and ammonia losses per peptide.- Parameters:
maxNeutralLosses- the maximum number of water and ammonia losses per peptide
-
getMaxNeutralLossesPerModification
Returns the maximum number identical modification specific losses per peptide.- Returns:
- the the maximum number identical modification specific losses per peptide
-
setMaxNeutralLossesPerModification
Set the maximum number identical modification specific losses per peptide.- Parameters:
maxNeutralLossesPerModification- the maximum number identical modification specific losses per peptide
-
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
-
getMaxLoadedProteins
Returns the maximum number of proteins loaded into memory.- Returns:
- the maximum number of proteins loaded into memory
-
setMaxLoadedProteins
Set the maximum number of proteins loaded into memory.- Parameters:
maxLoadedProteins- the maximum number of proteins loaded into memory
-
getMaxLoadedSpectra
Returns the maximum number of spectra loaded into memory.- Returns:
- the maximum number of spectra loaded into memory
-
setMaxLoadedSpectra
Set the maximum number of spectra loaded into memory.- Parameters:
maxLoadedSpectra- the maximum number of spectra loaded into memory
-
getOutputFormat
Returns the output format.- Returns:
- the outputFormat
-
setOutputFormat
Set the output format.- Parameters:
outputFormat- the outputFormat to set
-
reportBothBestHitsForTD
public boolean reportBothBestHitsForTD()Returns true if target and decoy are ranked separately, false if shared rank.- Returns:
- true if target and decoy are ranked separately, false if shared rank
-
setReportBothBestHitsForTD
public void setReportBothBestHitsForTD(boolean reportBothBestHitsForTD) Set if target and decoy are ranked separately or shared.- Parameters:
reportBothBestHitsForTD- the reportBothBestHitsForTD to set
-
getMaxAllowedChargeState
Returns the maximum allowed charge state.- Returns:
- the maximum allowed charge state
-
setMaxAllowedChargeState
Set the maximum allowed charge state.- Parameters:
maxAllowedChargeState- the max allowed charge state
-
getMinPeakDepth
Returns the minimum peak depth.- Returns:
- the minimum peak depth
-
setMinPeakDepth
Set the minimum peak depth.- Parameters:
minPeakDepth- the minimum peak depth
-
getMaxPeakDepth
Returns the maximum peak depth.- Returns:
- the maximum peak depth
-
setMaxPeakDepth
Set the maximum peak depth.- Parameters:
maxPeakDepth- the maximum peak depth
-
getPerformSecondSearch
Returns true if a second search is to be performed.- Returns:
- true if a second search is to be performed
-
setPerformSecondSearch
Set if a second search is to be performed.- Parameters:
performSecondSearch- whether a second search is to be performed
-
getKeepY1Ion
Returns true if the Y1 ions are to be kept.- Returns:
- true if the Y1 ions are to be kept
-
setKeepY1Ion
Set whether the Y1 ions are to be kept.- Parameters:
keepY1Ion- whether the Y1 ions are to be kept
-
getRemoveWaterLosses
Returns true if the water losses are to be removed.- Returns:
- true if the water losses are to be removed
-
setRemoveWaterLosses
Set whether the water losses are to be removed.- Parameters:
removeWaterLosses- whether the water losses are to be removed
-
getRemoveAmmoniaLosses
Returns true if the ammonia losses are to be removed.- Returns:
- the removeAmmoniaLosses
-
setRemoveAmmoniaLosses
Set whether the ammonia losses are to be removed.- Parameters:
removeAmmoniaLosses- whether the ammonia losses are to be removed
-
getExcludeFirstPrecursor
Returns true if the first precursor is to be excluded.- Returns:
- true if the first precursor is to be excluded
-
setExcludeFirstPrecursor
Set whether the first precursor is to be excluded.- Parameters:
excludeFirstPrecursor- whether the first precursor is to be excluded
-
getMaxMultiplePrecursors
Returns the maximum number of precursors.- Returns:
- the maximum number of precursors
-
setMaxMultiplePrecursors
Set the maximum number of precursors.- Parameters:
maxMultiplePrecursors- the maximum number of precursors
-
getConsideredChargesForPrecursors
Returns the considered charges for precursors.- Returns:
- the considered charges for precursors
-
setConsideredChargesForPrecursors
Set the considered charges for precursors.- Parameters:
consideredChargesForPrecursors- the considered charges for precursors
-
getCombineConsideredCharges
Returns true if considered charges are combined in one result.- Returns:
- true if considered charges are combined in one result
-
setCombineConsideredCharges
Set if considered charges are combined in one result.- Parameters:
combineConsideredCharges- combine considered charges in one result
-
getRunPercolator
Returns true if Percolator is to be run.- Returns:
- true if Percolator is to be run
-
setRunPercolator
Set if Percolator is to be run.- Parameters:
runPercolator- if Percolator is to be run
-
getGeneratePInFile
Returns true if a PIn file is to be generated.- Returns:
- true if a PIn file is to be generated
-
setGeneratePInFile
Set whether a PIn file is to be generated.- Parameters:
generatePInFile- hether a PIn file is to be generated
-