Skip to content

FEAT: Refactor tools selection#192

Merged
maxulysse merged 16 commits into
devfrom
improve_tools
Mar 11, 2026
Merged

FEAT: Refactor tools selection#192
maxulysse merged 16 commits into
devfrom
improve_tools

Conversation

@maxulysse

@maxulysse maxulysse commented Mar 3, 2026

Copy link
Copy Markdown
Member

Added:

  • new params.tools that are opt-in
  • new params.tools_setup that can be used to select a collection of tools

Removed:

  • Removed bwamem2_index, bwamem2_mem, samtools_faidx and samtools_index from the list of tools as they are implied from downstream tools.
  • Removed run_picard_collecthsmetrics and added picard_collecthsmetrics to the list of tools
  • Removed seqtk_sample from the list of tools as it can be inferred from params.sample_size

Changed:

  • skip_tools now overrides any tools selected via params.tools or params.tools_setup

I do hope this is a simpler approach than #23

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/seqinspector branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@maxulysse maxulysse changed the base branch from master to dev March 3, 2026 15:48
@nf-core nf-core deleted a comment from github-actions Bot Mar 3, 2026
@github-actions

github-actions Bot commented Mar 3, 2026

Copy link
Copy Markdown

nf-core pipelines lint overall result: Passed ✅

Posted for pipeline commit 8c54e49

+| ✅ 196 tests passed       |+
#| ❔   8 tests were ignored |#
Details

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 3.5.2
  • Run at 2026-03-11 08:46:51

Comment thread subworkflows/local/utils_nfcore_seqinspector_pipeline/main.nf Outdated
Comment thread tests/no_genome.nf.test.snap Outdated
@maxulysse maxulysse changed the title FEAT: Improve tools selection FEAT: Refactor tools selection Mar 5, 2026

@MatthiasZepper MatthiasZepper left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I like your bottom-up approach and think that it will make the pipeline a lot more user-friendly.

I am undecided regarding hard-coding the tools_selection groups into the function, but they will admittedly not change terribly often. Secondly, if new tools are added to the pipeline, updating the function is possible in the process, too.

In either case, this is something for another day. This here as it is represents a significant improvement that should be merged asap, so additional tools incorporated during the Hackathon can already follow the new setup.

Thanks Maxime!

Comment thread nextflow_schema.json Outdated
Comment thread nextflow_schema.json Outdated
Comment thread nextflow_schema.json Outdated
Comment thread main.nf Outdated
Comment thread main.nf Outdated
Comment thread tests/PromethION.nf.test Outdated
Comment thread tests/no_genome.nf.test
Comment thread docs/usage.md
Comment thread docs/usage.md Outdated
Comment thread docs/usage.md Outdated
Comment thread nextflow_schema.json Outdated
Co-authored-by: Matthias Zepper <6963520+MatthiasZepper@users.noreply.github.com>
Co-authored-by: Maxime U Garcia <max.u.garcia@gmail.com>
@FranBonath FranBonath added this to the 1.1.0 milestone Mar 11, 2026
@maxulysse maxulysse moved this to In Progress in seqinspector project board Mar 11, 2026
@maxulysse maxulysse merged commit 178d51a into dev Mar 11, 2026
20 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in seqinspector project board Mar 11, 2026
@maxulysse maxulysse deleted the improve_tools branch March 11, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

3 participants