From 6795fe04b8fb946f31fc2071a8f8e6ee73c50ce0 Mon Sep 17 00:00:00 2001 From: drpatelh Date: Tue, 9 Feb 2021 23:26:18 +0000 Subject: [PATCH] Rename output channel --- software/pangolin/main.nf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/software/pangolin/main.nf b/software/pangolin/main.nf index ad1decb2..71c40aa8 100644 --- a/software/pangolin/main.nf +++ b/software/pangolin/main.nf @@ -11,19 +11,19 @@ process PANGOLIN { mode: params.publish_dir_mode, saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) } - conda (params.enable_conda ? 'bioconda::pangolin=2.1.7=py_0' : null) + conda (params.enable_conda ? 'bioconda::pangolin=2.2.1=py_0' : null) if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) { - container 'https://depot.galaxyproject.org/singularity/pangolin:2.1.7--py_0' + container 'https://depot.galaxyproject.org/singularity/pangolin:2.2.1--py_0' } else { - container 'quay.io/biocontainers/pangolin:2.1.7--py_0' + container 'quay.io/biocontainers/pangolin:2.2.1--py_0' } input: tuple val(meta), path(fasta) output: - tuple val(meta), path('*.lineage_report.csv'), emit: report - path '*.version.txt' , emit: version + tuple val(meta), path('*.csv'), emit: report + path '*.version.txt' , emit: version script: def software = getSoftwareName(task.process) @@ -31,7 +31,7 @@ process PANGOLIN { """ pangolin \\ $fasta\\ - --outfile ${prefix}.lineage_report.csv \\ + --outfile ${prefix}.pangolin.csv \\ $options.args pangolin --version | sed "s/pangolin //g" > ${software}.version.txt