Merge branch 'CW-244' into 'dev'
CW-244 optional report name Closes CW-244 See merge request epi2melabs/workflow-containers/wf-template!23
This commit is contained in:
commit
c8c79a6a36
8
main.nf
8
main.nf
@ -27,6 +27,7 @@ Script Options:
|
||||
--samples FILE CSV file with columns named `barcode` and `sample_name`
|
||||
(or simply a sample name for non-multiplexed data).
|
||||
--out_dir DIR Path for output (default: $params.out_dir)
|
||||
--report_name STR Optional report suffix (default: $params.report_name)
|
||||
"""
|
||||
}
|
||||
|
||||
@ -79,9 +80,12 @@ process makeReport {
|
||||
path "versions/*"
|
||||
path "params.json"
|
||||
output:
|
||||
path "wf-template-report.html"
|
||||
path "wf-template-*.html"
|
||||
script:
|
||||
// report naming
|
||||
report_name = "wf-template-" + params.report_name + '.html'
|
||||
"""
|
||||
report.py wf-template-report.html --versions versions seqs.txt --params params.json
|
||||
report.py $report_name --versions versions seqs.txt --params params.json
|
||||
"""
|
||||
}
|
||||
|
||||
|
||||
@ -19,6 +19,7 @@ params {
|
||||
wfversion = "v0.0.7"
|
||||
aws_image_prefix = null
|
||||
aws_queue = null
|
||||
report_name = "report"
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user