Famke Bäuerle
02/19/2026, 7:38 AMArthur
02/19/2026, 7:55 AMls is a red-herring. It happens anytime there is optional outputs that don't exist - honestly nextflow should probably look at suppressing that error as it is definitely misleading at timesSimon Pearce
02/19/2026, 9:16 AMFamke Bäuerle
02/19/2026, 9:19 AMFamke Bäuerle
02/19/2026, 9:28 AMoutput:
tuple val(meta), path("${prefix}.bam"), emit: bam, optional: true
tuple val(meta), path("${prefix}*bai"), emit: bai, optional: true
tuple val(meta), path("${prefix}.cram"), emit: cram, optional: true
tuple val("${task.process}"), val('gatk4'), eval("gatk --version | sed -n '/GATK.*v/s/.*v//p'"), topic: versions, emit: versions_gatk4
also this is the output of the module - why has it a bai but no crai then?Famke Bäuerle
02/19/2026, 9:29 AMif [[ ${suffix} == cram ]]; then
touch ${prefix}.cram.bai
shakefistSimon Pearce
02/19/2026, 9:34 AMSimon Pearce
02/19/2026, 9:35 AMFamke Bäuerle
02/19/2026, 9:38 AMFamke Bäuerle
02/19/2026, 9:39 AMSimon Pearce
02/19/2026, 9:40 AMSimon Pearce
02/19/2026, 9:40 AMSimon Pearce
02/19/2026, 9:40 AMSimon Pearce
02/19/2026, 9:41 AMSimon Pearce
02/19/2026, 9:41 AMRike Hanssen
02/19/2026, 10:41 AMArthur
02/19/2026, 10:56 AMArthur
02/20/2026, 1:18 AM.join is the culprit but this one seems like a possible culprit?
I don’t know Sarek that well, but you don’t use the outputs of FASTQ_PREPROCESS_GATK if someone passes save_to_bam? (Well you mix the channel but AFAICT it would be empty)Famke Bäuerle
02/20/2026, 7:34 AM