-
Notifications
You must be signed in to change notification settings - Fork 57
Handling DIANN parameters to get extended parameters to modules validated #660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
7967c82
changes in DIANN parameters
ypriverol 85ebfe9
Merge branch 'dev' of https://github.com/bigbio/quantms into dev
ypriverol 6a844fa
Fix bug in DIANN
ypriverol dbcfa40
minor changes remove typing
ypriverol a72b0ff
Minor changes inline parameters
ypriverol b153011
refactor modules config better for understanding
ypriverol e681713
minor version error with conda
ypriverol 1c2a413
Template update for nf-core/tools version 3.5.2
ypriverol 9222568
Merge branch 'TEMPLATE' into dev
ypriverol 73ae074
minor changes
ypriverol 5f824fb
minorn change to fix rescoring issues
ypriverol 35ba535
Fix the user issue in fine-tunning module
ypriverol 0fbb097
better validation
ypriverol 80518d0
Minor changes to fix minor issues
ypriverol 95277e8
Fix but with normalization
ypriverol 5658c73
Remove triqler and mzml stats
ypriverol 81f1ac1
Merge branch 'dev' of https://github.com/bigbio/quantms into dev
ypriverol 724c084
quantms-utils -> 0.0.25
ypriverol f044477
updte hash for the container
ypriverol f0ae1ee
minor issue of .d permissions
ypriverol 34a5216
test from .d ready timsTOOF
ypriverol 392871c
roolback change in msstats
ypriverol 82c3947
Recover patch about permissions in ms2rescore
ypriverol 151f9a9
minor changes in tests
ypriverol 80887cc
skip msstats
ypriverol File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| /* | ||
| ======================================================================================== | ||
| DIA-NN module options — all DIA pipeline steps | ||
| ======================================================================================== | ||
| Passes params.diann_extra_args to each DIA-NN step via ext.args. | ||
| Blocked-flag validation is performed in each module's script block, | ||
| so it applies regardless of whether ext.args is overridden by the user. | ||
| ---------------------------------------------------------------------------------------- | ||
| */ | ||
|
|
||
| process { | ||
|
|
||
| withName: ".*:DIA:INSILICO_LIBRARY_GENERATION" { | ||
| ext.args = { params.diann_extra_args ?: '' } | ||
|
ypriverol marked this conversation as resolved.
|
||
| } | ||
|
|
||
| withName: ".*:DIA:PRELIMINARY_ANALYSIS" { | ||
| ext.args = { params.diann_extra_args ?: '' } | ||
| } | ||
|
|
||
| withName: ".*:DIA:ASSEMBLE_EMPIRICAL_LIBRARY" { | ||
| ext.args = { params.diann_extra_args ?: '' } | ||
| } | ||
|
|
||
| withName: ".*:DIA:INDIVIDUAL_ANALYSIS" { | ||
| ext.args = { params.diann_extra_args ?: '' } | ||
| } | ||
|
|
||
| withName: ".*:DIA:FINAL_QUANTIFICATION" { | ||
| ext.args = { params.diann_extra_args ?: '' } | ||
|
ypriverol marked this conversation as resolved.
|
||
| } | ||
|
ypriverol marked this conversation as resolved.
|
||
| } | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| /* | ||
| ======================================================================================== | ||
| ID/PSM processing module options — shared across DDA workflows | ||
| ======================================================================================== | ||
| */ | ||
|
|
||
| process { | ||
|
|
||
| // FDRCONSENSUSID | ||
| withName: '.*:FDR_CONSENSUSID' { | ||
| ext.args = "-PSM true -protein false" | ||
| } | ||
|
|
||
| // ID_SCORE_SWITCHER for phospho scoring | ||
| withName: '.*:ID:PHOSPHO_SCORING:ID_SCORE_SWITCHER' { | ||
| ext.args = [ | ||
| "-new_score_orientation lower_better", | ||
| "-old_score \"q-value\"", | ||
| "-new_score_type \"Posterior Error Probability\"", | ||
| "-debug $params.idscoreswitcher_debug" | ||
| ].join(' ').trim() | ||
| } | ||
|
|
||
| // ONSITE phospho scoring | ||
| withName: '.*:ID:PHOSPHO_SCORING:ONSITE' { | ||
| ext.args = "-debug $params.onsite_debug" | ||
| } | ||
|
|
||
| // PERCOLATOR | ||
| withName: '.*:PERCOLATOR' { | ||
| ext.args = [ | ||
| "-debug $params.percolator_debug", | ||
| (params.fdr_level != 'psm_level_fdrs') ? "-" + params.fdr_level : "" | ||
| ].join(' ').trim() | ||
| } | ||
|
|
||
| // EPIFANY | ||
| withName: '.*:PROTEIN_INFERENCE_EPIFANY' { | ||
| ext.args = "-keep_best_psm_only false -debug $params.protein_inference_debug" | ||
| } | ||
|
|
||
| // PROTEIN_INFERENCE (generic) | ||
| withName: '.*:PROTEIN_INFERENCE' { | ||
| ext.args = "-debug $params.protein_inference_debug" | ||
| } | ||
|
|
||
| // PSM FDR control ID_FILTER | ||
| withName: '.*:ID:PSM_FDR_CONTROL:ID_FILTER' { | ||
| ext.args = "-score:psm \"$params.run_fdr_cutoff\"" | ||
| ext.suffix = '.idXML' | ||
| } | ||
|
|
||
| // DDA_ID PSM FDR control ID_FILTER | ||
| withName: '.*:DDA_ID:PSM_FDR_CONTROL:ID_FILTER' { | ||
| ext.args = "-score:psm \"$params.run_fdr_cutoff\"" | ||
| ext.suffix = '.idXML' | ||
| } | ||
|
|
||
| // MS2RESCORE | ||
| withName: 'MSRESCORE_FEATURES' { | ||
| ext.args = [ | ||
| "--ms2_model ${params.ms2features_model}", | ||
| "--calibration_set_size ${params.ms2features_calibration}", | ||
| params.ms2features_generators.trim() ? "--feature_generators ${params.ms2features_generators}" : '' | ||
| ].join(' ').trim() | ||
| } | ||
|
|
||
| // DDA_ID phospho scoring ID_SCORE_SWITCHER | ||
| withName: '.*:DDA_ID:PHOSPHO_SCORING:ID_SCORE_SWITCHER' { | ||
| ext.args = [ | ||
| "-new_score_orientation lower_better", | ||
| "-old_score \"q-value\"", | ||
| "-new_score_type \"Posterior Error Probability\"", | ||
| "-debug $params.idscoreswitcher_debug" | ||
| ].join(' ').trim() | ||
| } | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| /* | ||
| ======================================================================================== | ||
| LFQ module options — LFQ-specific processes | ||
| ======================================================================================== | ||
| */ | ||
|
|
||
| process { | ||
|
|
||
| // PROTEOMICSLFQ | ||
| withName: '.*:LFQ:PROTEOMICSLFQ' { | ||
| ext.args = "-debug $params.plfq_debug" | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.