Skip to content

Commit 188c028

Browse files
authored
Merge pull request #208 from daichengxin/dev
update pmultiqc
2 parents e194172 + 183588f commit 188c028

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
lines changed

modules/local/openms/thirdparty/searchenginemsgf/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ process SEARCHENGINEMSGF {
7575
-min_peptide_length $params.min_peptide_length \\
7676
-max_peptide_length $params.max_peptide_length \\
7777
-isotope_error_range $params.isotope_error_range \\
78-
-enzyme ${enzyme} \\
78+
-enzyme "${enzyme}" \\
7979
-tryptic ${msgf_num_enzyme_termini} \\
8080
-precursor_mass_tolerance $meta.precursormasstolerance \\
8181
-precursor_error_units $meta.precursormasstoleranceunit \\

modules/local/pmultiqc/main.nf

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
process PMULTIQC {
22
label 'process_high'
33

4-
conda (params.enable_conda ? "conda-forge::pandas_schema conda-forge::lzstring bioconda::pmultiqc=0.0.12" : null)
4+
conda (params.enable_conda ? "conda-forge::pandas_schema conda-forge::lzstring bioconda::pmultiqc=0.0.13" : null)
55
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
6-
container "https://depot.galaxyproject.org/singularity/pmultiqc:0.0.12--pyhdfd78af_0"
6+
container "https://depot.galaxyproject.org/singularity/pmultiqc:0.0.13--pyhdfd78af_0"
77
} else {
8-
container "quay.io/biocontainers/pmultiqc:0.0.12--pyhdfd78af_0"
8+
container "quay.io/biocontainers/pmultiqc:0.0.13--pyhdfd78af_0"
99
}
1010

1111
input:
@@ -22,13 +22,16 @@ process PMULTIQC {
2222
script:
2323
def args = task.ext.args ?: ''
2424
def disable_pmultiqc = (params.enable_pmultiqc) && (params.export_mztab) ? "" : "--disable_plugin"
25+
def disable_table_plots = (params.enable_pmultiqc) && (params.skip_table_plots) ? "--disable_table" : ""
2526

2627
"""
2728
multiqc \\
2829
-f \\
2930
--config ./results/multiqc_config.yml \\
3031
${args} \\
3132
${disable_pmultiqc} \\
33+
${disable_table_plots} \\
34+
--quantification_method $params.quantification_method \\
3235
./results \\
3336
-o .
3437

nextflow.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ params {
191191
// MultiQC options
192192
multiqc_config = null
193193
multiqc_title = null
194+
skip_table_plots = false
194195
max_multiqc_email_size = '25.MB'
195196

196197
// Boilerplate options

nextflow_schema.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,6 +1182,12 @@
11821182
"fa_icon": "fas fa-cog",
11831183
"hidden": true
11841184
},
1185+
"skip_table_plots": {
1186+
"type": "boolean",
1187+
"description": "Skip protein/peptide table plots with pmultiqc for large dataset.",
1188+
"fa_icon": "fas fa-toggle-on",
1189+
"default": false
1190+
},
11851191
"tracedir": {
11861192
"type": "string",
11871193
"description": "Directory to keep pipeline Nextflow logs and reports.",

workflows/quantms.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ workflow QUANTMS {
182182
.combine(ch_pipeline_results.ifEmpty([]).combine(ch_multiqc_files.collect())
183183
.combine(ch_pmultiqc_mzmls.collect())
184184
.combine(ch_ids_pmultiqc.collect().ifEmpty([])))
185-
.combine(ch_msstats_in),
185+
.combine(ch_msstats_in.ifEmpty([])),
186186
ch_multiqc_quantms_logo
187187
)
188188
multiqc_report = SUMMARYPIPELINE.out.ch_pmultiqc_report.toList()

0 commit comments

Comments
 (0)