-
Notifications
You must be signed in to change notification settings - Fork 149
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
Template update, big DSL2 modules update #222
Conversation
|
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.
Self-review
Hi @ewels, Thanks for picking this up again, I hadn't looked at this for a (quite a) while. Just as a heads up, there are few caveats regarding the removal of local modules: There were 2 main reasons why I went with local modules for this: ii) relates to #181 (some discussion here: nf-core/modules#129 (comment)) |
Hi @phue! Great to hear from you 😀 Massive kudos for the work you did here with the DSL2 conversion, sorry it's taken me so long to get around to helping you with it. i) Ok so I think I'm starting to understand this now. I get the reasoning for keeping the module as simple and generic as possible. But does the pipeline need to have a local module for this? Can it not just append to the ii) Ahhh, you mean this subtle little difference? - tuple val(meta), path(bam), path(index)
+ tuple val(meta), path(bam)
+ path index I totally missed that.. Right, and the objection for having it in nf-core/modules with that style is that it's not consistent with other modules / too complex? Ok I see both standpoints. I kind of want to avoid having local versions of modules that are also available in the central nf-core/modules repo though. I think that it's inevitable that there will be feature drift between them and it kind of loses the advantages of having the DSL2 modules. I'll take it up on Slack and see if there's a way that we can resolve this. |
No worries, great that you brought it up again so we can have this discussion and get this thing finalized 👍
Yes, that's probably the cleaner option. Having a groovy function to do these memory/core calculations would be even better. I just went with the local modules because they were anyway required for
I don't think it's complex or anything, consistency is what mattered in the discussion back then. It would have required to extend the |
Reminder to myself: Need to implement the new versioning code. Docs: https://nf-co.re/developers/adding_modules#new-module-guidelines-and-pr-review-checklist + check rnaseq pipeline. |
My attempt at getting the DSL2 port of this pipeline over the line.
A lot has changed since @phue originally worked on this. For starters, the DSL2 template is now officially released. This meant that I merged in the
TEMPLATE
commits from the sync (which had a lot of merge conflicts as I think it was all copied in before without git history). There are also a lot of changes in modules syntax, and many previously local modules are now merged in to the central repo.WIP - been manually trying to merge this all but untested so far, so still quite a way to go.
Note: This PR is to the
dsl2
branch and notdev
I hope that when this is merged we can then get on to merging #199 soon after and then release.
When this is merged, it will encompass #220 and so that will close automatically immediately.
modules.json