public abstract class TaxaCountModule extends JavaModuleImpl
BLJ_OPTIONS
GZIP_EXT, LOG_EXT, PDF_EXT, RETURN, SH_EXT, TAB_DELIM, TSV_EXT, TXT_EXT
LOG_DIR, MAIN_SCRIPT_PREFIX, NO_VERSION, OUTPUT_DIR, RES_DIR, TEMP_DIR
Constructor and Description |
---|
TaxaCountModule() |
Modifier and Type | Method and Description |
---|---|
protected static List<File> |
filterByProcessLevel(List<File> files)
Pipelines may include taxa tables + normalized taxa tables (or log normalized taxa tables).
|
String |
getDetails()
All child classes from this class have this pre-req.
|
List<File> |
getInputFiles()
BioModule
BioModuleImpl.getInputFiles() is called to initialize upon first call and cached. |
List<String> |
getPreRequisiteModules()
Require taxonomy table module as prerequisite
|
boolean |
isTaxaModule(BioModule module)
Check the module output directory for taxonomy table files generated by BioLockJ.
|
boolean |
isValidInputModule(BioModule module)
If module is a
SeqModule input must contain sequence data. |
buildScript, executeTask, getDockerImageName, getDockerImageOwner, getDockerImageTag, getWorkerScriptFunctions, markStatus, moduleComplete, moduleFailed, runBioLockJ_CMD, runModule
buildScriptForPairedReads, checkDependencies, getJobParams, getMainScript, getRuntimeParams, getScriptDir, getScriptErrors, getSummary, getTimeout, hasScripts, isValidProp
addGeneralProperty, 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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
buildScriptForPairedReads, getJobParams, getMainScript, getScriptDir, getScriptErrors, getTimeout
checkDependencies, cleanUp, getAlias, getID, getLogDir, getMetadata, getModuleDir, getOutputDir, getPostRequisiteModules, getPropDefault, getResourceDir, getSummary, getTempDir, init, setAlias, version
public List<File> getInputFiles()
BioModuleImpl
BioModuleImpl.getInputFiles()
is called to initialize upon first call and cached.getInputFiles
in interface BioModule
getInputFiles
in class BioModuleImpl
public List<String> getPreRequisiteModules() throws Exception
getPreRequisiteModules
in interface BioModule
getPreRequisiteModules
in class BioModuleImpl
Exception
- if invalid Class names are returned as prerequisitespublic String getDetails() throws API_Exception
getDetails
in class BioModuleImpl
API_Exception
public boolean isTaxaModule(BioModule module)
module
- BioModulepublic boolean isValidInputModule(BioModule module)
JavaModuleImpl
SeqModule
input must contain sequence data.isValidInputModule
in interface BioModule
isValidInputModule
in class JavaModuleImpl
module
- BioModule that ran before the current BioModuleprotected static List<File> filterByProcessLevel(List<File> files)
files
- List of taxa table files