Skip to content

Replace UNTAR setups with nft-utils extract() in checkm, checkv, coverm, eukcc, genomad, gunc, infernal and kofamscan - #13828

Merged
maxulysse merged 2 commits into
nf-core:masterfrom
maxulysse:extract-binqc
Nov 20, 2026
Merged

maxulysse merged 2 commits into
nf-core:masterfrom
maxulysse:extract-binqc

Conversation

@maxulysse

@maxulysse maxulysse commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Replace the UNTAR setup runs with nft-utils extract() in the tests of checkm/lineagewf, checkm/qa, checkv/endtoend, checkv/updatedatabase, coverm/genome, eukcc/single, genomad/endtoend, gunc/mergecheckm, infernal/cmscan and kofamscan, following #13690.

  • setup now calls extract(<archive>) (with .resolve('<top-level dir>') when the archive has one) in the non-stub tests only, and when passes file('${dir}') instead of mapping UNTAR.out; tag "untar" removed
  • The remaining GUNZIP setup runs (checkv/endtoend, infernal/cmscan, kofamscan) move into the non-stub tests that use them
  • Stub tests take [] instead of downloaded data or setup outputs
  • checkv/endtoend: the stub test now sets options "-stub"; it ran the real tool before, so its snapshot now has the stub's empty files
  • Channel.of replaced by channel.of in the touched tests
  • checkv/endtoend, checkv/updatedatabase: pin bioconda::diamond=2.1.8, the version in the old biocontainers image, since unpinned conda now resolves diamond 2.2.9 and changes checkv_reps.dmnd and completeness.tsv; containers switched to Seqera (checkv_diamond:49f136fbaa08f899) with nf-core modules containers create, snapshots unchanged

Tested with nf-test test <modules> --profile=+docker: all pass.

🤖 Generated with Claude Code

…rm, eukcc, genomad, gunc, infernal and kofamscan

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Seqera containers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@FelixKrueger

Copy link
Copy Markdown
Contributor

Small optional nit: extract(url, path: 'checkv_minimal_db') instead of .resolve('checkv_minimal_db') (here and in the other .resolve() calls) would fail loudly if the folder is ever missing from the archive.

@maxulysse

Copy link
Copy Markdown
Member Author

Good call, thanks! path: is only on nft-utils main so far (not in 1.3.0). I will switch all .resolve() calls across modules in one follow-up PR once the next nft-utils release is out.

@maxulysse
maxulysse added this pull request to the merge queue Nov 20, 2026
Merged via the queue into nf-core:master with commit 317ea09 Nov 20, 2026
65 checks passed
@maxulysse
maxulysse deleted the extract-binqc branch November 20, 2026 11:59
erikrikarddaniel added a commit to erikrikarddaniel/nf-core-modules that referenced this pull request Nov 24, 2026
Resolve the conflict in the kofamscan tests with the nft-utils extract()
setup from nf-core#13828: keep the test names of this branch, give the three
real-run tests the per-test setup, and use empty inputs in the tsv stub.

Generated by Claude Code.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UvGYU6kuXJeVv9ffdSzdzH
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.

2 participants