Skip to content

Error "Detected join operation duplicate emission on left channel" when using "--save_output_as_bam" on WGS data #2136

@ahwanpandey

Description

@ahwanpandey

Hello,

I am using SAREK v3.8.0 on WGS data. The nextflow version is v25.10.3.

When I use --save_output_as_bam, I am getting this error at the "GATK4_APPLYBQSR" step. Some of the "GATK4_APPLYBQSR" jobs get ABORTED and the whole pipeline fails.

nextflow.exception.AbortOperationException: Detected join operation duplicate emission on left channel -- offending element: key=[patient:AOCS-095-5-9, sample:AOCS-095-5-9, sex:XX, status:0, n_fastq:36, data_typ
e:cram, id:AOCS-095-5-9, num_intervals:19]; value=/researchers/ahwan.pandey/Projects/WholeGenome/Project_NB/Goel_CDK2/test_sarek/preprocess/Sample_AOCS-095-5-9/work/83/ab518a72d3cb2ab7d5d62d4741f36f/AOCS-095-5-9
_chrY_1-57227415.recal.bam

But if I dont use --save_output_as_bam and just use the default cram output, there are no issues.

Thanks!
Ahwan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions