Skip to content

Commit

Permalink
Normalise syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Oct 27, 2024
1 parent 57fa9f5 commit 1815dc2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ params.transcriptome = "$baseDir/data/ggal/ggal_1_48850000_49020000.Ggal71.500bp
params.outdir = "results"
params.multiqc = "$baseDir/multiqc"

log.info """\
R N A S E Q - N F P I P E L I N E
===================================
transcriptome: ${params.transcriptome}
reads : ${params.reads}
outdir : ${params.outdir}
"""

// import modules
include { RNASEQ } from './modules/rnaseq'
Expand All @@ -31,6 +24,15 @@ include { MULTIQC } from './modules/multiqc'
* main script flow
*/
workflow {

log.info """\
R N A S E Q - N F P I P E L I N E
===================================
transcriptome: ${params.transcriptome}
reads : ${params.reads}
outdir : ${params.outdir}
"""

read_pairs_ch = channel.fromFilePairs( params.reads, checkIfExists: true )
RNASEQ( params.transcriptome, read_pairs_ch )
MULTIQC( RNASEQ.out, params.multiqc )
Expand Down
2 changes: 1 addition & 1 deletion modules/multiqc/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ process MULTIQC {

input:
path '*'
path 'config'
path config

output:
path 'multiqc_report.html', emit: report
Expand Down

0 comments on commit 1815dc2

Please sign in to comment.