-
Notifications
You must be signed in to change notification settings - Fork 946
plastid metagene_generate, make_wiggle, psite #9482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pinin4fjords
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments. In general:
- Only use channel inputs for the absolute tool-won't-run-without-them value arguments. Others should come via ext.args.
- Use metas for all file inputs.
- Don't manipulate the outputs of tools. Modules shouldn't be opinionated about that stuff.
- Versions outputs are being transitioned to topics as we speak. You could avoid getting caught in the crossfire by doing that now.
|
Thanks for the comprehensive feedback! I will address the points and change the code accordingly. |
|
Thanks again for your feedback. All issues should be resolved now. Let me know if you would like any further changes. |
- Add mapping_rule val input (enum: fiveprime, threeprime, center, fiveprime_variable) - Move output_format to ext.args (optional arg per nf-core standards) - Add validation: error if p_offsets missing with fiveprime_variable - Remove hardcoded --fiveprime_variable - Update meta.yml with mapping_rule input and enum - Update tests with mapping_rule input 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
plastid/make_wiggle: nf-core standards compliance
- Consolidate multiple snapshot assertions into single snapshots per test - Remove snapshots of empty stub files (just check existence) - Exclude non-reproducible PNG from psite snapshots (matplotlib drift) - Format metagene_generate command across multiple lines 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Hi @suhrig, I've opened another PR to your branch with suggestions to fix a CI reproducibility issue: suhrig#2 The psite PNG has non-reproducible md5sums due to matplotlib rendering differences across conda builds, so I've excluded it from the snapshot (just checking existence instead). Also tidied up the test assertions while I was at it - consolidated snapshots and removed snapshots of empty stub files. |
plastid: consolidate test snapshots and fix reproducibility
|
@suhrig sorry, maybe I added some things to the snapshotting that shouldn't be there, let me fix it up |
Wig files have non-reproducible md5sums across environments.
Content is already validated via getText().contains('track').
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
metagene_profiles.txt and p_offsets.txt have non-reproducible md5sums. Content is already validated via getText().contains() checks. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This PR adds plastid with three submodules:
These functions are required to compute p-sites from Ribo-seq data.
I have also added test data here: nf-core/test-datasets#1809
PR checklist
versions.ymlfile.labelnf-core modules test <MODULE> --profile dockernf-core modules test <MODULE> --profile singularitynf-core modules test <MODULE> --profile conda