Mercurial > repos > kkonganti > cfsan_cronology
diff 0.1.0/lib/help/masurcapolca.nf @ 0:c8597e9e1a97
"planemo upload"
author | kkonganti |
---|---|
date | Mon, 27 Nov 2023 12:37:44 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/0.1.0/lib/help/masurcapolca.nf Mon Nov 27 12:37:44 2023 -0500 @@ -0,0 +1,31 @@ +// Help text for `masurca's polca.sh` within CPIPES. + +def masurcapolcaHelp(params) { + + Map tool = [:] + Map toolspecs = [:] + tool.text = [:] + tool.helpparams = [:] + + toolspecs = [ + 'masurcapolca_run': [ + clihelp: 'Run `polca.sh` from masurca. Default: ' + + (params.masurcapolca_run ?: false), + cliflag: null, + clivalue: null + ], + 'masurcapolca_n': [ + clihelp: 'Do not polish, just create vcf file, evaluate the assembly and exit. ' + + "Default: ${params.masurcapolca_n}", + cliflag: '-n', + clivalue: (params.masurcapolca_n ? ' ' : '') + ] + ] + + 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