Skip to content

Dev#85

Merged
daichengxin merged 14 commits into
daichengxin:devfrom
bigbio:dev
Mar 1, 2026
Merged

Dev#85
daichengxin merged 14 commits into
daichengxin:devfrom
bigbio:dev

Conversation

@daichengxin

Copy link
Copy Markdown
Owner

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

claude and others added 14 commits January 19, 2026 16:52
Remove 9 parameters that are now exclusively read from SDRF files:
- acquisition_method
- labelling_type
- enzyme
- precursor_mass_tolerance
- precursor_mass_tolerance_unit
- fragment_mass_tolerance
- fragment_mass_tolerance_unit
- fixed_mods
- variable_mods

These parameters were redundant as SDRF already contains all this
metadata. The pipeline now requires proper SDRF annotation for these
values, making the configuration simpler and reducing confusion.

Updated files:
- nextflow.config: Removed default parameter definitions
- nextflow_schema.json: Removed schema entries and updated help text
- conf/tests/test_lfq.config: Removed deprecated test params
- conf/tests/test_lfq_sage.config: Removed deprecated test params

Fixes #650
Since parameters like enzyme, tolerances, and modifications are now
exclusively read from SDRF files (removed from config in previous
commit), add explicit validation to ensure these required columns
are present and valid:

- Check all required columns are present and non-empty:
  Label, Enzyme, PrecursorMassTolerance, PrecursorMassToleranceUnit,
  FragmentMassTolerance, FragmentMassToleranceUnit, FixedModifications,
  VariableModifications

- Validate tolerance values are valid numbers
- Validate tolerance units are 'ppm' or 'Da'

Provides clear error messages indicating which columns are missing
or invalid, helping users fix their SDRF annotation.

Part of #650
Per review feedback, only these 4 parameters should be exclusively
read from SDRF (no command-line override):
- acquisition_method
- labelling_type
- enzyme
- fixed_mods

The following parameters are restored and can be overridden via
command line (with SDRF as default if present):
- precursor_mass_tolerance
- precursor_mass_tolerance_unit
- fragment_mass_tolerance
- fragment_mass_tolerance_unit
- variable_mods

Updated create_input_channel validation to:
- Only require Label, Enzyme, FixedModifications columns
- Use SDRF values for tolerances/variable_mods if present
- Fall back to params values if SDRF columns are empty

Part of #650
Resolve quantms issue 650 - remove unnecesary params, present in SDRF
@daichengxin daichengxin merged commit 6082757 into daichengxin:dev Mar 1, 2026
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants