public abstract class TransformTaxaTables extends TaxaCountModule
BLJ_OPTIONSGZIP_EXT, LOG_EXT, PDF_EXT, RETURN, SH_EXT, TAB_DELIM, TSV_EXT, TXT_EXTLOG_DIR, MAIN_SCRIPT_PREFIX, NO_VERSION, OUTPUT_DIR, RES_DIR, TEMP_DIR| Constructor and Description |
|---|
TransformTaxaTables() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
filterSamples(TaxaLevelTable inputData)
Filter out any samples in which all values are 0.
|
protected List<String> |
filterTaxa(TaxaLevelTable inputData) |
protected File |
getOutputFile(File inputFile) |
protected abstract String |
getProcessSuffix() |
void |
runModule()
This method executes the modules primary Java routine.
|
protected abstract TaxaLevelTable |
transform(TaxaLevelTable inputData,
List<String> filteredSampleIDs,
List<String> filteredTaxaIDs)
Transform a table of values.
|
filterByProcessLevel, getDetails, getInputFiles, getPreRequisiteModules, isTaxaModule, isValidInputModulebuildScript, executeTask, getDockerImageName, getDockerImageOwner, getDockerImageTag, getWorkerScriptFunctions, markStatus, moduleComplete, moduleFailed, runBioLockJ_CMDbuildScriptForPairedReads, checkDependencies, getJobParams, getMainScript, getRuntimeParams, getScriptDir, getScriptErrors, getSummary, getTimeout, hasScripts, isValidPropaddGeneralProperty, addGeneralProperty, addGeneralProperty, addNewProperty, addNewProperty, cacheInputFiles, cleanUp, compareTo, equals, findModuleInputFiles, getAlias, getDescription, getFileCache, getID, getLogDir, getMenuPlacement, getMetadata, getModuleDir, getOutputDir, getPostRequisiteModules, getPropDefault, getPropDescMap, getPropType, getPropTypeMap, getResourceDir, getTempDir, getTitle, hashCode, init, listProps, setAlias, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitbuildScriptForPairedReads, getJobParams, getMainScript, getScriptDir, getScriptErrors, getTimeoutcheckDependencies, cleanUp, getAlias, getID, getLogDir, getMetadata, getModuleDir, getOutputDir, getPostRequisiteModules, getPropDefault, getResourceDir, getSummary, getTempDir, init, setAlias, versionpublic void runModule()
throws Exception
JavaModulerunModule in interface JavaModulerunModule in class JavaModuleImplException - thrown if any runtime error occursprotected abstract TaxaLevelTable transform(TaxaLevelTable inputData, List<String> filteredSampleIDs, List<String> filteredTaxaIDs) throws Exception
inputData - the data to be transformed without filteringfilteredSampleIDs - Sample ids after filteringfilteredTaxaIDs - Taxa names after filteringExceptionprotected List<String> filterSamples(TaxaLevelTable inputData)
inputData - protected List<String> filterTaxa(TaxaLevelTable inputData)
protected abstract String getProcessSuffix()