public class RdpHierParser extends JavaModuleImpl implements ApiModule
BLJ_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 |
|---|
RdpHierParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkDependencies()
Validate module dependencies:
Require
Config. exists
Require Config. is positive integer
Require Config. is positive integer
Verify Config. is positive integer if set
Start the AWS DB sync to S3 if a novel DB has been configure and
"aws.copyDbToS3" is enabled
|
void |
executeTask()
JavaModules run pure Java code.
If in Direct mode, execute JavaModuleImpl.runModule() to run the module functionality; another BioLockJ instance
is the manager that has launched this instance to run this module.Otherwise, this instance is the manager, If Config."pipeline.detachJavaModules"="Y" execute
BioModule.executeTask() to build the bash scripts to launch a secondary instance in direct mode to run this module.Otherwise (if "pipeline.detachJavaModules"="N"), execute JavaModuleImpl.runModule() to run the Java code to execute module functionality within the manager instance. |
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 |
getDetails()
A extension of
getDescription. |
List<File> |
getInputFiles()
BioModule
BioModuleImpl.getInputFiles() is called to initialize upon first call and cached. |
List<String> |
getPreRequisiteModules()
By default, no prerequisites are required.
|
boolean |
isValidInputModule(BioModule module)
If module is a
SeqModule input must contain sequence data. |
static void |
main(String[] args)
For stand-alone testing outside of a BioLockJ pipeline.
arg 0 - comma-separated list of taxonomic levels arg 1 - comma-separated list of input files (one or more) arg 2 - path/to/dir where the outputs will be saved |
void |
runModule()
This method executes the modules primary Java routine.
|
String |
version()
Changes to a module class should be accompanied by a increment in version.
|
buildScript, getDockerImageName, getDockerImageOwner, getDockerImageTag, getWorkerScriptFunctions, markStatus, moduleComplete, moduleFailed, runBioLockJ_CMDbuildScriptForPairedReads, getJobParams, getMainScript, getRuntimeParams, getScriptDir, getScriptErrors, getSummary, getTimeout, hasScripts, isValidPropaddGeneralProperty, addGeneralProperty, addGeneralProperty, addNewProperty, addNewProperty, cacheInputFiles, cleanUp, compareTo, equals, findModuleInputFiles, getAlias, getDescription, getFileCache, getID, getLogDir, getMenuPlacement, getMetadata, getModuleDir, getOutputDir, getPostRequisiteModules, getPropDefault, getPropDescMap, getPropType, getPropTypeMap, getResourceDir, getTempDir, getTitle, hashCode, init, listProps, setAlias, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDescription, getMenuPlacement, getPropType, getTitle, isValidProp, listPropscleanUp, getAlias, getDockerImageName, getDockerImageOwner, getDockerImageTag, getID, getLogDir, getMetadata, getModuleDir, getOutputDir, getPostRequisiteModules, getPropDefault, getResourceDir, getSummary, getTempDir, init, setAliasbuildScriptForPairedReads, getJobParams, getMainScript, getScriptDir, getScriptErrors, getTimeoutpublic void checkDependencies()
throws Exception
ScriptModuleImplConfig. exists
Config. is positive integer
Config. is positive integer
Config. is positive integer if set
checkDependencies in interface BioModulecheckDependencies in class ScriptModuleImplException - thrown if missing or invalid dependencies are foundpublic static void main(String[] args) throws Exception
args - Exceptionpublic void runModule()
throws Exception
JavaModulerunModule in interface JavaModulerunModule in class JavaModuleImplException - thrown if any runtime error occurspublic void executeTask()
throws Exception
JavaModuleImplJavaModuleImpl.runModule() to run the module functionality; another BioLockJ instance
is the manager that has launched this instance to run this module.Config."pipeline.detachJavaModules"="Y" execute
BioModule.executeTask() to build the bash scripts to launch a secondary instance in direct mode to run this module.JavaModuleImpl.runModule() to run the Java code to execute module functionality within the manager instance.executeTask in interface BioModuleexecuteTask in class JavaModuleImplException - thrown if the module is unable to complete is taskpublic List<File> getInputFiles()
BioModuleImplBioModuleImpl.getInputFiles() is called to initialize upon first call and cached.getInputFiles in interface BioModulegetInputFiles in class BioModuleImplpublic boolean isValidInputModule(BioModule module)
JavaModuleImplSeqModule input must contain sequence data.isValidInputModule in interface BioModuleisValidInputModule in class JavaModuleImplmodule - BioModule that ran before the current BioModulepublic List<String> getPreRequisiteModules() throws Exception
BioModuleImplgetPreRequisiteModules in interface BioModulegetPreRequisiteModules in class BioModuleImplException - if invalid Class names are returned as prerequisitespublic String getDescription()
ApiModulegetDetails.getDescription in interface ApiModulepublic String getDetails()
ApiModulegetDescription. Beyond the brief description, give details such as
the interaction between properties.getDetails in interface ApiModulegetDetails in class BioModuleImplpublic String getCitationString()
ApiModulegetCitationString in interface ApiModule