Package ubic.gemma.apps
Class LinkAnalysisCli
java.lang.Object
ubic.gemma.cli.util.AbstractCLI
ubic.gemma.cli.util.AbstractAuthenticatedCLI
ubic.gemma.cli.util.AbstractAutoSeekingCLI<ubic.gemma.model.expression.experiment.ExpressionExperiment>
ubic.gemma.apps.ExpressionExperimentManipulatingCLI
ubic.gemma.apps.LinkAnalysisCli
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.EnvironmentAware,CLI
Commandline tool to conduct link (coexpression) analysis.
- Author:
- xiangwan, paul (refactoring), vaneet
-
Nested Class Summary
Nested classes/interfaces inherited from class ubic.gemma.apps.ExpressionExperimentManipulatingCLI
ExpressionExperimentManipulatingCLI.ExpressionDataFileResultNested classes/interfaces inherited from interface ubic.gemma.cli.util.CLI
CLI.CommandGroup -
Field Summary
Fields inherited from class ubic.gemma.apps.ExpressionExperimentManipulatingCLI
auditEventService, auditTrailService, eeService, entityLocator, entityUrlBuilder, OUTPUT_DIR_OPTION, OUTPUT_FILE_OPTION, STANDARD_LOCATION_OPTION, STANDARD_OUTPUT_OPTIONFields inherited from class ubic.gemma.cli.util.AbstractAutoSeekingCLI
FORCE_OPTIONFields inherited from class ubic.gemma.cli.util.AbstractCLI
ABORTED, FAILURE, FAILURE_FROM_ERROR_OBJECTS, log, SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildExperimentOptions(org.apache.commons.cli.Options options) protected voidA short memorable name for the command that can be used to locate this class.Obtain a short description for this command explaining what it does.protected Collection<ubic.gemma.model.expression.experiment.ExpressionExperiment> preprocessExpressionExperiments(Collection<ubic.gemma.model.expression.experiment.ExpressionExperiment> expressionExperiments) Preprocess the set ofExpressionExperimentbefore invokingExpressionExperimentManipulatingCLI.processExpressionExperiments(Collection)orExpressionExperimentManipulatingCLI.processExpressionExperiment(ExpressionExperiment).protected voidprocessExperimentOptions(org.apache.commons.cli.CommandLine commandLine) protected voidprocessExpressionExperiment(ubic.gemma.model.expression.experiment.ExpressionExperiment ee) Process anExpressionExperiment.Methods inherited from class ubic.gemma.apps.ExpressionExperimentManipulatingCLI
addExpressionDataFileOptions, addExpressionDataFileOptions, addSingleExperimentAutoOption, addSingleExperimentEnumOption, addSingleExperimentOption, addSingleExperimentOption, buildOptions, formatExperiment, getCommandGroup, getExpressionDataFileResult, getExpressionDataFileResult, isAbortOnError, noNeedToRun, postprocessExpressionExperiments, processAllExpressionExperiments, processExpressionExperiments, processOptions, readChangelogEntryFromConsole, refreshExpressionExperimentFromGemmaWeb, setAbortOnError, setAllIsLazy, setDefaultToAll, setSingleExperimentMode, setUseReferencesIfPossible, toBatchObjectMethods inherited from class ubic.gemma.cli.util.AbstractAutoSeekingCLI
addAutoOption, addAutoOption, addErrorObject, addErrorObject, addErrorObject, addForceOption, addForceOption, addLimitingDateOption, addSuccessObject, addSuccessObject, addWarningObject, addWarningObject, getAutoSeekEventType, getLimitingDate, isAutoSeek, isForce, setForceMethods inherited from class ubic.gemma.cli.util.AbstractAuthenticatedCLI
afterPropertiesSet, doWork, setAuthenticateAnonymously, setEnvironment, setRequireLoginMethods inherited from class ubic.gemma.cli.util.AbstractCLI
abort, addBatchOption, addErrorObject, addErrorObject, addErrorObject, addSuccessObject, addSuccessObject, addThreadsOption, addWarningObject, addWarningObject, allowPositionalArguments, awaitBatchExecutorService, executeCommand, getApplicationContext, getBatchTaskExecutor, getBatchTaskProgressReporter, getCliContext, getCommandAliases, getHelpFooter, getNumThreads, getOptions, getUsage, promptConfirmationOrAbort, setAllowPositionalArguments, setApplicationContext, setEstimatedMaxTasks, setReportFrequencyMillis
-
Constructor Details
-
LinkAnalysisCli
public LinkAnalysisCli()
-
-
Method Details
-
getCommandName
Description copied from interface:CLIA short memorable name for the command that can be used to locate this class.- Specified by:
getCommandNamein interfaceCLI- Overrides:
getCommandNamein classAbstractCLI- Returns:
- name; if null or blank, this will not be available as a shortcut command.
-
getShortDesc
Description copied from interface:CLIObtain a short description for this command explaining what it does.- Specified by:
getShortDescin interfaceCLI- Overrides:
getShortDescin classAbstractCLI
-
buildExperimentOptions
protected void buildExperimentOptions(org.apache.commons.cli.Options options) - Overrides:
buildExperimentOptionsin classExpressionExperimentManipulatingCLI
-
processExperimentOptions
protected void processExperimentOptions(org.apache.commons.cli.CommandLine commandLine) throws org.apache.commons.cli.ParseException - Overrides:
processExperimentOptionsin classExpressionExperimentManipulatingCLI- Throws:
org.apache.commons.cli.ParseException
-
doAuthenticatedWork
- Overrides:
doAuthenticatedWorkin classExpressionExperimentManipulatingCLI- Throws:
Exception
-
preprocessExpressionExperiments
protected Collection<ubic.gemma.model.expression.experiment.ExpressionExperiment> preprocessExpressionExperiments(Collection<ubic.gemma.model.expression.experiment.ExpressionExperiment> expressionExperiments) Description copied from class:ExpressionExperimentManipulatingCLIPreprocess the set ofExpressionExperimentbefore invokingExpressionExperimentManipulatingCLI.processExpressionExperiments(Collection)orExpressionExperimentManipulatingCLI.processExpressionExperiment(ExpressionExperiment).This can be an opportunity to filter or modify the set of experiments.
- Overrides:
preprocessExpressionExperimentsin classExpressionExperimentManipulatingCLI
-
processExpressionExperiment
protected void processExpressionExperiment(ubic.gemma.model.expression.experiment.ExpressionExperiment ee) Description copied from class:ExpressionExperimentManipulatingCLIProcess anExpressionExperiment.- Overrides:
processExpressionExperimentin classExpressionExperimentManipulatingCLI
-