annotate 0.7.0/lib/help/sfhpy.nf @ 20:133571bf891f

planemo upload
author kkonganti
date Mon, 15 Jul 2024 11:42:00 -0400
parents 0e7a0053e4a6
children
rev   line source
kkonganti@17 1 // Help text for sourmash_filter_hits.py (sfhpy) within CPIPES.
kkonganti@17 2 def sfhpyHelp(params) {
kkonganti@17 3
kkonganti@17 4 Map tool = [:]
kkonganti@17 5 Map toolspecs = [:]
kkonganti@17 6 tool.text = [:]
kkonganti@17 7 tool.helpparams = [:]
kkonganti@17 8
kkonganti@17 9 toolspecs = [
kkonganti@17 10 'sfhpy_run': [
kkonganti@17 11 clihelp: 'Run the sourmash_filter_hits.py ' +
kkonganti@17 12 'script. Default: ' +
kkonganti@17 13 (params.sfhpy_run ?: false),
kkonganti@17 14 cliflag: null,
kkonganti@17 15 clivalue: null
kkonganti@17 16 ],
kkonganti@17 17 'sfhpy_fcn': [
kkonganti@17 18 clihelp: 'Column name by which filtering of rows should be applied. ' +
kkonganti@17 19 "Default: ${params.sfhpy_fcn}",
kkonganti@17 20 cliflag: '-fcn',
kkonganti@17 21 clivalue: (params.sfhpy_fcn ?: '')
kkonganti@17 22 ],
kkonganti@17 23 'sfhpy_fcv': [
kkonganti@17 24 clihelp: 'Remove genomes whose match with the query FASTQ is less than ' +
kkonganti@17 25 'this much. ' +
kkonganti@17 26 "Default: ${params.sfhpy_fcv}",
kkonganti@17 27 cliflag: '-fcv',
kkonganti@17 28 clivalue: (params.sfhpy_fcv ?: '')
kkonganti@17 29 ],
kkonganti@17 30 'sfhpy_gt': [
kkonganti@17 31 clihelp: 'Apply greather than or equal to condition on numeric values of ' +
kkonganti@17 32 '--sfhpy_fcn column. ' +
kkonganti@17 33 "Default: ${params.sfhpy_gt}",
kkonganti@17 34 cliflag: '-gt',
kkonganti@17 35 clivalue: (params.sfhpy_gt ? ' ' : '')
kkonganti@17 36 ],
kkonganti@17 37 'sfhpy_lt': [
kkonganti@17 38 clihelp: 'Apply less than or equal to condition on numeric values of ' +
kkonganti@17 39 '--sfhpy_fcn column. ' +
kkonganti@17 40 "Default: ${params.sfhpy_lt}",
kkonganti@17 41 cliflag: '-gt',
kkonganti@17 42 clivalue: (params.sfhpy_lt ? ' ' : '')
kkonganti@17 43 ],
kkonganti@17 44 ]
kkonganti@17 45
kkonganti@17 46 toolspecs.each {
kkonganti@17 47 k, v -> tool.text['--' + k] = "${v.clihelp}"
kkonganti@17 48 tool.helpparams[k] = [ cliflag: "${v.cliflag}", clivalue: v.clivalue ]
kkonganti@17 49 }
kkonganti@17 50
kkonganti@17 51 return tool
kkonganti@17 52 }