Package ubic.gemma.apps
Class ReplaceDataCli
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
,org.springframework.context.EnvironmentAware
,CLI
public class ReplaceDataCli extends ExpressionExperimentManipulatingCLI
Replace data in an existing data set. This is only to be used in special cases where AffyDataFromCelCli or RNASeqDataAddCli are not appropriate (that is, for any other types of platforms) and the data imported from GEO (from the SOFT) is not usable. For example, sometimes the submitted provides data that are filtered and normalized in some weird way, and we can get better data from either the supplementary files in GEO or from an external source (e.g. the authors). It is assumed that the quantitation type is the same (you can edit the QT details through the web interface). Again, don't use this this except as a last resort.- Author:
- Paul
-
-
Nested Class Summary
-
Nested 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
-
Fields inherited from class ubic.gemma.cli.util.AbstractAutoSeekingCLI
FORCE_OPTION
-
Fields inherited from class ubic.gemma.cli.util.AbstractCLI
ABORTED, FAILURE, FAILURE_FROM_ERROR_OBJECTS, log, SUCCESS
-
-
Constructor Summary
Constructors Constructor Description ReplaceDataCli()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
buildExperimentOptions(org.apache.commons.cli.Options options)
String
getCommandName()
A short memorable name for the command that can be used to locate this class.String
getShortDesc()
Obtain a short description for this command explaining what it does.protected void
processExperimentOptions(org.apache.commons.cli.CommandLine commandLine)
protected void
processExpressionExperiment(ExpressionExperiment ee)
Process anExpressionExperiment
.-
Methods inherited from class ubic.gemma.apps.ExpressionExperimentManipulatingCLI
addSingleExperimentOption, addSingleExperimentOption, buildOptions, doAuthenticatedWork, formatExperiment, getCommandGroup, isAbortOnError, noNeedToRun, preprocessBioAssaySets, processBioAssaySet, processBioAssaySets, processExpressionExperimentSubSet, processOptions, processOtherBioAssaySet, readChangelogEntryFromConsole, refreshExpressionExperimentFromGemmaWeb, setAbortOnError, setDefaultToAll, setSingleExperimentMode, setUseReferencesIfPossible, toBatchObject, toBatchObject
-
Methods inherited from class ubic.gemma.cli.util.AbstractAutoSeekingCLI
addAutoOption, addAutoOption, addErrorObject, addErrorObject, addErrorObject, addForceOption, addForceOption, addLimitingDateOption, addSuccessObject, addSuccessObject, addWarningObject, addWarningObject, getAutoSeekEventType, getLimitingDate, isAutoSeek, isForce, setForce
-
Methods inherited from class ubic.gemma.cli.util.AbstractAuthenticatedCLI
afterPropertiesSet, createBatchTaskExecutorService, doWork, setEnvironment, setRequireLogin
-
Methods inherited from class ubic.gemma.cli.util.AbstractCLI
abort, addBatchOption, addErrorObject, addErrorObject, addErrorObject, addSuccessObject, addSuccessObject, addThreadsOption, addWarningObject, addWarningObject, allowPositionalArguments, awaitBatchExecutorService, executeCommand, getApplicationContext, getBatchTaskExecutor, getCliContext, getCommandAliases, getHelpFooter, getNumThreads, getOptions, getUsage, promptConfirmationOrAbort, setAllowPositionalArguments, setApplicationContext, setEstimatedMaxTasks, setReportFrequencyMillis
-
-
-
-
Method Detail
-
getCommandName
public String getCommandName()
Description copied from interface:CLI
A short memorable name for the command that can be used to locate this class.- Specified by:
getCommandName
in interfaceCLI
- Overrides:
getCommandName
in classAbstractCLI
- Returns:
- name; if null or blank, this will not be available as a shortcut command.
-
getShortDesc
public String getShortDesc()
Description copied from interface:CLI
Obtain a short description for this command explaining what it does.- Specified by:
getShortDesc
in interfaceCLI
- Overrides:
getShortDesc
in classAbstractCLI
-
buildExperimentOptions
protected void buildExperimentOptions(org.apache.commons.cli.Options options)
- Overrides:
buildExperimentOptions
in classExpressionExperimentManipulatingCLI
-
processExperimentOptions
protected void processExperimentOptions(org.apache.commons.cli.CommandLine commandLine) throws org.apache.commons.cli.ParseException
- Overrides:
processExperimentOptions
in classExpressionExperimentManipulatingCLI
- Throws:
org.apache.commons.cli.ParseException
-
processExpressionExperiment
protected void processExpressionExperiment(ExpressionExperiment ee)
Description copied from class:ExpressionExperimentManipulatingCLI
Process anExpressionExperiment
.- Overrides:
processExpressionExperiment
in classExpressionExperimentManipulatingCLI
-
-