Skip to content

Commit

Permalink
Merge pull request #81 from ypriverol/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ypriverol authored Mar 20, 2023
2 parents fba10ef + e0a5aae commit 20db317
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 10 deletions.
4 changes: 4 additions & 0 deletions bin/msstats_plfq.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env Rscript

# R script to run MSstats for LFQ data.
# License: Apache 2.0
# Author: Dai Chengxin, Julianus Pfeuffer, Yasset Perez-Riverol

# load the MSstats library
require(MSstats)
require(tibble)
Expand Down
5 changes: 5 additions & 0 deletions bin/msstats_tmt.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env Rscript

# R script to run MSstatsTMT for TMT data.
# License: Apache 2.0
# Author: Dai Chengxin, Julianus Pfeuffer, Yasset Perez-Riverol

require(MSstatsTMT)
require(stats)
require(gplots)
Expand Down
6 changes: 5 additions & 1 deletion bin/mzml_statistics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env python

"""
This script parse and mzml and generates a set of statistics about the file.
License: Apache 2.0
Authors: Hong Wong, Yasset Perez-Riverol
"""
import sys
from pathlib import Path

Expand Down
6 changes: 6 additions & 0 deletions bin/prepare_diann_parameters.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/env python

"""
This script converts SDRF parameters to DIA-NN parameters
License: Apache 2.0
Authors: Dai Chengxin, Yasset Perez-Riverol
"""

import re
from typing import List, Tuple

Expand Down
2 changes: 1 addition & 1 deletion modules/local/mzmlstatistics/main.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
process MZMLSTATISTICS {
tag "$meta.mzml_id"
label 'process_medium'
label 'process_single_thread'
label 'process_single'

conda "bioconda::pyopenms=2.8.0"
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
Expand Down
3 changes: 1 addition & 2 deletions modules/local/openms/consensusid/main.nf
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
process CONSENSUSID {
tag "$meta.mzml_id"
label 'process_medium'
// TODO could be easily parallelized
label 'process_single_thread'
label 'process_single'
label 'openms'

conda "bioconda::openms=2.9.1"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/openms/extractpsmfeatures/main.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
process EXTRACTPSMFEATURES {
tag "$meta.mzml_id"
label 'process_very_low'
label 'process_single_thread'
label 'process_single'
label 'openms'

conda "bioconda::openms=2.9.1"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/openms/falsediscoveryrate/main.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
process FALSEDISCOVERYRATE {
tag "$meta.mzml_id"
label 'process_low'
label 'process_single_thread'
label 'process_single'
label 'openms'

conda "bioconda::openms=2.9.1"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/openms/filemerge/main.nf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
process FILEMERGE {
label 'process_medium'
label 'process_single_thread'
label 'process_single'
label 'openms'

conda "bioconda::openms=2.9.1"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/openms/idfilter/main.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
process IDFILTER {
tag {task.ext.suffix == ".idXML" ? "$meta.mzml_id" : "$id_file.baseName"}
label 'process_very_low'
label 'process_single_thread'
label 'process_single'
label 'openms'

conda "bioconda::openms=2.9.1"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/openms/idscoreswitcher/main.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
process IDSCORESWITCHER {
tag "$meta.mzml_id"
label 'process_very_low'
label 'process_single_thread'
label 'process_single'

conda "bioconda::openms=2.9.1"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
Expand Down
2 changes: 1 addition & 1 deletion modules/local/thermorawfileparser/main.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
process THERMORAWFILEPARSER {
tag "$meta.mzml_id"
label 'process_low'
label 'process_single_thread'
label 'process_single'
label 'error_retry'

conda "conda-forge::mono bioconda::thermorawfileparser=1.3.4"
Expand Down

0 comments on commit 20db317

Please sign in to comment.