Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

Restructure local modules and subworkflows#851

Merged
dialvarezs merged 13 commits intonf-core:devfrom
dialvarezs:local-module-restructure
Aug 21, 2025
Merged

Restructure local modules and subworkflows#851
dialvarezs merged 13 commits intonf-core:devfrom
dialvarezs:local-module-restructure

Conversation

@dialvarezs
Copy link
Member

@dialvarezs dialvarezs commented Aug 16, 2025

Summary

  • Remove local POOL_* modules and use CAT_FASTQ instead
  • Remove local unused nanolyse module
  • Improve structure of local modules and subworflows with directories
  • Styling improvements: formatting, rename workflow input channels to ch_*, add prefix unused variables with underscores.

Closes #810 #817

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/mag branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@dialvarezs dialvarezs changed the title Local module restructure Local module/subwf restructure Aug 16, 2025
@dialvarezs dialvarezs marked this pull request as ready for review August 16, 2025 06:55
@dialvarezs dialvarezs changed the title Local module/subwf restructure Restructure local modules and subworkflows Aug 16, 2025
Copy link
Contributor

@prototaxites prototaxites left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @dialvarezs, this looks really good!

Haven't had a chance to go through with a fine-tooth comb yet, but a couple of thoughts after a quick consideration:

Copy link
Member

@jfy133 jfy133 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really good job again @dialvarezs ! Only a few things

My main grip is the over-nesting of everything, but I am conflicting with Jim on that one. Maybe you can bring this up on slack for a 'style' discussion before reducing the number of nesting (and sorry about that!)

Btw once this is in, I will fix all the missing versions that I just noticed there is a linting for 🙃 but then we will have got rid a lot of the linting errors 🎉

@dialvarezs dialvarezs force-pushed the local-module-restructure branch from 77e6cf8 to 3ed9ed8 Compare August 20, 2025 19:01
@dialvarezs
Copy link
Member Author

dialvarezs commented Aug 21, 2025

So, by popular decision I flattened everything. I also fixed the input channel rewrites.

I've added the meta files for the subworkflows too, so we can get rid of those warnigs.

I also was considering updating the modules to tackle a few more warnings, but I guess it would be too much for this PR. I'll save that for the next one.

Ready for a next review round.

Copy link
Member

@jfy133 jfy133 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow @dialvarezs you even added all the meta.yamls swoon!!! Thank you!

I only did a very cursory glance of them as a I'm a bit low on time and I think we should get this ASAP, but also they are not specifically used for anything at the moment - so any mistakes we can fix over time.

Otherwise I looked through change suggestions from before and everything is addressed I think, this LGTM to me now!

I agree don't worry about module updates for now - this is turning into a bit of a monster PR and these aren't really 'fixes' for anything

@prototaxites otherwise everything look good to you now?

@prototaxites
Copy link
Contributor

Have also only had a brief glance over, but generally happy with it and I think we can shake out residual issues in a new PR!

@jfy133
Copy link
Member

jfy133 commented Aug 21, 2025

Can we get a nice fat shiny green ✔️ @prototaxites ?

@dialvarezs dialvarezs merged commit b7c818c into nf-core:dev Aug 21, 2025
13 checks passed
@dialvarezs dialvarezs deleted the local-module-restructure branch August 21, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants