fix(umicollapse): locate installed jar independent of package build suffix - #12835
Merged
Conversation
…uffix UMICollapse is packaged with different build suffixes across the existing container and current Bioconda environment. Discover its jar within the active installation prefix instead of pinning the wrapper to a particular package build string.
process.shell already includes pipefail in nf-core pipelines, so the explicit set is unnecessary here. The jar-path resolution change alters the exact string embedded in each BAM's @pg CL header line without touching alignment records (stats/flagstat/idxstats/fastq outputs are unaffected), so the SAM-line snapshots for the two BAM-mode module tests and the dependent subworkflow's bam output need refreshing.
matthdsm
approved these changes
Aug 27, 2026
SPPearce
approved these changes
Aug 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rationale
UMICollapse is packaged with different build suffixes in the existing container and current Bioconda environment. Discovering its jar within the active installation prefix supports both without pinning the wrapper to a particular package build.
Split out from #12662 (this is the uncontentious part; the UMI-tools random-seed change stays in that PR for separate discussion). An earlier revision of this PR also added
set -o pipefail, but nf-core pipelines already set that viaprocess.shell, so it was dropped as redundant here.Tests
CI-verified: module (
umicollapse single end test,umicollapse paired tests) and dependent subworkflow (bam_dedup_stats_samtools_umicollapse) snapshots refreshed against actual x64 docker/conda/singularity output. Only the SAM-line hashes moved (the jar-path string embedded in each BAM's header changes text without touching alignment records) - stats/flagstat/idxstats/fastq outputs are unchanged.