Skip to content

MSIsensorPro output file name mismatch? #2192

Description

@DHelix

Hi Sarek team,
Thanks again for all your work developing and maintaining Sarek!
I noticed a potential file name mismatch in the msisensorpro module.
In
~/.nextflow/assets/nf-core/sarek/modules/nf-core/msisensorpro/msisomatic/main.nf,
the output and stub blocks have two files named ${prefix}_germline and ${prefix}_somatic:

output:
    tuple val(meta), path("${prefix}")         , emit: output_report
    tuple val(meta), path("${prefix}_dis")     , emit: output_dis
    tuple val(meta), path("${prefix}_germline"), emit: output_germline, optional: true
    tuple val(meta), path("${prefix}_somatic") , emit: output_somatic,  optional: true
    path "versions.yml"                        , emit: versions

 stub:
    prefix   = task.ext.prefix ?: "${meta.id}"

    """
    touch ${prefix}
    touch ${prefix}_dis
    touch ${prefix}_germline
    touch ${prefix}_somatic

However, MSISensorPro v1.3.0 (used by Sarek 3.8.1) does not produce output files with these names. Instead, it generates files named ${prefix}_all and ${prefix}_unstable.
While ${prefix}_all and {prefix}_unstable are correctly generated, they are not captured by the workflow. Since the expected outputs are marked as optional, the process completes without error.

I’ve created a local patch to collect these outputs as a workaround. I thought it might be helpful to flag this in case the module could be updated in a future version of Sarek.

Thanks!

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