public class PearMergeReads extends SeqModuleImpl implements ApiModule, ReadCounter
| 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 "pearMergeReads.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_EXTLOG_DIR, MAIN_SCRIPT_PREFIX, NO_VERSION, OUTPUT_DIR, RES_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 |
getCitationString()
At a minimum, this should return the name and/or url for the wrapped tool.
|
String |
getDescription()
Briefly describe what this module does.
|
String |
getDockerImageName()
Get the docker image to use for this module.
|
String |
getDockerImageOwner()
Get the name of the docker hub user that owns the image to use for this module.
|
String |
getDockerImageTag()
Get the version / tag to use for the docker image.
|
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, hasScripts, isValidPropaddGeneralProperty, addGeneralProperty, addGeneralProperty, addNewProperty, addNewProperty, cacheInputFiles, compareTo, equals, findModuleInputFiles, getAlias, getDescription, getDetails, getFileCache, getID, 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, waitgetDescription, getDetails, getMenuPlacement, getPropType, getTitle, isValidProp, listPropsexecuteTask, getAlias, getID, getInputFiles, getLogDir, getMetadata, getModuleDir, getOutputDir, getPostRequisiteModules, getPreRequisiteModules, getPropDefault, getResourceDir, getTempDir, init, isValidInputModule, setAlias, versionbuildScriptForPairedReads, getJobParams, getMainScript, getScriptDir, getScriptErrors, getTimeoutpublic 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 "pearMergeReads.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 occurpublic String getDockerImageOwner()
BioModulegetDockerImageOwner in interface BioModulegetDockerImageOwner in class BioModuleImplpublic String getDockerImageName()
BioModulegetDockerImageName in interface BioModulepublic String getDockerImageTag()
BioModulegetDockerImageTag in interface BioModulegetDockerImageTag in class BioModuleImplpublic String getDescription()
ApiModulegetDetails.getDescription in interface ApiModulepublic String getCitationString()
ApiModulegetCitationString in interface ApiModule