Dev#85
Merged
Merged
Conversation
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
fix everything
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).