org.fhcrc.cpl.viewer.amt.commandline
Class AmtDatabaseMatcherCLM
java.lang.Object
org.fhcrc.cpl.toolbox.commandline.BaseCommandLineModuleImpl
org.fhcrc.cpl.viewer.commandline.modules.BaseViewerCommandLineModuleImpl
org.fhcrc.cpl.viewer.amt.commandline.AmtDatabaseMatcherCLM
- All Implemented Interfaces:
- CommandLineModule
public class AmtDatabaseMatcherCLM
- extends BaseViewerCommandLineModuleImpl
- implements CommandLineModule
Command linemodule for matching AMT databases to MS1 data from various sources
| 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
inDir
protected java.io.File inDir
ms2Dir
protected java.io.File ms2Dir
mzXmlDir
protected java.io.File mzXmlDir
amtDBFile
protected java.io.File amtDBFile
amtDB
protected AmtDatabase amtDB
amtDatabaseMatcher
protected AmtDatabaseMatcher amtDatabaseMatcher
ms1FeatureSet
protected FeatureSet ms1FeatureSet
embeddedMs2FeatureSet
protected FeatureSet embeddedMs2FeatureSet
amtDBBaseFeatures
protected Feature[] amtDBBaseFeatures
looseDeltaMass
protected float looseDeltaMass
deltaMassType
protected int deltaMassType
looseDeltaElution
protected float looseDeltaElution
useAmtDBMods
protected boolean useAmtDBMods
ms2ModificationsForMatching
protected MS2Modification[] ms2ModificationsForMatching
calibrateMassesUsingMatches
protected boolean calibrateMassesUsingMatches
calcFDR
protected boolean calcFDR
defaultMS2ModificationsForMatching
public static final MS2Modification[] defaultMS2ModificationsForMatching
DEFAULT_MIN_EMBEDDED_MS2_PEPTIDE_PROPHET
public static final double DEFAULT_MIN_EMBEDDED_MS2_PEPTIDE_PROPHET
- See Also:
- Constant Field Values
minMS2PeptideProphet
protected double minMS2PeptideProphet
run
protected MSRun run
removeFractions
protected boolean removeFractions
minRunPeptideMatchPercent
protected int minRunPeptideMatchPercent
maxEntriesInMassMatchedDatabase
protected int maxEntriesInMassMatchedDatabase
maxRunsInMassMatchedDatabase
protected int maxRunsInMassMatchedDatabase
restrictDatabaseRuns
protected boolean restrictDatabaseRuns
amtDatabaseStructure
protected Fractionation2DUtilities.FractionatedAMTDatabaseStructure amtDatabaseStructure
mode
protected int mode
modeStrings
protected static final java.lang.String[] modeStrings
modeExplanations
protected static final java.lang.String[] modeExplanations
MODE_MATCH_AGAINST_MS1
protected static final int MODE_MATCH_AGAINST_MS1
- See Also:
- Constant Field Values
MODE_MATCH_AGAINST_MS1_DIR
protected static final int MODE_MATCH_AGAINST_MS1_DIR
- See Also:
- Constant Field Values
nonlinearMappingPolynomialDegree
protected int nonlinearMappingPolynomialDegree
showCharts
protected boolean showCharts
saveChartsDir
protected java.io.File saveChartsDir
nonlinearAlignment
protected boolean nonlinearAlignment
minRunsToKeep
protected int minRunsToKeep
maxRunsToKeep
protected int maxRunsToKeep
thisRunMatchedPeptides
protected java.util.Set<java.lang.String> thisRunMatchedPeptides
allMatchedPeptides
protected java.util.Set<java.lang.String> allMatchedPeptides
populateMs2Times
protected boolean populateMs2Times
AmtDatabaseMatcherCLM
public AmtDatabaseMatcherCLM()
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
findCorrespondingFeatureSet
protected FeatureSet findCorrespondingFeatureSet(java.io.File ms1File,
java.io.File directory)
throws java.io.IOException
- Throws:
java.io.IOException
findCorrespondingMzXmlFile
protected java.io.File findCorrespondingMzXmlFile(java.io.File ms2File)
throws java.io.IOException
- Throws:
java.io.IOException
annotateFractionConcordanceForMatches
protected void annotateFractionConcordanceForMatches(AmtDatabase amtDatabase,
Feature[] ms2Features,
FeatureSetMatcher.FeatureMatchingResult matchingResult)
getMs1FeatureSet
public FeatureSet getMs1FeatureSet()
setMs1FeatureSet
public void setMs1FeatureSet(FeatureSet ms1FeatureSet)
getAmtDatabaseMatcher
public AmtDatabaseMatcher getAmtDatabaseMatcher()
Fred Hutchinson Cancer Research Center