public class QiimeOpenRefClassifier extends QiimeClassifier
Modifier and Type | Field and Description |
---|---|
static String |
PICK_OTU_SCRIPT
Open reference OTU picking script: "pick_open_reference_otus.py"
|
ALPHA_DIV_NULL_VALUE, ALPHA_DIVERSITY_TABLE, COMBINED_FNA, EXE_VSEARCH, EXE_VSEARCH_PARAMS, OTU_SUMMARY_FILE, OTU_TABLE, QIIME_PARAMS, QIIME_PYNAST_ALIGN_DB, QIIME_REF_SEQ_DB, QIIME_REMOVE_CHIMERAS, QIIME_TAXA_DB, REP_SET, SCRIPT_ADD_ALPHA_DIVERSITY, SCRIPT_ADD_LABELS, SCRIPT_CALC_ALPHA_DIVERSITY, SCRIPT_FILTER_OTUS, SCRIPT_PRINT_CONFIG, SCRIPT_SUMMARIZE_BIOM, SCRIPT_SUMMARIZE_TAXA, SUMMARIZE_TAXA_SUPPRESS_BIOM
GZIP_EXT, LOG_EXT, PDF_EXT, RETURN, SH_EXT, TAB_DELIM, TSV_EXT, TXT_EXT
SCRIPT_BATCH_SIZE, SCRIPT_DEFAULT_HEADER, SCRIPT_NUM_THREADS, SCRIPT_PERMISSIONS, SCRIPT_TIMEOUT
MAIN_SCRIPT_PREFIX, OUTPUT_DIR, TEMP_DIR
Constructor and Description |
---|
QiimeOpenRefClassifier() |
Modifier and Type | Method and Description |
---|---|
List<List<String>> |
buildScript(List<File> files)
Return bash script lines to pick open reference OTUs by passing the newest biom file in the temp directory [via
bash code "$(ls -t $tempDir/*.biom | head -1)"] to
QiimeClassifier
getPickOtuLines() method. |
void |
checkDependencies()
Call
QiimeClassifier checkOtuPickingDependencies() method to verify OTU
picking script parameters. |
buildQiimeDockerConfigLines, buildScriptForPairedReads, cleanUp, getClassifierExe, getClassifierParams, getDB, getDockerDB, getInputFileDir, getInputFiles, getParams, getPickOtuLines, getPostRequisiteModules, getPreRequisiteModules, getSummary, getVsearchParams, getWorkerScriptFunctions, isValidInputModule, validateFileNameUnique
getClassifierType, validateModuleOrder
getSeqFiles
executeTask, getJobParams, getMainScript, getRuntimeParams, getScriptDir, getScriptErrors, getTimeout, hasScripts
cacheInputFiles, compareTo, equals, findModuleInputFiles, getFileCache, getID, getModuleDir, getOutputDir, getTempDir, init, toString
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSeqFiles
getJobParams, getMainScript, getScriptDir, getScriptErrors, getTimeout
executeTask, getID, getModuleDir, getOutputDir, getTempDir, init
public static final String PICK_OTU_SCRIPT
public List<List<String>> buildScript(List<File> files) throws Exception
QiimeClassifier
getPickOtuLines() method.
Several biom files are generated by this script, the script will select biomFile =
If property "qiime.removeChimeras" =
"Y", use vsearch to identify chimeras and call
"filter_otus_from_otu_table.py" to remove them from
"otu_table.biom"
buildScript
in interface ScriptModule
buildScript
in class QiimeClassifier
files
- Files in the input directory that contain only forward readsException
- if unable to generate script linespublic void checkDependencies() throws Exception
QiimeClassifier
checkOtuPickingDependencies() method to verify OTU
picking script parameters. If not in Docker mode and property
"qiime.removeChimeras" = "Y",
verify "exe.vsearchParams".checkDependencies
in interface BioModule
checkDependencies
in class QiimeClassifier
Exception
- thrown if missing or invalid dependencies are found