org.fhcrc.cpl.viewer.commandline.modules
Class CalibrateMzxmlMassesCLM
java.lang.Object
org.fhcrc.cpl.toolbox.commandline.BaseCommandLineModuleImpl
org.fhcrc.cpl.viewer.commandline.modules.BaseViewerCommandLineModuleImpl
org.fhcrc.cpl.viewer.commandline.modules.CalibrateMzxmlMassesCLM
- All Implemented Interfaces:
- CommandLineModule
public class CalibrateMzxmlMassesCLM
- extends BaseViewerCommandLineModuleImpl
- implements CommandLineModule
Command linemodule for Saving pieces of mzXML files
| Methods inherited from class org.fhcrc.cpl.toolbox.commandline.BaseCommandLineModuleImpl |
addArgumentDefinition, addArgumentDefinitions, addArgumentDefinitions, assertArgumentAbsent, assertArgumentAbsent, assertArgumentPresent, assertArgumentPresent, createArgsTableHTML, createUnnamedFileArgumentDefinition, createUnnamedSeriesFileArgumentDefinition, digestArguments, getAdvancedArgumentDefinitions, getArgumentDefinition, getArgumentDefinitions, getArgumentDefinitionsSortedForDisplay, getArgumentValue, getArgumentValues, getArgumentValueStrings, getBasicArgumentDefinitions, getBooleanArgumentValue, getCommandName, getDeltaMassArgumentValue, getDoubleArgumentValue, getDoubleArrayArgumentValue, getFileArgumentValue, getFileArrayArgumentValue, getFloatArgumentValue, getFullHelp, getHelpMessage, getHtmlHelpFragment, getIntegerArgumentValue, getPrintWriter, getShortDescription, getStringArgumentValue, getUnnamedArgumentValue, getUnnamedFileArgumentValue, getUnnamedSeriesArgumentValues, getUnnamedSeriesFileArgumentValues, getUsage, hasAdvancedArguments, hasArgumentValue, hasUnnamedArgumentValue, hasUnnamedSeriesArgumentValue, invoke, makeHtmlSafe, sortArgDefsForDisplay, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.fhcrc.cpl.toolbox.commandline.CommandLineModule |
digestArguments, getAdvancedArgumentDefinitions, getArgumentDefinition, getArgumentDefinitions, getArgumentDefinitionsSortedForDisplay, getArgumentValueStrings, getBasicArgumentDefinitions, getCommandName, getFullHelp, getHelpMessage, getHtmlHelpFragment, getShortDescription, getUsage, invoke |
_log
protected static org.apache.log4j.Logger _log
outFile
protected java.io.File outFile
outDir
protected java.io.File outDir
inFiles
protected java.io.File[] inFiles
calibrationParameters
protected Pair<java.lang.Integer,Pair<java.lang.Double,java.lang.Double>>[] calibrationParameters
outFeatureFile
protected java.io.File outFeatureFile
ms2PrecursorMassesOnly
protected boolean ms2PrecursorMassesOnly
numPartitions
protected int numPartitions
initialMassFilterPPM
protected int initialMassFilterPPM
CalibrateMzxmlMassesCLM
public CalibrateMzxmlMassesCLM()
init
protected void init()
assignArgumentValues
public void assignArgumentValues()
throws ArgumentValidationException
- Description copied from interface:
CommandLineModule
- the first step in invoking your module. The values assigned to the various arguments by the user
are passed to your module for storage and additional validation. Any communication with the user about
their argument values should be done by this method.
- Specified by:
assignArgumentValues in interface CommandLineModule
- Throws:
ArgumentValidationException
execute
public void execute()
throws CommandLineModuleExecutionException
- Description copied from interface:
CommandLineModule
- Called by msInspect after assignArgumentValues. Executes your functionality. Any
communication with the user about execution status should be done by this method.
- Specified by:
execute in interface CommandLineModule
- Throws:
CommandLineModuleExecutionException
handleFile
public void handleFile(MSRun run,
java.io.File outputFile,
FeatureSet featureSetForCalibration,
FeatureSet scanChargeFeatures)
throws CommandLineModuleExecutionException
- do the actual work
- Throws:
CommandLineModuleExecutionException
Fred Hutchinson Cancer Research Center