Repository navigation
Fix QPX export: disable by default and require project_accession - #90
Conversation
- docs/usage.md: replace `sdrf.tsv` with `experiment.sdrf.tsv` in pridepy and QPX examples so they pass the new `.sdrf.tsv` schema validation. - docs/usage.md: align `--reindex_mzml` description with the flipped schema default (now `false`); update both occurrences. - modules/bigbio/qpx: point Docker container at `quay.io/biocontainers/qpx:1.0.2` (the bare `biocontainers/...` form resolves to Docker Hub, where this tag is not published). - nextflow_schema.json + nextflow.config: flip `enable_qpx_export` default to `false` (consistent with its "Experimental" labelling) and add an `if/then` guard requiring `project_accession` whenever it is enabled, mirroring the `pridepy_download` contract. - workflows/dia.nf: fail fast with `error()` if QPX export is enabled without `project_accession`, so the QPX prefix never silently falls back to "diann" and PRIDE/PX provenance is never lost.
ⓘ You've reached your Qodo monthly free-tier limit. Reviews pause until next month — upgrade your plan to continue now, or link your paid account if you already have one. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
nf-core lint's schema_lint walks every entry in the top-level allOf assuming each is a $ref, so a bare if/then guard makes it crash with KeyError: '$ref'. The workflows/dia.nf early error() already enforces that --project_accession is set when --enable_qpx_export is on, which is sufficient to prevent the silent 'diann' fallback prefix.
|
The qpx module is pinned via modules.json to bigbio/modules at 69529f0bf418a82b75c4d29255f9f73f8ed84dbf, so editing it locally fails nf-core lint's check_local_copy. The biocontainers/qpx -> quay.io fix needs to land upstream in bigbio/modules and then be pulled in via `nf-core modules update qpx`.
Description
This PR fixes the QPX export feature to be disabled by default and enforces the required
--project_accessionparameter when enabled. The changes address safety and usability concerns:Changes Made
QPX Export Default Behavior
enable_qpx_exportdefault fromtruetofalseinnextflow.configandnextflow_schema.jsonworkflows/dia.nfto require--project_accessionwhen QPX export is enabledproject_accessionas required whenenable_qpx_exportis trueDocumentation Updates
docs/usage.mdto reflect that QPX export is disabled by default and requires--project_accession--project_accessionis required for QPX export (used as output prefix and PRIDE/PX provenance metadata)experiment.sdrf.tsvnaming conventionPreprocessing Documentation
--reindex_mzmldocumentation to reflect new default (false) with clarification that ThermoRawFileParser and wiff converter already emit indexed mzMLContainer Registry Fix
biocontainers/qpxtoquay.io/biocontainers/qpxfor better reliabilityRationale
--project_accessionis essential for proper metadata embedding and output naming, so it should be enforced when the feature is usedPR Checklist
docs/usage.mdis updatedhttps://claude.ai/code/session_01DXnE135kseZP1HVsfdVChH