Skip to content

Commit

Permalink
restricted the polishing step to long reads mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-VM committed Sep 20, 2024
1 parent fc6c0b9 commit c5c32d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/bacass.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit c5c32d5

Please sign in to comment.