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_EXTSCRIPT_BATCH_SIZE, SCRIPT_DEFAULT_HEADER, SCRIPT_NUM_THREADS, SCRIPT_PERMISSIONS, SCRIPT_TIMEOUTMAIN_SCRIPT_PREFIX, OUTPUT_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. |
buildScriptForPairedReads, getJobParams, getMainScript, getRuntimeParams, getScriptDir, getScriptErrors, getSummary, getTimeout, getWorkerScriptFunctions, hasScriptscacheInputFiles, cleanUp, compareTo, equals, findModuleInputFiles, getFileCache, getID, getInputFiles, getModuleDir, getOutputDir, getPostRequisiteModules, getPreRequisiteModules, getTempDir, init, isValidInputModule, toString, validateFileNameUniqueclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcleanUp, getID, getInputFiles, getModuleDir, getOutputDir, getPostRequisiteModules, getPreRequisiteModules, getTempDir, init, isValidInputModuleprotected 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 task