Mercurial > repos > galaxytrakr > hfp_cronology_awsbatch
comparison 0.2.0/lib/help/amrfinderplus.nf @ 0:9e8b1c747a6a draft default tip
planemo upload
| author | galaxytrakr |
|---|---|
| date | Fri, 29 May 2026 13:32:17 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:9e8b1c747a6a |
|---|---|
| 1 def amrfinderplusHelp(params) { | |
| 2 | |
| 3 Map tool = [:] | |
| 4 Map toolspecs = [:] | |
| 5 tool.text = [:] | |
| 6 tool.helpparams = [:] | |
| 7 | |
| 8 toolspecs = [ | |
| 9 'amrfinderplus_run': [ | |
| 10 clihelp: "Run AMRFinderPlus tool. Default: ${params.amrfinderplus_run}", | |
| 11 cliflag: null, | |
| 12 clivalue: null | |
| 13 ], | |
| 14 'amrfinderplus_db': [ | |
| 15 clihelp: 'Path to AMRFinderPlus database. Please note that ' + | |
| 16 ' the databases should be ready and formatted with blast for use. ' + | |
| 17 'Please read more at: ' + | |
| 18 'https://github.com/ncbi/amr/wiki/AMRFinderPlus-database ' + | |
| 19 "Default: ${params.amrfinderplus_db}", | |
| 20 cliflag: '--database', | |
| 21 clivalue: (params.amrfinderplus_db ?: '') | |
| 22 ], | |
| 23 'amrfinderplus_genes': [ | |
| 24 clihelp: 'Add the plus genes to the report', | |
| 25 cliflag: '--plus', | |
| 26 clivalue: (params.amrfinderplus_genes ? ' ' : '') | |
| 27 ] | |
| 28 ] | |
| 29 | |
| 30 toolspecs.each { | |
| 31 k, v -> tool.text['--' + k] = "${v.clihelp}" | |
| 32 tool.helpparams[k] = [ cliflag: "${v.cliflag}", clivalue: v.clivalue ] | |
| 33 } | |
| 34 | |
| 35 return tool | |
| 36 } |
