-
Notifications
You must be signed in to change notification settings - Fork 51
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
Draft
MaLLLiYA
wants to merge
6
commits into
bigbio:dev
Choose a base branch
from
MaLLLiYA:isobaric_workflow
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 2 commits
Commits
Show all changes
6 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 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| 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 mzml_sorted = mzmls.collect().sort{ a, b -> a.name <=> b.name} | ||
| def id_sorted = id_files.collect().sort{ a, b -> a.name <=> b.name} | ||
|
|
||
| """ | ||
| IsobaricWorkflow \\ | ||
| -threads ${task.cpus} \\ | ||
| -in ${mzml_sorted.join(' ')} \\ | ||
| -in_id ${id_sorted.join(' ')} \\ | ||
| -exp_design ${expdes} \\ | ||
| -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} \\ | ||
| -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
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.