public interface ParserModule extends JavaModule
SCRIPT_BATCH_SIZE, SCRIPT_DEFAULT_HEADER, SCRIPT_NUM_THREADS, SCRIPT_PERMISSIONS, SCRIPT_TIMEOUT
MAIN_SCRIPT_PREFIX, OUTPUT_DIR, TEMP_DIR
Modifier and Type | Method and Description |
---|---|
void |
addOtuNode(OtuNode node)
Each sample with taxonomic assignments from a
ClassifierModule is parsed by
parseSamples() to produce a ParsedSample . |
void |
buildOtuCountFiles()
After
parseSamples() completes, this method builds the OTU count files. |
ParsedSample |
getParsedSample(String sampleId)
After
parseSamples() completes, this method can be called to get a ParsedSample by
its sample ID. |
void |
parseSamples()
Parse
ClassifierModule output to build ParsedSample s. |
moduleComplete, moduleFailed, runModule
buildScript, buildScriptForPairedReads, getJobParams, getMainScript, getScriptDir, getScriptErrors, getTimeout, getWorkerScriptFunctions
checkDependencies, cleanUp, executeTask, getID, getInputFiles, getModuleDir, getOutputDir, getPostRequisiteModules, getPreRequisiteModules, getSummary, getTempDir, init, isValidInputModule
void addOtuNode(OtuNode node) throws Exception
ClassifierModule
is parsed by
parseSamples()
to produce a ParsedSample
. As each file is processed, this method
is called to add the OtuNode
to the ParsedSample
with the same sample
ID (if valid).node
- OtuNodeException
- if unable to add the OTU nodevoid buildOtuCountFiles() throws Exception
parseSamples()
completes, this method builds the OTU count files.Exception
- if error occurs while building OTU tablesParsedSample getParsedSample(String sampleId)
parseSamples()
completes, this method can be called to get a ParsedSample
by
its sample ID.sampleId
- Sample IDvoid parseSamples() throws Exception
ClassifierModule
output to build ParsedSample
s.Exception
- if error occurs while parsing classifier reports