From ec397a7f9fa5522f49861c18f106cab827ade440 Mon Sep 17 00:00:00 2001 From: Laurent Modolo <laurent.modolo@ens-lyon.fr> Date: Mon, 19 Apr 2021 11:31:52 +0200 Subject: [PATCH] fastp: fix json output file --- src/nf_modules/fastp/main.nf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/nf_modules/fastp/main.nf b/src/nf_modules/fastp/main.nf index 7b5d9b56..2593eefe 100644 --- a/src/nf_modules/fastp/main.nf +++ b/src/nf_modules/fastp/main.nf @@ -39,9 +39,9 @@ process fastp_default { tuple val(file_id), path(reads) output: - tuple val(file_id), path("*.fastq.gz"), emit: fastq - tuple val(file_id), path("*.html"), emit: html - tuple val(file_id), path("*.json"), emit: report + tuple val(file_id), path("*_trim.fastq.gz"), emit: fastq + tuple val(file_id), path("${file_prefix}.html"), emit: html + tuple val(file_id), path("${file_prefix}_fastp.json"), emit: report script: if (file_id instanceof List){ @@ -91,9 +91,9 @@ process fastp_accel_1splus { tuple val(file_id), path(reads) output: - tuple val(file_id), path("*.fastq.gz"), emit: fastq - tuple val(file_id), path("*.html"), emit: html - tuple val(file_id), path("*.json"), emit: report + tuple val(file_id), path("*_trim.fastq.gz"), emit: fastq + tuple val(file_id), path("${file_prefix}.html"), emit: html + tuple val(file_id), path("${file_prefix}_fastp.json"), emit: report script: if (file_id instanceof List){ -- GitLab