Skip to content

Commit

Permalink
Move publish redirects to workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Sherman <[email protected]>
  • Loading branch information
bentsherman committed May 8, 2024
1 parent 4ca46a3 commit 772d179
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ workflow {
read_pairs_ch = channel.fromFilePairs( params.reads, checkIfExists: true )
RNASEQ( params.transcriptome, read_pairs_ch )
MULTIQC( RNASEQ.out, params.multiqc )

publish:
MULTIQC.out >> '.'
}

/*
Expand Down
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 >> '.'
logs >> 'fastqc'

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 >> '.'
report >> 'multiqc'

script:
"""
Expand Down
3 changes: 3 additions & 0 deletions modules/rnaseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ workflow RNASEQ {

emit:
QUANT.out | concat(FASTQC.out) | collect

publish:
FASTQC.out >> '.'
}

0 comments on commit 772d179

Please sign in to comment.