Skip to content

Adding met-excision as parameter to DIA and DDA workflows#555

Merged
ypriverol merged 8 commits intobigbio:devfrom
ypriverol:dev
May 30, 2025
Merged

Adding met-excision as parameter to DIA and DDA workflows#555
ypriverol merged 8 commits intobigbio:devfrom
ypriverol:dev

Conversation

@ypriverol
Copy link
Member

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 bigbio/quantms 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).

@coderabbitai
Copy link
Contributor

coderabbitai bot commented May 30, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@ypriverol ypriverol requested a review from Copilot May 30, 2025 09:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request adds a new boolean parameter ("met_excision") to support methionine excision in the DIA and DDA workflows.

  • Introduces the new met_excision parameter in the JSON schema with descriptive help text.
  • Sets met_excision to true by default in nextflow.config.
  • Updates the DIANN in silico library generation process to optionally include the --met-excision flag.
  • Updates CHANGELOG.md to document the changes.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
nextflow_schema.json Adds the new met_excision parameter to the workflow schema
nextflow.config Enables the met_excision parameter by default
modules/local/diann/insilico_library_generation/main.nf Updates DIANN command to conditionally include the --met-excision flag
CHANGELOG.md Documents updates including the met_excision change

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for methionine excision as a configurable parameter in both DIA and DDA workflows.

  • Introduces a new boolean parameter "met_excision" in nextflow_schema.json with default true and associated documentation.
  • Updates nextflow.config to enable methionine excision by default.
  • Modifies COMET and DIANN modules to include the respective command-line flags for methionine excision, and updates CHANGELOG.md accordingly.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
nextflow_schema.json Adds the "met_excision" parameter with detailed help text
nextflow.config Sets the default for met_excision
modules/local/openms/comet/main.nf Passes the met_excision flag for COMET workflows
modules/local/diann/insilico_library_generation/main.nf Passes the met_excision flag for DIANN workflows
CHANGELOG.md Documents the addition of methionine excision support

@ypriverol ypriverol linked an issue May 30, 2025 that may be closed by this pull request
@ypriverol ypriverol requested review from Copilot and jpfeuffer May 30, 2025 13:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for an optional met-excision parameter to both the DIA and DDA workflows. Key changes include updating the Nextflow schema and configuration to include the new boolean parameter, and propagating the parameter into both the COMET and DIANN modules with appropriate command line flags.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
nextflow_schema.json Added met_excision parameter definition with schema details
nextflow.config Set met_excision default value in workflow parameters
modules/local/openms/comet/main.nf Integrated met_excision flag into the COMET command line options
modules/local/diann/insilico_library_generation/main.nf Integrated met_excision flag into the DIANN library generation command
CHANGELOG.md Updated changelog documenting the new met-excision feature
Comments suppressed due to low confidence (2)

modules/local/openms/comet/main.nf:82

  • Verify that the COMET command line flag '-clip_nterm_methionine true' is fully supported and correctly interpreted by the tool, especially given potential updates to its interface.
met_excision = params.met_excision ? "-clip_nterm_methionine true" : ""

modules/local/diann/insilico_library_generation/main.nf:29

  • Ensure that the '--met-excision' flag passed to DIANN is handled as intended, and consider documenting any expected behavior or constraints for this flag.
met_excision = params.met_excision ? "--met-excision" : ""

@ypriverol ypriverol merged commit d246760 into bigbio:dev May 30, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

DIANN parameter, N-term M excision

5 participants