diff --git a/software/bismark/report/main.nf b/software/bismark/report/main.nf index 68db2e19..574e0ffb 100644 --- a/software/bismark/report/main.nf +++ b/software/bismark/report/main.nf @@ -22,17 +22,13 @@ process BISMARK_REPORT { tuple val(meta), path(align_report), path(dedup_report), path(splitting_report), path(mbias) output: - tuple val(meta), path("*{html,txt}"), emit: report - path "*.version.txt" , emit: version + tuple val(meta), path("*report.{html,txt}"), emit: report + path "*.version.txt" , emit: version script: def software = getSoftwareName(task.process) """ - bismark2report \\ - --alignment_report $align_report \\ - --dedup_report $dedup_report \\ - --splitting_report $splitting_report \\ - --mbias_report $mbias + bismark2report $options.args echo \$(bismark -v 2>&1) | sed 's/^.*Bismark Version: v//; s/Copyright.*\$//' > ${software}.version.txt """ diff --git a/software/bismark/summary/main.nf b/software/bismark/summary/main.nf index d61ad2d7..8cb23be6 100644 --- a/software/bismark/summary/main.nf +++ b/software/bismark/summary/main.nf @@ -25,8 +25,8 @@ process BISMARK_SUMMARY { path(mbias) output: - path("*{html,txt}") , emit: summary - path "*.version.txt", emit: version + path "*report.{html,txt}", emit: summary + path "*.version.txt" , emit: version script: def software = getSoftwareName(task.process)