annotate 0.4.0/lib/help/seqsero2.nf @ 101:ce6d9548fe89

"planemo upload"
author kkonganti
date Thu, 04 Aug 2022 10:45:55 -0400
parents
children
rev   line source
kkonganti@101 1 def seqsero2Help(params) {
kkonganti@101 2
kkonganti@101 3 Map tool = [:]
kkonganti@101 4 Map toolspecs = [:]
kkonganti@101 5 tool.text = [:]
kkonganti@101 6 tool.helpparams = [:]
kkonganti@101 7
kkonganti@101 8 toolspecs = [
kkonganti@101 9 'seqsero2_run': [
kkonganti@101 10 clihelp: "Run SeqSero2 tool. Default: ${params.seqsero2_run}",
kkonganti@101 11 cliflag: null,
kkonganti@101 12 clivalue: null
kkonganti@101 13 ],
kkonganti@101 14 'seqsero2_t': [
kkonganti@101 15 clihelp: "'1' for interleaved paired-end reads, '2' for " +
kkonganti@101 16 "separated paired-end reads, '3' for single reads, '4' for " +
kkonganti@101 17 "genome assembly, '5' for nanopore reads (fasta/fastq). " +
kkonganti@101 18 "Default: ${params.seqsero2_t}",
kkonganti@101 19 cliflag: '-t',
kkonganti@101 20 clivalue: (params.seqsero2_t ?: '')
kkonganti@101 21 ],
kkonganti@101 22 'seqsero2_m': [
kkonganti@101 23 clihelp: "Which workflow to apply, 'a'(raw reads allele " +
kkonganti@101 24 "micro-assembly), 'k'(raw reads and genome assembly k-mer). " +
kkonganti@101 25 "Default: ${params.seqsero2_m}",
kkonganti@101 26 cliflag: '-m',
kkonganti@101 27 clivalue: (params.seqsero2_m ?: '')
kkonganti@101 28 ],
kkonganti@101 29 'seqsero2_c': [
kkonganti@101 30 clihelp: 'SeqSero2 will only output serotype prediction without the directory ' +
kkonganti@101 31 'containing log files. ' +
kkonganti@101 32 "Default: ${params.seqsero2_c}",
kkonganti@101 33 cliflag: '-c',
kkonganti@101 34 clivalue: (params.seqsero2_c ? ' ' : '')
kkonganti@101 35 ],
kkonganti@101 36 'seqsero2_s': [
kkonganti@101 37 clihelp: 'SeqSero2 will not output header in SeqSero_result.tsv. ' +
kkonganti@101 38 "Default: ${params.seqsero2_s}",
kkonganti@101 39 cliflag: '-l',
kkonganti@101 40 clivalue: (params.seqsero2_s ? ' ' : '')
kkonganti@101 41 ]
kkonganti@101 42 ]
kkonganti@101 43
kkonganti@101 44 toolspecs.each {
kkonganti@101 45 k, v -> tool.text['--' + k] = "${v.clihelp}"
kkonganti@101 46 tool.helpparams[k] = [ cliflag: "${v.cliflag}", clivalue: v.clivalue ]
kkonganti@101 47 }
kkonganti@101 48
kkonganti@101 49 return tool
kkonganti@101 50 }