From 1815dc2a18bb2c2a8e4c7915260d77bb04ec8c91 Mon Sep 17 00:00:00 2001 From: Paolo Di Tommaso Date: Sun, 27 Oct 2024 14:46:51 +0100 Subject: [PATCH] Normalise syntax Signed-off-by: Paolo Di Tommaso --- main.nf | 16 +++++++++------- modules/multiqc/main.nf | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/main.nf b/main.nf index 5cc1280..f585d53 100755 --- a/main.nf +++ b/main.nf @@ -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' @@ -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 ) diff --git a/modules/multiqc/main.nf b/modules/multiqc/main.nf index 18bdb6c..865f7b4 100644 --- a/modules/multiqc/main.nf +++ b/modules/multiqc/main.nf @@ -6,7 +6,7 @@ process MULTIQC { input: path '*' - path 'config' + path config output: path 'multiqc_report.html', emit: report