Ammar Aziz
12/15/2025, 6:34 AMch_all_consensus_fasta = ch_consensus
.collectFile(name: 'all_consensus.fasta') {it -> it[1]}
.map { it -> [[id: "all_consensus.fasta"], it] }
error:
groovy.lang.MissingMethodException: No signature of method: Script_06436fe2293754ef$_runScript_closure1$_closure2$_closure5.call() is applicable for argument types: (LinkedHashMap) values: [[id:all_consensus.fasta]]
Possible solutions: any(), any(), any(groovy.lang.Closure), each(groovy.lang.Closure), tap(groovy.lang.Closure), any(groovy.lang.Closure)
Just above this error in the nextflow.log is this:
Dec-15 17:31:45.852 [Task submitter] INFO nextflow.Session - [ee/1a7d32] Submitted process > ARTICNETWORK_AMPLICON_NF:AMPLICON_NF:RUN_NEXTCLADE:NEXTCLADE_RUN (all_consensus.fasta)
Dec-15 17:31:46.958 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[id: 16; name: ARTICNETWORK_AMPLICON_NF:AMPLICON_NF:RUN_NEXTCLADE:NEXTCLADE_RUN (all_consensus.fasta); status: COMPLETED; exit: 0; error: -; workDir: /home/amar/repos/amplicon-nf/work/ee/1a7d321eb60c3f9221441a025185c5]
Dec-15 17:31:46.963 [TaskFinalizer-2] DEBUG n.processor.TaskFileCollector - Process `ARTICNETWORK_AMPLICON_NF:AMPLICON_NF:RUN_NEXTCLADE:NEXTCLADE_RUN (all_consensus.fasta)` is unable to find [UnixPath]: `/home/amar/repos/amplicon-nf/work/ee/1a7d321eb60c3f9221441a025185c5/all_consensus.fasta.errors.csv` (pattern: `all_consensus.fasta.errors.csv`)
Dec-15 17:31:46.965 [TaskFinalizer-2] DEBUG n.processor.TaskFileCollector - Process `ARTICNETWORK_AMPLICON_NF:AMPLICON_NF:RUN_NEXTCLADE:NEXTCLADE_RUN (all_consensus.fasta)` is unable to find [UnixPath]: `/home/amar/repos/amplicon-nf/work/ee/1a7d321eb60c3f9221441a025185c5/all_consensus.fasta.insertions.csv` (pattern: `all_consensus.fasta.insertions.csv`)
Dec-15 17:31:47.047 [TaskFinalizer-2] DEBUG nextflow.processor.TaskProcessor - Process ARTICNETWORK_AMPLICON_NF:AMPLICON_NF:RUN_NEXTCLADE:NEXTCLADE_RUN > Skipping output binding because one or more optional files are missing: fileoutparam<1:1>
Dec-15 17:31:47.047 [TaskFinalizer-2] DEBUG nextflow.processor.TaskProcessor - Process ARTICNETWORK_AMPLICON_NF:AMPLICON_NF:RUN_NEXTCLADE:NEXTCLADE_RUN > Skipping output binding because one or more optional files are missing: fileoutparam<2:1>
Dec-15 17:31:47.049 [Actor Thread 15] ERROR nextflow.extension.OperatorImpl - @unknown