Repository navigation
docs: clarify params.json vs SDRF-derived parameters (mods, enzyme, tolerances) - #103
Conversation
params_<timestamp>.json records launch-time pipeline parameters only. Modifications, enzyme and mass tolerances are taken from the SDRF per sample at runtime and override the defaults shown there (fixed mods and enzyme have no parameter at all, so they never appear in params.json). Document that the authoritative resolved values live in results/sdrf/diann_config.cfg + the SDRF, and add an 'SDRF parsing outputs' section describing sdrf/. No behavior change.
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
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 |
|
New conf/diann_versions/v2_5_1.config + profile diann_v2_5_1 (container ghcr.io/bigbio/diann:2.5.1), the academic counterpart to the 2.5.1 Enterprise build. README + usage version tables and CHANGELOG updated.
Problem
pipeline_info/params_<timestamp>.jsondoes not contain the PTMs (and enzyme, mass tolerances) annotated in the SDRF — and worse, it shows pipeline defaults (e.g.variable_mods: "Oxidation (M)",precursor_mass_tolerance: 5) that the SDRF silently overrides per sample at runtime, so a reader can't tell the true values.Root cause (not a code bug)
params.jsonisJsonOutput.toJson(params)(the launch-timeparamsmap), written at pipeline init by the vendored nf-coreutils_nextflow_pipelinesubworkflow. The SDRF-derived values (fixedmodifications,variablemodifications,enzyme, tolerances, m/z, …) are resolved at runtime, per sample into themetaobjects anddiann_config.cfg— they are never inparams, so they can't appear inparams.json. They're also per-sample, so they can't live faithfully in a single global JSON.We deliberately did not try to overwrite
params.jsonwith SDRF values: it's dumped before SDRF parsing runs, it's global (not per-sample), and rewriting it would break its reproducibility purpose (-params-file).Fix (docs only)
The authoritative resolved values already exist in
results/sdrf/diann_config.cfg(mods, enzyme) + the published SDRF. So this clarifies, rather than duplicating them into a new artifact:docs/output.md: listparams_<timestamp>.json, add an IMPORTANT note that it holds launch defaults (not the per-sample SDRF-resolved values), and add an 'SDRF parsing outputs' section pointing tosdrf/diann_config.cfg/diann_design.tsv/ the SDRF as the source of truth.docs/parameters.md: note at the top that modifications, enzyme, and tolerances come from the SDRF per sample and override the listed defaults.No behavior change; no new outputs. prettier/markdown clean.