public class CompileOtuCounts extends OtuCountModule
| Modifier and Type | Field and Description |
|---|---|
static String |
SUMMARY
Output file prefix: "summary"
|
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 |
|---|
CompileOtuCounts() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildSummaryOtuCountFile(TreeMap<String,Long> otuCounts)
Build Summary OTU count file for all samples.
|
protected TreeMap<String,Long> |
compileOtuCounts(Collection<File> files)
Compile OTU counts from the individual sample OTU count files
|
protected String |
getMaxOtusPerSample()
Find the maximum OTU count per sample.
|
protected String |
getMinOtusPerSample()
Find the minimum OTU count per sample.
|
String |
getSummary()
Add summary with unique OTU counts/level.
|
protected File |
getSummaryOtuFile()
Get the summary output file
|
void |
runModule()
This method executes the modules primary Java routine.
|
getInputFiles, isOtuModule, isValidInputModulebuildScript, executeTask, getDockerImageName, getDockerImageOwner, getDockerImageTag, getWorkerScriptFunctions, markStatus, moduleComplete, moduleFailed, runBioLockJ_CMDbuildScriptForPairedReads, checkDependencies, getJobParams, getMainScript, getRuntimeParams, getScriptDir, getScriptErrors, getTimeout, hasScripts, isValidPropaddGeneralProperty, addGeneralProperty, addGeneralProperty, addNewProperty, addNewProperty, cacheInputFiles, cleanUp, compareTo, equals, findModuleInputFiles, getAlias, getDescription, getDetails, getFileCache, getID, 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, waitbuildScriptForPairedReads, getJobParams, getMainScript, getScriptDir, getScriptErrors, getTimeoutcheckDependencies, cleanUp, getAlias, getID, getLogDir, getMetadata, getModuleDir, getOutputDir, getPostRequisiteModules, getPreRequisiteModules, getPropDefault, getResourceDir, getTempDir, init, setAlias, versionpublic static final String SUMMARY
public String getSummary() throws Exception
getSummary in interface BioModulegetSummary in class ScriptModuleImplException - if any error occurspublic void runModule()
throws Exception
JavaModulerunModule in interface JavaModulerunModule in class JavaModuleImplException - thrown if any runtime error occursprotected void buildSummaryOtuCountFile(TreeMap<String,Long> otuCounts) throws Exception
otuCounts - OTU-count mappingException - if errors occurprotected TreeMap<String,Long> compileOtuCounts(Collection<File> files) throws Exception
files - Collection of OTU count filesException - if errors occurprotected String getMaxOtusPerSample()
protected String getMinOtusPerSample()
protected File getSummaryOtuFile()