public class GenomeAssembly extends SeqModuleImpl implements ApiModule
| Modifier and Type | Field and Description |
|---|---|
protected static String |
EXE_CHECKM
Config exe property for checkm executable: "exe.checkm" |
protected static String |
EXE_CHECKM_PARAMS
Config List property used to obtain the checkm runtime parameters: "exe.checkmParams" |
protected static String |
EXE_METABAT2
Config exe property for metabat2 executable: "exe.metabat2" |
protected static String |
EXE_METABAT2_PARAMS
Config List property used to obtain the metabat runtime parameters:
"exe.metabat2Params" |
protected static String |
EXE_METASPADES_PARAMS
Config List property used to obtain the metaspade runtime parameters:
"exe.metaspade2Params" |
protected static String |
EXE_METASPADES2
Config exe property for metaspades executable: "exe.metaspades2" |
protected static String |
FUNCTION_ASSEMBLY
Name of the metaspades function used to assemble reads: "runAssembly"
|
protected static String |
METABAT_MEMORY
Config Positive integer property defines total metabat memory per sample. |
protected static String |
METASPADES_MEMORY
Config Positive integer property defines total metaspades memory per sample. |
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 |
|---|
GenomeAssembly() |
| Modifier and Type | Method and Description |
|---|---|
List<List<String>> |
buildScript(List<File> files)
Return an inner list of lines to execute for each sample.
|
List<List<String>> |
buildScriptForPairedReads(List<File> files)
MetaSPAdes doesn't require parameters besides input files and output directory.
|
void |
checkDependencies()
Samples must be paired reads since metaspades currently doesn't support single reads.
|
protected String |
getCheckmParams()
Get standard Checkm runtime parameters.
|
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.
|
protected String |
getMetabatParams()
Get Metabat runtime parameters.
|
protected String |
getMetaspadeParams()
Get Metaspade runtime parameters.
|
List<String> |
getWorkerScriptFunctions()
Build function to call metaspades, metabat, and Checkm
$1 - forward read $2 - reverse
|
getInputFiles, getSeqFiles, getSummary, isValidInputModuleexecuteTask, getJobParams, getMainScript, getRuntimeParams, getScriptDir, getScriptErrors, getTimeout, hasScripts, isValidPropaddGeneralProperty, addGeneralProperty, addGeneralProperty, addNewProperty, addNewProperty, cacheInputFiles, cleanUp, 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, listPropscleanUp, executeTask, getAlias, getID, getInputFiles, getLogDir, getMetadata, getModuleDir, getOutputDir, getPostRequisiteModules, getPreRequisiteModules, getPropDefault, getResourceDir, getSummary, getTempDir, init, isValidInputModule, setAlias, versiongetJobParams, getMainScript, getScriptDir, getScriptErrors, getTimeoutprotected static final String EXE_CHECKM
Config exe property for checkm executable: "exe.checkm"protected static final String EXE_CHECKM_PARAMS
Config List property used to obtain the checkm runtime parameters: "exe.checkmParams"protected static final String EXE_METABAT2
Config exe property for metabat2 executable: "exe.metabat2"protected static final String EXE_METABAT2_PARAMS
Config List property used to obtain the metabat runtime parameters:
"exe.metabat2Params"protected static final String EXE_METASPADES_PARAMS
Config List property used to obtain the metaspade runtime parameters:
"exe.metaspade2Params"protected static final String EXE_METASPADES2
Config exe property for metaspades executable: "exe.metaspades2"protected static final String FUNCTION_ASSEMBLY
protected static final String METABAT_MEMORY
Config Positive integer property defines total metabat memory per sample.protected static final String METASPADES_MEMORY
Config Positive integer property defines total metaspades memory per sample.public List<List<String>> buildScript(List<File> files) throws Exception
ScriptModuleImplbuildScript in interface ScriptModulebuildScript in class ScriptModuleImplfiles - Files in the input directory that contain only forward readsException - if unable to generate script linespublic List<List<String>> buildScriptForPairedReads(List<File> files) throws Exception
buildScriptForPairedReads in interface ScriptModulebuildScriptForPairedReads in class ScriptModuleImplfiles - Files in the input directory that contain only paired readsException - if errors occurpublic void checkDependencies()
throws Exception
checkDependencies in interface BioModulecheckDependencies in class ScriptModuleImplException - thrown if missing or invalid dependencies are foundpublic List<String> getWorkerScriptFunctions() throws Exception
getWorkerScriptFunctions in interface ScriptModulegetWorkerScriptFunctions in class ScriptModuleImplException - if errors occurprotected String getCheckmParams() throws ConfigException
ConfigException - if properties are missing or invalidprotected String getMetabatParams() throws ConfigException
ConfigException - if properties are missing or invalidprotected String getMetaspadeParams() throws ConfigException
ConfigException - if properties are missing or invalidpublic 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