feat: parsnp module#11196
Conversation
772c7c8 to
0953def
Compare
0953def to
a2aff07
Compare
akaviaLab
left a comment
There was a problem hiding this comment.
In general, looks good to me, but I have some comments. I'd suggest getting one of the core maintainers to look at it.
famosab
left a comment
There was a problem hiding this comment.
Thank you for your contribution to nf-core! I added a few comments to your PR. :)
|
I think you're not supposed to gave ontologies in the meta parts of a
tuple. AFAIK, the groovy maps don't need it.
Apart from that, looks good to me!
…On Tue, 21 Apr 2026, 10:31 pm Erin McAuley, ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
On modules/nf-core/parsnp/meta.yml
<#11196?email_source=notifications&email_token=ACQYYZUSEKEIMFA2WDDCL4L4W7SCJA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIMJVGA4DQMBZGA3KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJL3QOJPXEZLWNFSXOX3DNRUWG2Y#discussion_r3120411137>
:
updated!
—
Reply to this email directly, view it on GitHub
<#11196?email_source=notifications&email_token=ACQYYZT73BY2OVF7D6WFIQD4W7SCJA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIMJVGA4DQMBZGA3KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJPLQOJPXEZLWNFSXOX3ON52GSZTJMNQXI2LPNZZV6Y3MNFRWW#discussion_r3120411137>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQYYZSD2RW4JECORIFKXB34W7SCJAVCNFSM6AAAAACX2KX632VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHM2DCNJQHA4DAOJQGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
famosab
left a comment
There was a problem hiding this comment.
Few more comments, almost good to go :)
| "test.ggr:md5,d41d8cd98f00b204e9800998ecf8427e" | ||
| ] | ||
| ], | ||
| "partition": [ |
There was a problem hiding this comment.
Is this supposed to be empty for this test?
There was a problem hiding this comment.
I've updated the tests to include a partition run and force output -- the deterministic md5s are included in the snapshot. I ran into errors using sanitizeOutput for this purpose so I use snapshot(...).match().
There was a problem hiding this comment.
i see, but then we still need to assert the partititon output because whats the point of the test otherwise ;)
| e.g. `[ id:'sample1' ]` | ||
| - "partition": | ||
| type: directory | ||
| description: Output directory from partition mode containing results of each partitioned run. Only present when --partition is specified. |
There was a problem hiding this comment.
can we add a --partition test then to see if this works? :)
|
It looks like you need to update nf-tools, and make sure you've merged the most recent master branch. A lot of the errors seems to be related to those kind of issues, so it is hard to tell what exactly is failing. |
| "test.ggr:md5,d41d8cd98f00b204e9800998ecf8427e" | ||
| ] | ||
| ], | ||
| "partition": [ |
There was a problem hiding this comment.
i see, but then we still need to assert the partititon output because whats the point of the test otherwise ;)
PR checklist
Closes #8614.
This PR adds a new
parsnpmodule and tests. The test is a bit contrived because I'm using the same FASTA files but I think it is sufficient -- I can also add some more complex test cases if preferred.topic: versions- See version_topicslabelnf-core modules test <MODULE> --profile dockernf-core modules test <MODULE> --profile singularitynf-core modules test <MODULE> --profile condanf-core subworkflows test <SUBWORKFLOW> --profile dockernf-core subworkflows test <SUBWORKFLOW> --profile singularitynf-core subworkflows test <SUBWORKFLOW> --profile conda