Skip to content

MUSE channel cardinality #2224

Description

@FriederikeHanssen

Severity: low — Input was flattened to tuple val(meta), path(muse_call_txt), path(ref_vcf), path(ref_vcf_tbi). The consumer at subworkflows/local/bam_variant_calling_somatic_muse/main.nf:24 builds it with MUSE_CALL.out.txt.combine(dbsnp.combine(dbsnp_tbi)). With dbsnp and dbsnp_tbi as value channels this collapses to one item per MUSE_CALL.out.txt and is correct — if either ever becomes a queue channel the cartesian product will multiply. Worth either an inline assertion or a comment in the consumer pinning the value-channel assumption.

Originally posted by @pinin4fjords in #2168 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions