annotate 0.3.0/lib/help/seqsero2.nf @ 92:295c2597a475

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