Skip to content
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

Refactor for release 2.6 #310

Merged
merged 20 commits into from
Feb 27, 2024
Merged

Conversation

jonasscheid
Copy link
Collaborator

@jonasscheid jonasscheid commented Feb 23, 2024

This PR comprises major restructuring to exploit the nextflow groupKey functionality. This change streamlines group-wise processing. Previously, nextflow waited until all processes of a module are done. Now, a downstream process is started once all files of a group have been processed upstream.

group_count and spectra (a key-pair that parses the spectrum filename) are now in the meta map to account for ordered grouping and splitting, especially in the quantification subworkflow.
Re-evaluating the quant performance of a spike-in dataset showed that the quantification performance is equally good.

Pre PR This PR
Pre PR This PR

Furthermore, 7 local modules were replaced by with nf-core modules. More to come 🚀. See #296

Lets merge this one before the template merge #307 to circumvent some additional merge conflicts.

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/mhcquant branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile 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).

Copy link

github-actions bot commented Feb 23, 2024

nf-core lint overall result: Failed ❌

Posted for pipeline commit e7a1938

+| ✅ 191 tests passed       |+
!| ❗   5 tests had warnings |!
-| ❌   8 tests failed       |-

❌ Test failures:

  • files_exist - File must be removed: lib/Utils.groovy
  • files_exist - File must be removed: lib/WorkflowMain.groovy
  • files_exist - File must be removed: lib/NfcoreTemplate.groovy
  • files_exist - File must be removed: lib/WorkflowMhcquant.groovy
  • files_unchanged - .github/workflows/branch.yml does not match the template
  • files_unchanged - .github/workflows/linting_comment.yml does not match the template
  • files_unchanged - .github/workflows/linting.yml does not match the template
  • files_unchanged - pyproject.toml does not match the template

❗ Test warnings:

  • pipeline_todos - TODO string in WorkflowMhcquant.groovy: Optionally add in-text citation tools to this list.
  • system_exit - System.exit in WorkflowMhcquant.groovy: System.exit(1) [line 18]
  • system_exit - System.exit in WorkflowMhcquant.groovy: System.exit(1) [line 45]
  • system_exit - System.exit in WorkflowMhcquant.groovy: System.exit(1) [line 51]
  • system_exit - System.exit in WorkflowMain.groovy: System.exit(1) [line 53]

✅ Tests passed:

Run details

  • nf-core/tools version 2.13
  • Run at 2024-02-26 16:29:45

subworkflows/local/map_alignment.nf Outdated Show resolved Hide resolved
subworkflows/local/quant.nf Show resolved Hide resolved
workflows/mhcquant.nf Show resolved Hide resolved
Co-authored-by: Friederike Hanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
Copy link
Collaborator

@marissaDubbelaar marissaDubbelaar left a comment

Choose a reason for hiding this comment

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

I have a few suggestions, also related to the modules (although these are less important for this PR)

modules/nf-core/openms/decoydatabase/meta.yml Show resolved Hide resolved
modules/nf-core/openms/idfilter/main.nf Show resolved Hide resolved
subworkflows/local/input_check.nf Show resolved Hide resolved
subworkflows/local/refine_fdr.nf Show resolved Hide resolved
workflows/mhcquant.nf Show resolved Hide resolved
Copy link
Collaborator

@marissaDubbelaar marissaDubbelaar left a comment

Choose a reason for hiding this comment

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

LGTM

@jonasscheid jonasscheid merged commit ce6ed23 into nf-core:dev Feb 27, 2024
6 of 7 checks passed
@jonasscheid jonasscheid mentioned this pull request May 30, 2024
10 tasks
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.

3 participants