Repository navigation
create_input_channel: allow empty FixedModifications (variable-only / no-alkylation SDRFs) - #98
Conversation
Release 2.1.0 - Integration with wiff converter
Datasets without a fixed modification (e.g. low-input Deep Visual Proteomics / single-cell prep with no reduction+alkylation -> no Carbamidomethyl) failed with 'Missing or empty required SDRF columns: FixedModifications' even though the SDRF is valid and the authors' own DIA-NN run used no fixed mod. - Drop FixedModifications from requiredColumns (it is optional; DIA-NN runs without a fixed mod, and quantms-utils dianncfg guards on 'if fix_mod:'). - Default meta.fixedmodifications to '' instead of null, so the downstream --fix_mod flag receives an empty string rather than the literal 'null'. Variable-only modification SDRFs (e.g. Oxidation (M) only) now run end to end. Surfaced while benchmarking PXD064049 (Coscia FISH-guided DVP, neuroblastoma).
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? |
This PR is against the
|
|
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:
📝 WalkthroughWalkthroughThe PR updates the input channel creation workflow in Nextflow. The ChangesFixed-modifications default and validation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
The test_dia_dotd database URL pointed at databases/PXD065380.fasta (404); the FASTA actually lives at databases/PXD065380/PXD065380.fasta in quantms-test-datasets. Fixes the SDRF_PARSING/download failure that was breaking the test_dia_dotd CI jobs (and fail-fast-canceling test_dia).
Problem
SDRFs that declare no fixed modification fail in
SDRF_PARSINGwith:even though the SDRF is valid (
parse_sdrf validate-sdrfpasses) andsdrf-pipelinesconvert-diannhappily emits an emptyFixedModifications. This blocks legitimate label-free / low-input experiments — e.g. Deep Visual Proteomics / single-cell prep with no reduction+alkylation, so no Carbamidomethyl (variable Oxidation only). The authors' own DIA-NN runs on such data use no fixed mod.Fix (
subworkflows/local/create_input_channel/main.nf)FixedModificationsfromrequiredColumns— it is optional; DIA-NN runs without a fixed mod, andquantms-utilsdianncfgalready guards withif fix_mod:.meta.fixedmodificationsto''instead ofnull, so the downstream--fix_modflag gets an empty string rather than the literal"null"(Groovy stringifiesnull).LabelandEnzymeremain required. Noquantms-utilschange needed (verifiedconvert_modskips emptyfix_mod).Validation
convert-diannon the same SDRF emitsFixedModifications="",VariableModifications=Oxidation (M)(exit 0).Notes
main; retarget todevif that's the preferred integration branch.Summary by CodeRabbit
Bug Fixes