Mercurial > repos > kkonganti > cfsan_bettercallsal
diff 0.5.0/lib/help/gsrpy.nf @ 1:365849f031fd
"planemo upload"
author | kkonganti |
---|---|
date | Mon, 05 Jun 2023 18:48:51 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/0.5.0/lib/help/gsrpy.nf Mon Jun 05 18:48:51 2023 -0400 @@ -0,0 +1,32 @@ +// Help text for gen_salmon_res_table.py (gsrpy) within CPIPES. + +def gsrpyHelp(params) { + + Map tool = [:] + Map toolspecs = [:] + tool.text = [:] + tool.helpparams = [:] + + toolspecs = [ + 'gsrpy_run': [ + clihelp: 'Run the gen_salmon_res_table.py script. Default: ' + + (params.gsrpy_run ?: false), + cliflag: null, + clivalue: null + ], + 'gsrpy_url': [ + clihelp: 'Generate an additional column in final results table ' + + 'which links out to NCBI Pathogens Isolate Browser. ' + + " Default: ${params.gsrpy_url}", + cliflag: '-url', + clivalue: (params.gsrpy_url ? ' ' : '') + ] + ] + + toolspecs.each { + k, v -> tool.text['--' + k] = "${v.clihelp}" + tool.helpparams[k] = [ cliflag: "${v.cliflag}", clivalue: v.clivalue ] + } + + return tool +} \ No newline at end of file