From 333bc8e9a1c2d84f276d977d09579379f9babe72 Mon Sep 17 00:00:00 2001 From: DLBPointon Date: Thu, 28 Sep 2023 15:49:40 +0100 Subject: [PATCH] Adding and fixeing stdout for check_barcode module --- modules/local/check_barcode.nf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/local/check_barcode.nf b/modules/local/check_barcode.nf index 641e82e..b02ce59 100644 --- a/modules/local/check_barcode.nf +++ b/modules/local/check_barcode.nf @@ -11,6 +11,7 @@ process CHECK_BARCODE { tuple val(meta) , path(barcodes) tuple val(meta2) , path(pacbio_dir) tuple val(meta3) , path(multiplex_csv) + output: stdout , emit: debarcoded path "versions.yml" , emit: versions @@ -18,9 +19,6 @@ process CHECK_BARCODE { script: def prefix = task.ext.prefix ?: "${meta.id}" def args = task.ext.args ?: '' - //barcode_fasta = file path - //pacbio_dir = /lustre/scratch123/tol/resources/treeval/treeval-testdata/asccTinyTest/pacbio/ - //multiplex_name = "bca101,bcc202" """ pacbio_barcode_check.py \\ ${barcode_fasta} \\ @@ -34,10 +32,8 @@ process CHECK_BARCODE { """ stub: - def prefix = task.ext.prefix ?: "${meta.id}" - def args = task.ext.args ?: '' """ - touch ${prefix}.txt + echo "BARCODES FOUND!" cat <<-END_VERSIONS > versions.yml "${task.process}":