Skip to content

update sdrf parsing and diann2mztab - #612

Closed
daichengxin wants to merge 4 commits into
bigbio:devfrom
daichengxin:dev
Closed

daichengxin wants to merge 4 commits into
bigbio:devfrom
daichengxin:dev

Conversation

@daichengxin

@daichengxin daichengxin commented Nov 26, 2025 •

Copy link
Copy Markdown
Collaborator

User description

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).

PR Type

Enhancement


Description

  • Update SDRF_PARSING process container to sdrf-pipelines:0.0.33

  • Disable DIA-NN mzTab export by default


Diagram Walkthrough

flowchart LR
  A["SDRF_PARSING Process"] -- "Update container image" --> B["sdrf-pipelines:0.0.33"]
  C["DIA-NN Configuration"] -- "Disable mzTab export" --> D["enable_diann_mztab: false"]
Loading

File Walkthrough

Relevant files
Dependencies
main.nf
Update SDRF parsing container image version                           

modules/local/sdrf_parsing/main.nf

  • Update Singularity container from quantms-utils:0.0.23 to
    sdrf-pipelines:0.0.33
  • Update Biocontainers image from quantms-utils:0.0.23 to
    sdrf-pipelines:0.0.33
  • Update container hash from pyh7e72e81_0 to pyhdfd78af_0
+2/-2     
Configuration changes
nextflow.config
Disable DIA-NN mzTab export by default                                     

nextflow.config

  • Change enable_diann_mztab parameter default from true to false
  • Affects DIA-NN mzTab export functionality in pipeline configuration
+1/-1     

@coderabbitai

coderabbitai Bot commented Nov 26, 2025

Copy link
Copy Markdown
Contributor

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.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@qodo-code-review qodo-code-review Bot changed the title update sdrf parsing and diann2mztab update sdrf parsing and diann2mztab Nov 26, 2025
@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
⚪
🎫 No ticket provided
  • Create ticket/issue
Codebase Duplication Compliance
⚪
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
🟢
Generic: Meaningful Naming and Self-Documenting Code

Objective: Ensure all identifiers clearly express their purpose and intent, making code
self-documenting

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Secure Error Handling

Objective: To prevent the leakage of sensitive system information through error messages while
providing sufficient detail for internal debugging.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Secure Logging Practices

Objective: To ensure logs are useful for debugging and auditing without exposing sensitive
information like PII, PHI, or cardholder data.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

⚪
Generic: Comprehensive Audit Trails

Objective: To create a detailed and reliable record of critical system actions for security analysis
and compliance.

Status:
Audit Coverage: The changes update a container reference and disable a feature by default without adding
or demonstrating logging of critical actions related to SDRF parsing or DIA-NN
configuration changes.

Referred Code
enable_diann_mztab           = false

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Robust Error Handling and Edge Case Management

Objective: Ensure comprehensive error handling that provides meaningful context and graceful
degradation

Status:
Error Handling: The new code only updates container images without showing error handling for potential
container or runtime failures, leaving robustness unverified in these modified paths.

Referred Code
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
    'https://depot.galaxyproject.org/singularity/sdrf-pipelines:0.0.33--pyhdfd78af_0' :
    'biocontainers/sdrf-pipelines:0.0.33--pyhdfd78af_0' }"

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Security-First Input Validation and Data Handling

Objective: Ensure all data inputs are validated, sanitized, and handled securely to prevent
vulnerabilities

Status:
Input Validation: Changing the default enable_diann_mztab to false affects downstream behavior without
accompanying validation or safeguards shown in the diff to ensure secure handling when
toggled.

Referred Code
enable_diann_mztab           = false

Learn more about managing compliance generic rules or creating your own custom rules

Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Code Suggestions ✨

No code suggestions found for the PR.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the SDRF parsing container image and disables DIA-NN mzTab export by default for the quantms pipeline.

  • Updated SDRF_PARSING process to use sdrf-pipelines:0.0.33 container
  • Changed default value of enable_diann_mztab parameter from true to false

Reviewed changes

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

File Description
modules/local/sdrf_parsing/main.nf Updates container from quantms-utils:0.0.23 to sdrf-pipelines:0.0.33 with new hash pyhdfd78af_0
nextflow.config Changes enable_diann_mztab parameter default from true to false to disable DIA-NN mzTab export

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread nextflow.config
random_preanalysis_seed = 42
empirical_assembly_ms_n = 200
enable_diann_mztab = true
enable_diann_mztab = false

Copilot AI Nov 26, 2025

Copy link

Choose a reason for hiding this comment

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

The default value for enable_diann_mztab in nextflow_schema.json (line 1164) is still set to true, but it has been changed to false in nextflow.config. These two files must be kept in sync. Please update the default value in nextflow_schema.json to false to match the configuration change.

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback
change in nextflow_schema.json enable_diann_mztab to false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants