From c405fb0b7e10972fb7aefba37a9345443f81a697 Mon Sep 17 00:00:00 2001 From: Felipe Almeida Date: Wed, 11 Sep 2024 13:14:38 -0300 Subject: [PATCH] add sourmash out channel handling --- workflows/bacannot.nf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/workflows/bacannot.nf b/workflows/bacannot.nf index 88eb4cf..f86ce6c 100644 --- a/workflows/bacannot.nf +++ b/workflows/bacannot.nf @@ -287,6 +287,10 @@ workflow BACANNOT { params.sourmash_scale, params.sourmash_kmer ) + + ch_sourmash_plot = SOURMASH_ALL.out.plot.first() + } else { + ch_sourmash_plot = [] } // @@ -419,7 +423,7 @@ workflow BACANNOT { .join( phast_output_ch, remainder: true ) .join( MERGE_ANNOTATIONS.out.digis_gff ) .join( ch_integron_finder_gff, remainder: true ), - SOURMASH_ALL.out.plot.first() // make value channel + ch_sourmash_plot ) //