New module: GRIMER#11663
Conversation
|
The stub test now uses an existing nf-core/test-datasets file to pass CI. I hope to add in a proper GRIMER-specific count table TSV to nf-core/test-datasets in a follow-up post-PR after review |
There was a problem hiding this comment.
Can you create this file on-the-fly within the nf.test please.
…add stub snapshot, revert .nf-core.yml
…meta.yml, update tests
|
Thanks for the latest comments @SPPearce! I've gone through everything and pushed some fixe *The metadata input in main.nf was tripping the linter since anything prefixed with meta gets treated as a Groovy map and renamed it to sample_metadata and that cleared it up |
|
Managed to fix the two GRIMER-specific CI failures in the latest push: *Version eval: The remaining CI failures ( |
|
The confirm-pass-lint gate failure is downstream of the multiqc and multiqcsav lint failures, which seems like pre-existing issues in those modules unrelated to this PR. The GRIMER module lint passes cleanly. I'm happy to have a reviewer confirm it |
You need to semi-regularly update the branch, so it only tests your changes, rather than unrelated other modules. |
SPPearce
left a comment
There was a problem hiding this comment.
Can you use the test file you are generating in the test currently with an actual run, not just a stub test, to get some output?
There was a problem hiding this comment.
This file is not required (and hasn't been for some time)
| script: | ||
| def args = task.ext.args ?: '' | ||
| def prefix = task.ext.prefix ?: "${meta.id}" | ||
| def m_arg = sample_metadata ? "-m ${sample_metadata}" : '' |
There was a problem hiding this comment.
| def m_arg = sample_metadata ? "-m ${sample_metadata}" : '' | |
| def m_arg = sample_metadata ? "-m ${sample_metadata}" : '' |
| [ | ||
| "GRIMER", | ||
| "grimer", | ||
| "bash: line 1: grimer: command not found" |
There was a problem hiding this comment.
This isn't correct ;)
Need to run the snapshot with a profile (docker/singularity/conda) that has the tool.
|
@SPPearce TY so much for the comments and deepest apologies for my late reply! I have addressed them as follows:
TY so much once again |
SPPearce
left a comment
There was a problem hiding this comment.
This looks much better, just need to see if the tests pass.
|
Dear SPPearce,
Thank you so much for the PR merge, its such a great pleasure to contribute
to nf-core and I'm grateful for the learning experience it brought!
I'm happy to come back in the near future and hope to keep returning; I'd
like to know if there're any maintenance or routine updates that may come
along with making sure its always readily functional or any next steps on
my path.
Thank you once again!
JAA
…On Wed, May 27, 2026 at 11:42 AM Simon Pearce ***@***.***> wrote:
***@***.**** commented on this pull request.
This looks much better, just need to see if the tests pass.
—
Reply to this email directly, view it on GitHub
<#11663?email_source=notifications&email_token=BKMH26V6MMVALABVF5AMCML443A7RA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIMZXGE3TCMBWGYZKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#pullrequestreview-4371710662>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKMH26QYN4VUOLA3J35IYST443A7RAVCNFSM6AAAAACZBQ2JNGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHM2DGNZRG4YTANRWGI>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/BKMH26X3YLOP3DT5XLSX353443A7RA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIMZXGE3TCMBWGYZKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG>
and Android
<https://github.com/notifications/mobile/android/BKMH26XA7BEOSTVZSYAZELD443A7RA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIMZXGE3TCMBWGYZKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
| then { | ||
| assertAll( | ||
| { assert process.success }, | ||
| { assert snapshot(process.out).match() } | ||
| ) | ||
| } |
There was a problem hiding this comment.
| then { | |
| assertAll( | |
| { assert process.success }, | |
| { assert snapshot(process.out).match() } | |
| ) | |
| } | |
| then { | |
| assert process.success | |
| assertAll( | |
| { assert snapshot( | |
| file(process.out.report[0][1]).name, | |
| process.out.findAll { key, val -> key.startsWith("versions_") } | |
| ).match() } | |
| ) | |
| } |
There was a problem hiding this comment.
The html report is unstable between runs.

Closes #11566
Description
Adds a new nf-core module for GRIMER (v1.1.0), a tool that generates interactive HTML dashboards for contamination detection in metagenomics and viromics datasets.
Developed during the May 2026 nf-core x VirJenDB Virus Bioinformatics Hackathon.
Checklist
environment.ymlmatches bioconda packagemain.nfpasses lint (47/47 tests passed)meta.ymlcomplete and schema-valid