Class IdentificationParametersCLI
java.lang.Object
com.compomics.cli.identification_parameters.AbstractIdentificationParametersCli
com.compomics.cli.identification_parameters.IdentificationParametersCLI
- All Implemented Interfaces:
Callable
The IdentificationParametersCLI allows creating search parameters files using
command line arguments.
- Author:
- Marc Vaudel, Harald Barsnes
-
Constructor Summary
ConstructorsConstructorDescriptionIdentificationParametersCLI(String[] args) Construct a new IdentificationParametersCLI runnable from a list of arguments. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateOptionsCLI(org.apache.commons.cli.Options options) Provides the options left to the user.protected StringReturns the options left to the user as a string.static voidStarts the launcher by calling the launch method.Methods inherited from class com.compomics.cli.identification_parameters.AbstractIdentificationParametersCli
call, getHeader, initiate, printEnzymes, printModifications
-
Constructor Details
-
IdentificationParametersCLI
Construct a new IdentificationParametersCLI runnable from a list of arguments. When initialization is successful, calling "run" will write the created parameters file.- Parameters:
args- the command line arguments
-
-
Method Details
-
main
Starts the launcher by calling the launch method. Use this as the main class in the jar file.- Parameters:
args- the command line arguments
-
createOptionsCLI
protected void createOptionsCLI(org.apache.commons.cli.Options options) Description copied from class:AbstractIdentificationParametersCliProvides the options left to the user.- Specified by:
createOptionsCLIin classAbstractIdentificationParametersCli- Parameters:
options- the options object where the options will be added
-
getOptionsAsString
Description copied from class:AbstractIdentificationParametersCliReturns the options left to the user as a string.- Specified by:
getOptionsAsStringin classAbstractIdentificationParametersCli- Returns:
- the options left to the user as a string
-