public class MergeQiimeOtuTables extends ScriptModuleImpl
| Modifier and Type | Field and Description |
|---|---|
protected static String |
SCRIPT_MERGE_OTU_TABLES
QIIME script to merge multiple OTU tables in biom format.
|
GZIP_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 |
|---|
MergeQiimeOtuTables() |
| Modifier and Type | Method and Description |
|---|---|
List<List<String>> |
buildScript(List<File> files)
Build a single bash script line to call "merge_otu_tables.py" to create the single
"otu_table.biom", as required by
QiimeParser. |
void |
checkDependencies()
Verify the previous module =
QiimeClosedRefClassifier |
void |
executeTask()
Call
buildScript(List) to create bash script lines needed to merge
"otu_table.biom"s with "merge_otu_tables.py" unless
only 1 input file found, in which case, just copy it to the output dir. |
String |
getDockerImageName()
Get the docker image to use for this module.
|
String |
getDockerImageOwner()
Get the name of the docker hub user that owns the image to use for this module.
|
String |
getDockerImageTag()
Get the version / tag to use for the docker image.
|
boolean |
isValidInputModule(BioModule module)
In the early stages of the pipeline, starting with the very 1st module
ImportMetadata, most modules expect sequence files as input. |
buildScriptForPairedReads, getJobParams, getMainScript, getRuntimeParams, getScriptDir, getScriptErrors, getSummary, getTimeout, getWorkerScriptFunctions, hasScripts, isValidPropaddGeneralProperty, addGeneralProperty, addGeneralProperty, addNewProperty, addNewProperty, cacheInputFiles, cleanUp, compareTo, equals, findModuleInputFiles, getAlias, getDescription, getDetails, getFileCache, getID, getInputFiles, getLogDir, getMenuPlacement, getMetadata, getModuleDir, getOutputDir, getPostRequisiteModules, getPreRequisiteModules, getPropDefault, getPropDescMap, getPropType, getPropTypeMap, getResourceDir, getTempDir, getTitle, hashCode, init, listProps, setAlias, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcleanUp, getAlias, getID, getInputFiles, getLogDir, getMetadata, getModuleDir, getOutputDir, getPostRequisiteModules, getPreRequisiteModules, getPropDefault, getResourceDir, getTempDir, init, setAlias, versionprotected static final String SCRIPT_MERGE_OTU_TABLES
public List<List<String>> buildScript(List<File> files) throws Exception
QiimeParser.buildScript in interface ScriptModulebuildScript in class ScriptModuleImplfiles - Files in the input directory that contain only forward readsException - if unable to generate script linespublic void checkDependencies()
throws Exception
QiimeClosedRefClassifiercheckDependencies in interface BioModulecheckDependencies in class ScriptModuleImplException - thrown if missing or invalid dependencies are foundpublic void executeTask()
throws Exception
buildScript(List) to create bash script lines needed to merge
"otu_table.biom"s with "merge_otu_tables.py" unless
only 1 input file found, in which case, just copy it to the output dir.executeTask in interface BioModuleexecuteTask in class ScriptModuleImplException - thrown if the module is unable to complete is taskpublic boolean isValidInputModule(BioModule module)
BioModuleImplImportMetadata, most modules expect sequence files as input. This method returns
false if the previousModule only produced a new metadata file, such as
ImportMetadata or RegisterNumReads.
When BioModuleImpl.getInputFiles() is called, this method determines if the previousModule output is valid input for
the current BioModule. The default implementation of this method returns FALSE if the previousModule only
generates a new metadata file.isValidInputModule in interface BioModuleisValidInputModule in class BioModuleImplmodule - BioModule that ran before the current BioModulepublic String getDockerImageOwner()
BioModulegetDockerImageOwner in interface BioModulegetDockerImageOwner in class BioModuleImplpublic String getDockerImageName()
BioModulepublic String getDockerImageTag()
BioModulegetDockerImageTag in interface BioModulegetDockerImageTag in class BioModuleImpl