Update sourmash sketch to remove hardcoded optional argument - #12999
Merged
SPPearce merged 36 commits intoSep 20, 2026
Merged
Conversation
Member
Author
|
@nf-core-bot fix linting |
Member
Author
|
Ugh failing tests... I bet because of row ordering 🙄 |
…m:jfy133/nf-core-modules into sourmash-sketch-remove-optional-parameter
SPPearce
approved these changes
Sep 20, 2026
Midnighter
reviewed
Sep 20, 2026
| Specify whether to merge the signatures of all input files into a single signature file. | ||
| Used e.g. for paired-end FASTQ inputs, or when there are multiple FASTAs for a single genome (such as chromosomes or contigs). | ||
| Signature name will be set to the processes' '${prefix}'. | ||
|
|
Contributor
There was a problem hiding this comment.
Sorry for being late to the party @jfy133, why this extra input rather than relying on ext.args set by a user?
Member
Author
There was a problem hiding this comment.
Because the original implementation used prefix as the default name (which is a reasonable assumption in this case), but prefix is not accessible via modules.conf.
Contributor
|
I was about to push same PR for merge and i just saw yours, i guess no need anymore :) |
Schmytzi
pushed a commit
to Schmytzi/nf-core-modules
that referenced
this pull request
Sep 22, 2026
…#12999) * Bump das_tool versions * Roll back scaffolds2binversion as this is a legacy * Correct build container * Missing quote * Fix bug in conda scope check condition for antismash download databases * Update main.nf * Update Kaiju to also emit the downstream required nodes file * Include names file as well * Update documentation * update all Kaiju modules to topics * Remove debug thing from sourmash * Reset KMCP files * [automated] Fix code linting * Move previous implicit (but optional) argument to input channel option * Update taxannotate tests to include missing arguments in upstream module in test * [automated] Fix code linting * Updates snapshot to account for variability * Update merge test due to random selection of main file name * Relax further --------- Co-authored-by: nf-core-bot <core@nf-co.re>
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.
SOURMASH_SKETCH included an actually optional argument
--mergewhich was having unintended 'hidden' behaviours in some cases.This PR moves the parameter to an input boolean, and updates all tests to keep the original behaviour using the new system.