annotate 0.5.0/lib/help/seqsero2.nf @ 1:365849f031fd

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