org.fhcrc.cpl.viewer.amt.commandline
Class AmtDatabaseCreatorCommandLineModule
java.lang.Object
org.fhcrc.cpl.toolbox.commandline.BaseCommandLineModuleImpl
org.fhcrc.cpl.viewer.commandline.modules.BaseViewerCommandLineModuleImpl
org.fhcrc.cpl.viewer.commandline.modules.FeatureSelectionParamsCommandLineModule
org.fhcrc.cpl.viewer.amt.commandline.AmtDatabaseCreatorCommandLineModule
- All Implemented Interfaces:
- CommandLineModule
public class AmtDatabaseCreatorCommandLineModule
- extends FeatureSelectionParamsCommandLineModule
- implements CommandLineModule
Command line module for creating AMT databases, either from pepXml (or other feature)
files, or from other AMT databases, or from random peptides pulled out of a
FASTA file
| 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
mzXmlDir
protected java.io.File mzXmlDir
ms2FeaturesDir
protected java.io.File ms2FeaturesDir
ms1FeaturesDir
protected java.io.File ms1FeaturesDir
outFile
protected java.io.File outFile
scanOrTimeMode
protected int scanOrTimeMode
robustRegression
protected boolean robustRegression
maxStudentizedResidualForRegression
protected double maxStudentizedResidualForRegression
maxStudentizedResidualForInclusion
protected double maxStudentizedResidualForInclusion
mode
protected int mode
CREATE_AMTXML_FROM_DIRECTORIES_MODE
protected static final int CREATE_AMTXML_FROM_DIRECTORIES_MODE
- See Also:
- Constant Field Values
CREATE_AMTXML_FROM_MS2_FEATURES_MODE
protected static final int CREATE_AMTXML_FROM_MS2_FEATURES_MODE
- See Also:
- Constant Field Values
CREATE_AMTXML_FROM_MULTIPLE_AMT_XMLS_MODE
protected static final int CREATE_AMTXML_FROM_MULTIPLE_AMT_XMLS_MODE
- See Also:
- Constant Field Values
CREATE_AMTXML_FROM_RANDOM_PEPTIDES_MODE
protected static final int CREATE_AMTXML_FROM_RANDOM_PEPTIDES_MODE
- See Also:
- Constant Field Values
CREATE_AMTXML_FROM_PROTEIN_TRYPTIC_PEPTIDES_MODE
protected static final int CREATE_AMTXML_FROM_PROTEIN_TRYPTIC_PEPTIDES_MODE
- See Also:
- Constant Field Values
minPeptideLength
protected int minPeptideLength
maxPeptideLength
protected int maxPeptideLength
modeStrings
protected static final java.lang.String[] modeStrings
modeExplanations
protected static final java.lang.String[] modeExplanations
align
protected boolean align
numRandomPeptides
protected int numRandomPeptides
proteinsFromFasta
protected Protein[] proteinsFromFasta
proteinsToDigest
protected java.util.List<Protein> proteinsToDigest
maxMissedCleavages
protected int maxMissedCleavages
populateMs2Times
protected boolean populateMs2Times
databaseBuilder
protected AmtDatabaseBuilder databaseBuilder
AmtDatabaseCreatorCommandLineModule
public AmtDatabaseCreatorCommandLineModule()
init
protected void init()
- Overrides:
init in class FeatureSelectionParamsCommandLineModule
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- Overrides:
assignArgumentValues in class FeatureSelectionParamsCommandLineModule
- Throws:
ArgumentValidationException
execute
public void execute()
throws CommandLineModuleExecutionException
- do the actual work
- Specified by:
execute in interface CommandLineModule
- Throws:
CommandLineModuleExecutionException
writeAmtDatabase
protected static void writeAmtDatabase(AmtDatabase amtDatabase,
java.io.File outAmtXmlFile)
- Parameters:
amtDatabase - outAmtXmlFile -
Fred Hutchinson Cancer Research Center