Skip to content

Commit

Permalink
publish path redirection in modules
Browse files Browse the repository at this point in the history
Signed-off-by: Dr Marco Claudio De La Pierre <[email protected]>
  • Loading branch information
marcodelapierre committed May 8, 2024
1 parent 2d653c3 commit 4ca46a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
*/
nextflow.enable.dsl = 2

nextflow.preview.output = true

/*
* Default pipeline parameters. They can be overriden on the command line eg.
* given `params.foo` specify on the run command line `--foo some_value`.
Expand Down Expand Up @@ -66,12 +68,4 @@ workflow.onComplete {
output {
directory params.outdir
mode 'copy'

'fastqc' {
path '.'
}

'multiqc' {
path '.'
}
}
2 changes: 1 addition & 1 deletion modules/fastqc/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ process FASTQC {
path "fastqc_${sample_id}_logs", emit: logs

publish:
logs >> 'fastqc'
logs >> '.'

script:
"""
Expand Down
2 changes: 1 addition & 1 deletion modules/multiqc/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ process MULTIQC {
path('multiqc_report.html'), emit: report

publish:
report >> 'multiqc'
report >> '.'

script:
"""
Expand Down

0 comments on commit 4ca46a3

Please sign in to comment.