-
Notifications
You must be signed in to change notification settings - Fork 57
add IsobaricWorkflow to TMT workflow #604
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
ypriverol
merged 10 commits into
bigbio:dev_IsobaricWorkflow
from
MaLLLiYA:isobaric_workflow
Apr 3, 2026
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
66080bb
add IsobaricWorkflow to TMT workflow
MaLLLiYA 3765937
Merge branch 'dev' into isobaric_workflow
MaLLLiYA 3ec6c72
Update workflows/tmt.nf
ypriverol 70c60e4
Merge branch 'dev' into isobaric_workflow
ypriverol f369833
Update workflows/tmt.nf
ypriverol 2a33101
pre-commit
MaLLLiYA d560a37
Improvement of IsobaricWorkflow
MaLLLiYA e6c1c41
Merge branch 'dev' into isobaric_workflow
MaLLLiYA 881a69a
pre-commit
MaLLLiYA e7d22b1
Merge branch 'isobaric_workflow' of https://github.com/MaLLLiYA/quant…
MaLLLiYA 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| process ISOBARIC_WORKFLOW { | ||
| tag "${expdes.baseName}" | ||
| label 'process_high' | ||
| label 'openms' | ||
|
|
||
| container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? | ||
| 'oras://ghcr.io/bigbio/openms-tools-thirdparty-sif:2025.04.14' : | ||
| 'ghcr.io/bigbio/openms-tools-thirdparty:2025.04.14' }" | ||
|
|
||
| input: | ||
| path(mzmls) | ||
| path(id_files) | ||
| path(expdes) | ||
|
|
||
| output: | ||
| path "${expdes.baseName}_openms.mzTab", emit: out_mztab | ||
| path "${expdes.baseName}_openms.consensusXML", emit: out_consensusXML | ||
| path "*.log", emit: log | ||
| path "versions.yml", emit: versions | ||
|
|
||
| script: | ||
| def args = task.ext.args ?: '' | ||
| def extractBaseName = { filename -> | ||
| def name = filename.toString() | ||
| name = name.replaceAll(/\.mzML$/, '') | ||
|
|
||
| if (name.endsWith('.idXML')) { | ||
| name = name.replaceAll(/\.idXML$/, '') | ||
| name = name.replaceAll(/_(comet|msgf|sage|consensus)(_perc)?(_filter)?(_fdr)?$/, '') | ||
| } | ||
| return name | ||
| } | ||
|
|
||
| def mzml_sorted = mzmls.collect().sort{ a, b -> | ||
| extractBaseName(a.name) <=> extractBaseName(b.name) | ||
| } | ||
| def id_sorted = id_files.collect().sort{ a, b -> | ||
| extractBaseName(a.name) <=> extractBaseName(b.name) | ||
| } | ||
|
|
||
| """ | ||
| IsobaricWorkflow \\ | ||
| -threads ${task.cpus} \\ | ||
| -in ${mzml_sorted.join(' ')} \\ | ||
| -in_id ${id_sorted.join(' ')} \\ | ||
| -exp_design ${expdes} \\ | ||
| -type ${params.type} \\ | ||
| -inference_method ${params.protein_inference_method} \\ | ||
| -protein_quantification ${params.protein_quant} \\ | ||
| -psmFDR ${params.psm_level_fdr_cutoff} \\ | ||
| -proteinFDR ${params.protein_level_fdr_cutoff} \\ | ||
| -picked_fdr ${params.picked_fdr} \\ | ||
| -picked_decoy_string ${params.decoy_string} \\ | ||
| -out ${expdes.baseName}_openms.consensusXML \\ | ||
| -out_mzTab ${expdes.baseName}_openms.mzTab \\ | ||
| $args \\ | ||
| 2>&1 | tee isobaricworkflow.log | ||
|
|
||
| cat <<-END_VERSIONS > versions.yml | ||
| "${task.process}": | ||
| IsobaricWorkflow: \$(IsobaricWorkflow 2>&1 | grep -E '^Version(.*)' | sed 's/Version: //g' | cut -d ' ' -f 1) | ||
| END_VERSIONS | ||
| """ | ||
| } | ||
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,42 @@ | ||
| name: isobaric_workflow | ||
| description: Extracts and normalizes isobaric labeling information from an LC-MS/MS experiment. | ||
| keywords: | ||
| - OpenMS | ||
| - quantification | ||
| tools: | ||
| - IsobaricWorkflow: | ||
| description: | | ||
| Extracts and normalizes isobaric labeling information from an LC-MS/MS experiment. | ||
| homepage: https://abibuilder.cs.uni-tuebingen.de/archive/openms/Documentation/release/latest/html/TOPP_IsobaricWorkflow.html | ||
| documentation: https://abibuilder.cs.uni-tuebingen.de/archive/openms/Documentation/release/latest/html/TOPP_IsobaricWorkflow.html | ||
| - mzmls: | ||
| type: file | ||
| description: Input Spectra in mzML format | ||
| pattern: "*.mzML" | ||
| - id_files: | ||
| type: file | ||
| description: Identifications in idXML or mzIdentML format with posterior error probabilities as score type. | ||
| pattern: "*.idXML" | ||
| - expdes: | ||
| type: file | ||
| description: An experimental design file | ||
| pattern: "*.tsv" | ||
| output: | ||
| - out_mztab: | ||
| type: file | ||
| description: mzTab file with analysis results | ||
| pattern: "*.mzTab" | ||
| - out_consensusXML: | ||
| type: file | ||
| description: ConsensusXML file for visualization and further processing in OpenMS. | ||
| pattern: "*.consensusXML" | ||
| - log: | ||
| type: file | ||
| description: log file | ||
| pattern: "*.log" | ||
| - version: | ||
| type: file | ||
| description: File containing software version | ||
| pattern: "versions.yml" | ||
| authors: | ||
| - "@MaLLLiYA" |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Wrong label type source
🐞 Bug≡ CorrectnessAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools