Skip to content

kraken2: bump to 2.17.2 - #13099

Closed
barlowa124 wants to merge 6 commits into
nf-core:masterfrom
barlowa124:kraken2-2.17.2
Closed

barlowa124 wants to merge 6 commits into
nf-core:masterfrom
barlowa124:kraken2-2.17.2

Conversation

@barlowa124

Copy link
Copy Markdown
Contributor

PR checklist

Closes #13078

  • 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 module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Broadcast software version numbers to topic: versions - See version_topics
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda

Bumps kraken2 from 2.1.6 to 2.17.2 for kraken2/add, kraken2/build, kraken2/buildstandard and kraken2/kraken2. The bump was generated with nf-core modules bump, which also refreshed the Wave containers and .conda-lock files; the snapshot version strings were updated to match.

nf-core modules lint passes for all four modules (66, 68, 67 and 80 tests, no warnings). nf-test --profile=+docker passes for all four modules as well, run on an arm64 host with the amd64 containers under emulation.

Generated by Devin.

Bump kraken2/add, kraken2/build, kraken2/buildstandard and
kraken2/kraken2 to kraken2 2.17.2 via nf-core modules bump, which
rebuilt the Seqera Wave containers (kraken2+coreutils+pigz). Version
strings in the test snapshots updated to match.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@famosab

famosab commented Nov 5, 2026

Copy link
Copy Markdown
Member

Please join the nf-core organization on GitHub to enable the CI-tests to run on your PR. You can request to join the organization via #github-invitations in the nf-core slack. You can join the nf-core slack via https://nf-co.re/join.

@github-actions github-actions Bot added size/m and removed size/xl labels Nov 5, 2026
@famosab
famosab marked this pull request as ready for review November 12, 2026 10:05
@famosab

famosab commented Nov 12, 2026

Copy link
Copy Markdown
Member

@nf-core-bot fix linting

@barlowa124

Copy link
Copy Markdown
Contributor Author

Merged master to pick up the publication-author lint fixes. nf-core modules lint kraken2 reports 297 passing tests locally. Regenerated the nf-test snapshots for downstream consumers of kraken2 2.17.2 output (krakentools/extractkrakenreads, fastq_extract_kraken_krakentools) with nf-test test --profile docker --update-snapshot. 41 of 43 related tests succeed locally. The 2 remaining local failures are in bracken/combinebrackenoutputs, which fail identically on master under nextflow 26.04.6 with an input-tuple error unrelated to this bump.

Comment added by Devin

@famosab

famosab commented Nov 23, 2026

Copy link
Copy Markdown
Member

Feel free to post this in #request-review to increase the chance that people have a look :)

@plazanas

Copy link
Copy Markdown
Contributor

Hi! We're also waiting on this kraken2 update for a pipeline. Happy to help with the failing tests if that's useful, and to post it in #request-review once CI is green, if you don't mind.

@plazanas plazanas mentioned this pull request Dec 1, 2026
15 tasks done
@plazanas

plazanas commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Hello. Since this has been quiet for a while and we need the update for a pipeline, I opened #13957 with the same bump, the fix for the bracken/combinebrackenoutputs test that was failing CI here, and refreshed snapshots. Hope that's okay!

…mple

The setup fed KRAKEN2_KRAKEN2 a single flat tuple of two metas and two
files, which no longer matches `tuple val(meta), path(reads)` under
Nextflow 26 input checking. Emit one [meta, reads] tuple per sample
instead and update the snapshot for the 2.17.2 report content.

Generated by Devin
…shots

The two bracken reports were collected in task completion order, so
db.txt content and its snapshot md5 depended on scheduling. Sort by
file name before combining and tag the kraken2 dependency so test
selection tracks it.

Generated by Devin
@mashehu

mashehu commented Dec 1, 2026

Copy link
Copy Markdown
Member

Superseded by #13957

@mashehu mashehu closed this Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update module: KRAKEN2/* 2.1.6 -> 2.17.2

4 participants