public class Metaphlan2Parser extends ParserModuleImpl
NUM_OTUSBLJ_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 |
|---|
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, addParsedSample, buildOtuCountFiles, checkDependencies, getDepricatedOtuCountFields, getHitsPerSample, getOtuCountField, getParsedSample, getParsedSamples, getSampleIds, getSummary, getUniqueOtus, isValid, runModule, setNumHitsFieldName, validateModuleOrderbuildScript, executeTask, getDockerImageName, getDockerImageOwner, getDockerImageTag, getWorkerScriptFunctions, isValidInputModule, markStatus, moduleComplete, moduleFailed, runBioLockJ_CMDbuildScriptForPairedReads, getJobParams, getMainScript, getRuntimeParams, getScriptDir, getScriptErrors, getTimeout, 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, waitmoduleComplete, moduleFailedbuildScript, buildScriptForPairedReads, getJobParams, getMainScript, getScriptDir, getScriptErrors, getTimeout, getWorkerScriptFunctionscleanUp, executeTask, getAlias, getDockerImageName, getDockerImageOwner, getDockerImageTag, getID, getInputFiles, getLogDir, getMetadata, getModuleDir, getOutputDir, getPostRequisiteModules, getPreRequisiteModules, getPropDefault, getResourceDir, getTempDir, init, isValidInputModule, setAlias, versionpublic 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_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