Skip to content

Fix STITCH to use chunks#11757

Merged
SPPearce merged 2 commits into
nf-core:masterfrom
atrigila:stitch_start_end
May 25, 2026
Merged

Fix STITCH to use chunks#11757
SPPearce merged 2 commits into
nf-core:masterfrom
atrigila:stitch_start_end

Conversation

@atrigila
Copy link
Copy Markdown
Contributor

The subworkflow was passing chunks to the module, but the module did not have any parameter to use regionStart and regionEnd, therefore, it was processing the whole chromosome. The changes here fix that.

Copy link
Copy Markdown
Contributor

@LouisLeNezet LouisLeNezet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me


input:
tuple val(meta), path(collected_crams), path(collected_crais), path(cramlist), path(samplename), path(posfile), path(input, stageAs: "input"), path(genetic_map), path(rdata, stageAs: "RData_in"), val(chromosome_name), val(start), val(end), val(K), val(nGen)
tuple val(meta), path(collected_crams), path(collected_crais), path(cramlist), path(samplename), path(posfile), path(input, stageAs: "input"), path(genetic_map), path(rdata, stageAs: "RData_in"), val(chromosome_name), val(start), val(end), val(buffer), val(K), val(nGen)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Come, named inputs and save us from this abomination.

@SPPearce SPPearce added this pull request to the merge queue May 25, 2026
Merged via the queue into nf-core:master with commit 76f7c9a May 25, 2026
89 of 91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants