public class Metaphlan2Parser extends ParserModuleImpl
NUM_OTUSBLJ_OPTIONSGZIP_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 |
|---|
Metaphlan2Parser() |
| Modifier and Type | Method and Description |
|---|---|
void |
parseSamples()
To parse the taxonomy level reports output by
Metaphlan2Classifier:
Create ParsedSample for the OtuNodeImpl.getSampleId() if
not yet created. |
addOtuNode, buildOtuCountFiles, checkDependencies, getDepricatedOtuCountFields, getOtuCountField, getParsedSample, getSummary, isValid, runModule, setNumHitsFieldName, validateModuleOrderbuildScript, executeTask, getSource, getWorkerScriptFunctions, isValidInputModule, markStatus, moduleComplete, moduleFailedbuildScriptForPairedReads, getJobParams, getMainScript, getRuntimeParams, getScriptDir, getScriptErrors, getTimeout, hasScriptscacheInputFiles, cleanUp, compareTo, equals, findModuleInputFiles, getFileCache, getID, getInputFiles, getModuleDir, getOutputDir, getPostRequisiteModules, getPreRequisiteModules, getTempDir, init, toString, validateFileNameUniqueclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmoduleComplete, moduleFailedbuildScript, buildScriptForPairedReads, getJobParams, getMainScript, getScriptDir, getScriptErrors, getTimeout, getWorkerScriptFunctionscleanUp, executeTask, getID, getInputFiles, getModuleDir, getOutputDir, getPostRequisiteModules, getPreRequisiteModules, getTempDir, init, isValidInputModulepublic void parseSamples()
throws Exception
Metaphlan2Classifier:
ParsedSample for the OtuNodeImpl.getSampleId() if
not yet created.
OtuNodeImpl.getCount() (1) to ParsedSample OTU
count.
Sample Metaphlan2 report line (head 7A_1_reported.tsv) :
#SampleID Metaphlan22_Analysis #clade_name relative_abundance coverage average_genome_length_in_the_clade
estimated_number_of_reads_from_the_clade k__Bacteria|p__Bacteroidetes 14.68863 0.137144143537 4234739 580770
parseSamples in interface ParserModuleparseSamples in class ParserModuleImplException - if error occurs while parsing classifier reports