From c5c32d5593a8878ab75cc9e911177b3c56fb337f Mon Sep 17 00:00:00 2001 From: Daniel-VM Date: Fri, 20 Sep 2024 16:21:33 +0200 Subject: [PATCH] restricted the polishing step to long reads mode --- workflows/bacass.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflows/bacass.nf b/workflows/bacass.nf index 9f70e78..17c3573 100644 --- a/workflows/bacass.nf +++ b/workflows/bacass.nf @@ -298,7 +298,7 @@ workflow BACASS { // // SUBWORKFLOW: Long reads polishing. Uses medaka or Nanopolish (this last requires Fast5 files available in input samplesheet). // - if ( (params.assembly_type != 'short' && !params.skip_polish) || ( params.assembly_type != 'short' && params.polish_method) ){ + if ( (params.assembly_type == 'long' && !params.skip_polish) || ( params.assembly_type != 'short' && params.polish_method) ){ // Set channel for polishing long reads ch_for_assembly .join( ch_assembly )