Repository navigation
Conversation
increase dev version 1.6.0dev
Small patch with DIA precursor and fragment masses limits.
README_links
Template update 3.3.2 of nf-core an other minor updates
Co-authored-by: Copilot <[email protected]>
preparing for quantms release 1.6.0
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||
There was a problem hiding this comment.
Actionable comments posted: 2
🔭 Outside diff range comments (2)
nextflow.config (2)
259-267: Duplicate param key: config_profile_description set twiceconfig_profile_description appears twice in params (Lines 259–261 and 264–265). Redundant duplicates hurt readability.
config_profile_name = null - config_profile_description = null + config_profile_description = null ... - config_profile_description = null config_profile_contact = null config_profile_url = null
451-510: Duplicate manifest.homePage key and finalize version/doi
- homePage is defined twice (Lines 453 and 503). Drop the duplicate to avoid confusion.
- version is set to 1.6.0, doi updated — good.
manifest { name = 'bigbio/quantms' - homePage = 'https://github.com/bigbio/quantms' + homePage = 'https://github.com/bigbio/quantms' contributors = [ ... ] - homePage = 'https://github.com/bigbio/quantms' description = """Quantitative Mass Spectrometry nf-core workflow"""
♻️ Duplicate comments (2)
nextflow.config (1)
114-123: ms2rescore parameter rename defaulting looks good; check for lingering old namesThe rename to ms2_model_dir/ms2_model and addition of find_best_model/consider_modloss are correctly represented here.
Run this to catch any remaining references to the old names across the repo:
#!/bin/bash set -euo pipefail echo "Searching for old ms2pip_* parameter names..." rg -n "ms2pip_model(_dir)?" echo echo "Confirm new names are used consistently near their consumers:" rg -n "ms2_model(_dir)?|find_best_model|consider_modloss" -A2 -B2ro-crate-metadata.json (1)
189-189: Invalid Nextflow version string in ComputerLanguage.versionThe “!>=24.10.5” value is not a valid semver constraint in RO-Crate context and can break downstream tooling.
- "version": "!>=24.10.5" + "version": ">=24.10.5"
🧹 Nitpick comments (6)
CHANGELOG.md (2)
14-17: Grammar: “masses limits” → “mass limits”Change “DIA precursor and fragment masses limits” to “DIA precursor and fragment mass limits.”
- Small patch with DIA precursor and fragment masses limits + Small patch with DIA precursor and fragment mass limits
20-25: Brevity and consistency in “Fixed”/“Dependencies”
- Remove repeated “version” (“updated to version 0.0.33”).
- Keep imperative style consistent.
- Multiple bugs fixed for pmultiqc library, multiple PRs, final version updated to version 0.0.33 + Multiple bugs fixed for pmultiqc; final version updated to 0.0.33nextflow.config (1)
363-367: GPU profile baseline is fine; consider documenting and tagging GPU processesThe profile enables GPU passthrough for Docker/Apptainer/Singularity.
- Add a brief note in docs/usage.md about enabling GPUs (-profile gpu) and required drivers/toolkits.
- Ensure GPU-requiring processes (e.g., AlphaPeptDeep, if any) are labeled so users can combine “-profile docker,gpu” without surprises (e.g., label 'gpu' with resource overrides if needed). I can propose label/resource stanzas if you list the GPU-capable processes.
ro-crate-metadata.json (3)
7-9: Release status and description link target
- creativeWorkStatus: For a release, consider “Published” instead of “Stable” if you follow Schema.org-like semantics.
- The “Launch on Seqera Platform” badge points to nf-core/quantms. Confirm if this is intentional for bigbio/quantms.
If you intended to link bigbio/quantms instead, update the URL accordingly.
9-9: Fix typos in description: “allows uses”, “Data dependant”Two minor typos in the long description string:
- “allows uses to perform analyses” → “allows users to perform analyses”
- “Data dependant” → “Data dependent”
Given the single-line JSON string, here’s a minimal diff:
-**bigbio/quantms** allows uses to perform analyses of three main types +**bigbio/quantms** allows users to perform analyses of three main types -### DDA-LFQ (data-dependent label-free quantification) +### DDA-LFQ (data-dependent label-free quantification) -### DDA-ISO (data-dependent quantification via isobaric labelling) +### DDA-ISO (data-dependent quantification via isobaric labelling)Note: Please also correct the “Data dependant” occurrence near the DDA-LFQ/DDA-ISO headings if present in the string; the snippet above shows one canonical place for replacement.
312-341: Person capitalization and IDs
- “chengxin Dai” should be capitalized as “Chengxin Dai”.
- The local Person node with “@id": "#[email protected]" is acceptable for an internal identifier; ensure consistency across references.
- Optional: add ORCID for Paez if available.
{ "@id": "https://orcid.org/0000-0001-6943-5211", "@type": "Person", "email": "[email protected]", - "name": "chengxin Dai" + "name": "Chengxin Dai" }
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these settings in your CodeRabbit configuration.
📒 Files selected for processing (5)
.nf-core.yml(3 hunks)CHANGELOG.md(1 hunks)modules/local/pmultiqc/main.nf(1 hunks)nextflow.config(4 hunks)ro-crate-metadata.json(8 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
- .nf-core.yml
- modules/local/pmultiqc/main.nf
🧰 Additional context used
🪛 LanguageTool
CHANGELOG.md
[grammar] ~14-~14: There might be a mistake here.
Context: ...DIA precursor and fragment masses limits - [567](https://github.com/bigbio/quantms/p...
(QB_NEW_EN)
[grammar] ~15-~15: There might be a mistake here.
Context: ...ll/567) Update nf-core template to 3.3.2 - [560](https://github.com/bigbio/quantms/p...
(QB_NEW_EN)
[grammar] ~24-~24: There might be a mistake here.
Context: ...es` - Updated quantms-rescoring==0.0.12 - Updated pmultiqc==0.0.33 ## [1.5.0] big...
(QB_NEW_EN)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Singularity Tests (latest-everything, test_dda_id)
- GitHub Check: Singularity Tests (latest-everything, test_dda_id)
- GitHub Check: Run pipeline with test data (24.10.5, test_dda_id, docker)
🔇 Additional comments (6)
nextflow.config (4)
107-110: Confirm DIA mass limits default change is intendedYou set concrete defaults for DIA mass ranges (was null before). This alters behavior for users not specifying them.
- Ensure these defaults align with DIA-NN expectations and are documented in nextflow_schema.json and docs/parameters.
- If these were previously null to let the tool auto-detect, consider adding a note in the changelog (migration/behavior change).
I can scan the schema and docs for mismatches if you want a quick verification script.
390-400: Offline-safe include guard LGTMThe conditional include for custom configs with NXF_OFFLINE check is robust.
507-508: Note on “!>=” constraintThe nf-core style nextflowVersion string uses a leading “!”: '!>=24.10.5'. This is intentional in nf-core templates and OK here. Ensure external metadata (e.g., ro-crate) doesn’t carry the “!” where consumers expect a plain semver constraint.
514-515: nf-schema plugin bump LGTMUpgrading to [email protected] matches the template 3.3.2.
ro-crate-metadata.json (2)
171-177: Versions in main.nf entry are consistentname/url/version align with release 1.6.0 and nf-co.re URL.
1-3: RO-Crate context simplification LGTMUsing the single URL context is standard and fine.
enryH
left a comment
There was a problem hiding this comment.
I see a lot of code rabbit suggestion on configuration files. Did you see these? I am not sure if all are relevant, but some sound valid to me.
Most of the suggestions are related to nf-core Templates. I hesitate to take action on that because merging in the future, other templates will be a nightmare. |
There was a problem hiding this comment.
Pull Request Overview
This PR releases version 1.6.0 of the quantms pipeline with major improvements including updated nf-core template to 3.3.2, enhanced MS2 rescoring with AlphaPeptDeep support, and multiple bug fixes in the pmultiqc library.
- Updated nf-core template to version 3.3.2 for improved infrastructure
- Enhanced MS2 rescoring with AlphaPeptDeep integration and new configuration options
- Fixed multiple bugs in pmultiqc library and updated to version 0.0.33
Reviewed Changes
Copilot reviewed 61 out of 71 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| nextflow.config | Update version to 1.6.0 and add new MS2 rescoring parameters |
| nextflow_schema.json | Add schema definitions for new MS2 rescoring parameters |
| workflows/quantms.nf | Update DIA workflow to output parquet files instead of final result |
| workflows/dia.nf | Add new diann_report_parquet output channel |
| modules/local/utils/msrescore_features/main.nf | Update container and add new model parameters |
| subworkflows/local/utils_nfcore_quantms_pipeline/main.nf | Add comprehensive tool citations and bibliography |
| ro-crate-metadata.json | Update metadata for version 1.6.0 release |
| conf/base.config | Add GPU support and improve error handling |
| assets/multiqc_config.yml | Update MultiQC configuration for pmultiqc |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
enryH
left a comment
There was a problem hiding this comment.
looks good. just note that the command line argument is not the same.
User description
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).PR Type
Enhancement
Description
Release version 1.6.0 with major improvements
Updated nf-core template to 3.3.2
Enhanced MS2 rescoring with AlphaPeptDeep support
Fixed multiple bugs in pmultiqc library
Diagram Walkthrough
File Walkthrough
8 files
Update metadata for version 1.6.0 releaseUpdate version and MS2 rescoring parametersUpdate Python version and workflow configurationUpdate MS2 rescoring parameter schemaUpdate module metadata structureAdd GPU support and error handlingUpdate MultiQC configuration for pmultiqcUpdate nf-core version configuration5 files
Update documentation and citation informationAdd comprehensive tool citations and bibliographyMinor documentation improvementsAdd metadata for DDA identification subworkflowAdd version 1.6.0 changelog entries2 files
Add new nf-test GitHub actionAdd shard management for test execution1 files
Update container and add new parameters3 files
Update module versions and dependenciesUpdate action versionsUpdate pmultiqc container version1 files
Add deprecation warning and update container44 files
Summary by CodeRabbit
New Features
Changes
Documentation
Chores