public class PearMergeReads extends SeqModuleImpl
| Modifier and Type | Field and Description |
|---|---|
protected static String |
EXE_PEAR
Config property "exe.pear" defines the command line PEAR executable |
protected static String |
EXE_PEAR_PARAMS
Config property "exe.pearParams" is used to set the PEAR executable runtime parameters |
protected static String |
FUNCTION_PEAR_MERGE
Name of the bash function that merges files with PEAR: "mergeReads"
|
static String |
NUM_MERGED_READS
Metadata column name for column that holds number of reads per sample after merging: "Num_Merged_Reads"
|
GZIP_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 |
|---|
PearMergeReads() |
| Modifier and Type | Method and Description |
|---|---|
List<List<String>> |
buildScript(List<File> files)
Build the script lines for each sample as a nested list.
|
void |
checkDependencies()
|
void |
cleanUp()
|
String |
getSummary()
Produce summary message with min, max, mean, and median number of reads.
|
List<String> |
getWorkerScriptFunctions()
This method generates the required bash functions used by the worker scripts: "mergeReads"
|
getInputFiles, getSeqFiles, isValidInputModulebuildScriptForPairedReads, executeTask, getJobParams, getMainScript, getRuntimeParams, getScriptDir, getScriptErrors, getTimeout, hasScriptscacheInputFiles, compareTo, equals, findModuleInputFiles, getFileCache, getID, getModuleDir, getOutputDir, getPostRequisiteModules, getPreRequisiteModules, getTempDir, init, toString, validateFileNameUniqueclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuildScriptForPairedReads, getJobParams, getMainScript, getScriptDir, getScriptErrors, getTimeoutexecuteTask, getID, getModuleDir, getOutputDir, getPostRequisiteModules, getPreRequisiteModules, getTempDir, initpublic static final String NUM_MERGED_READS
protected static final String EXE_PEAR
Config property "exe.pear" defines the command line PEAR executableprotected static final String EXE_PEAR_PARAMS
Config property "exe.pearParams" is used to set the PEAR executable runtime parametersprotected static final String FUNCTION_PEAR_MERGE
public List<List<String>> buildScript(List<File> files) throws Exception
buildScript in interface ScriptModulebuildScript in class ScriptModuleImplfiles - List of module input filesException - if error occurs generating bash script linespublic void checkDependencies()
throws Exception
checkDependencies in interface BioModulecheckDependencies in class ScriptModuleImplException - thrown if missing or invalid dependencies are foundpublic void cleanUp()
throws Exception
cleanUp in interface BioModulecleanUp in class BioModuleImplException - thrown if any runtime error occurspublic String getSummary() throws Exception
getSummary in interface BioModulegetSummary in class SeqModuleImplException - if any error occurspublic List<String> getWorkerScriptFunctions() throws Exception
getWorkerScriptFunctions in interface ScriptModulegetWorkerScriptFunctions in class ScriptModuleImplException - if errors occur