You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I have been facing an issue and I am not sure if it's indeed a bug, or just not how Nextflow operates.
Since Nextflow cannot reuse the same subworkflow, I have imported it multiple times.
include { RACON_POLISHERasRACON_POLISHER1 } from './polishing/racon_polisher'
include { RACON_POLISHERasRACON_POLISHER2 } from './polishing/racon_polisher'if ( params.polishIterations >=1 ) {
RACON_POLISHER1( ch_reads, ch_polish )
ch_polish =RACON_POLISHER1.out.genome
}
if ( params.polishIterations >=2 ) {
RACON_POLISHER2( ch_reads, ch_polish )
ch_polish =RACON_POLISHER2.out.genome
}
This works, however, since the intake file for RACON_POLISHER2 has the output name, it's marked as already existing when that process finishes
gzip: ${prefix}_assembly_consensus.fasta.gz already exists; not overwritten
To solve that, I have tried to make the prefix different for each run in the modules.config file. But it's failing to recognize each call and change the prefix.
Hi. I have been facing an issue and I am not sure if it's indeed a bug, or just not how Nextflow operates.
Since Nextflow cannot reuse the same subworkflow, I have imported it multiple times.
This works, however, since the intake file for RACON_POLISHER2 has the output name, it's marked as already existing when that process finishes
To solve that, I have tried to make the prefix different for each run in the
modules.config
file. But it's failing to recognize each call and change the prefix.When I just specify the
RACON
module, it does change, but then again, I can't reuse the file as it has the same name for allRACON
runs.Shouldn't
SUBWORKFLOW:PROCESS
be recognized and change the parameters for thePROCESS
call?Environment
The text was updated successfully, but these errors were encountered: