Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/fix_linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Use the @nf-core-bot token to check out so we can push later
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
token: ${{ secrets.nf_core_bot_auth_token }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

- name: Set up Python 3.14
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
Expand All @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out pipeline code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

- name: Install Nextflow
uses: nf-core/setup-nextflow@v2
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

- name: Upload linting log file artifact
if: ${{ always() }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: linting-logs
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/template-version-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out pipeline code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
ref: ${{ github.event.pull_request.head.sha }}

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ null/

#Ignore cursor AI rules
.cursor/rules/codacy.mdc
.codacy/
2 changes: 1 addition & 1 deletion .nf-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ lint:
modules_config: false
multiqc_config: false
nextflow_config: false
nf_core_version: 3.4.1
nf_core_version: 3.5.1
repository_type: pipeline
template:
author: Yasset Perez-Riverol
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ testing*
bin/
.nf-test/
ro-crate-metadata.json
modules/nf-core/
subworkflows/nf-core/
8 changes: 4 additions & 4 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"nf-core": {
"custom/dumpsoftwareversions": {
"branch": "master",
"git_sha": "41dfa3f7c0ffabb96a6a813fe321c6d1cc5b6e46",
"git_sha": "e753770db613ce014b3c4bc94f6cba443427b726",
"installed_by": ["modules"]
},
"multiqc": {
"branch": "master",
"git_sha": "e10b76ca0c66213581bec2833e30d31f239dec0b",
"git_sha": "8deffd6a402233ebf905c66dbf804bd4c2637946",
"installed_by": ["modules"]
}
}
Expand All @@ -26,12 +26,12 @@
},
"utils_nfcore_pipeline": {
"branch": "master",
"git_sha": "05954dab2ff481bcb999f24455da29a5828af08d",
"git_sha": "271e7fc14eb1320364416d996fb077421f3faed2",
"installed_by": ["subworkflows"]
},
"utils_nfschema_plugin": {
"branch": "master",
"git_sha": "4b406a74dc0449c0401ed87d5bfff4252fd277fd",
"git_sha": "e753770db613ce014b3c4bc94f6cba443427b726",
"installed_by": ["subworkflows"]
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/local/diann/convert_results/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ process CONVERT_RESULTS {
output:
path "*msstats_in.csv", emit: out_msstats
path "*triqler_in.tsv", emit: out_triqler
path "*.mzTab", emit: out_mztab
path "*.mzTab", optional: true, emit: out_mztab
path "*.log", emit: log
path "versions.yml", emit: versions

Expand Down
2 changes: 2 additions & 0 deletions modules/local/pmultiqc/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ process PMULTIQC {
def disable_pmultiqc = (params.enable_pmultiqc) && (params.export_mztab) ? "--quantms_plugin" : ""
def disable_table_plots = (params.enable_pmultiqc) && (params.skip_table_plots) ? "--disable_table" : ""
def disable_idxml_index = (params.enable_pmultiqc) && (params.pmultiqc_idxml_skip) ? "--ignored_idxml" : ""
def contaminant_affix = params.contaminant_string ? "--contaminant_affix ${params.contaminant_string}" : ""

"""
set -x
Expand All @@ -37,6 +38,7 @@ process PMULTIQC {
${args} \\
${disable_table_plots} \\
${disable_idxml_index} \\
${contaminant_affix} \\
--quantification_method $params.quantification_method \\
./results \\
-o .
Expand Down
2 changes: 1 addition & 1 deletion modules/local/preprocess_expdesign/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ process PREPROCESS_EXPDESIGN {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
sdrf-pipelines: \$(parse_sdrf --version 2>&1 | awk -F ' ' '{print \$2}')
sdrf-pipelines: \$(parse_sdrf --version 2>/dev/null | awk -F ' ' '{print \$2}')
END_VERSIONS
"""
}
6 changes: 3 additions & 3 deletions modules/local/sdrf_parsing/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ process SDRF_PARSING {
label 'process_tiny'

container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/quantms-utils:0.0.23--pyh7e72e81_0' :
'biocontainers/quantms-utils:0.0.23--pyh7e72e81_0' }"
'https://depot.galaxyproject.org/singularity/sdrf-pipelines:0.0.33--pyhdfd78af_0' :
'biocontainers/sdrf-pipelines:0.0.33--pyhdfd78af_0' }"

input:
path sdrf
Expand Down Expand Up @@ -39,7 +39,7 @@ process SDRF_PARSING {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
sdrf-pipelines: \$(parse_sdrf --version 2>&1 | awk -F ' ' '{print \$2}')
sdrf-pipelines: \$(parse_sdrf --version 2>/dev/null | awk -F ' ' '{print \$2}')
END_VERSIONS
"""
}
2 changes: 1 addition & 1 deletion modules/local/utils/extract_sample/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ process GET_SAMPLE {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
sdrf-pipelines: \$(parse_sdrf --version 2>&1 | awk -F ' ' '{print \$2}')
sdrf-pipelines: \$(parse_sdrf --version 2>/dev/null | awk -F ' ' '{print \$2}')
END_VERSIONS
"""
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/multiqc/environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 17 additions & 16 deletions modules/nf-core/multiqc/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions modules/nf-core/multiqc/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions modules/nf-core/multiqc/tests/custom_prefix.config

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions modules/nf-core/multiqc/tests/main.nf.test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions modules/nf-core/multiqc/tests/main.nf.test.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ params {
random_preanalysis = false
random_preanalysis_seed = 42
empirical_assembly_ms_n = 200
enable_diann_mztab = true
enable_diann_mztab = false


// MSstats general options
Expand Down Expand Up @@ -235,6 +235,7 @@ params {
// pmultiqc options
enable_pmultiqc = true
pmultiqc_idxml_skip = true
contaminant_string = 'CONT'

// MultiQC options
multiqc_config = null
Expand Down
7 changes: 6 additions & 1 deletion nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@
"enable_diann_mztab": {
"type": "boolean",
"description": "Export the DIA-NN and DIA results to mzTab",
"default": true,
"default": false,
"fa_icon": "far fa-check-square"
}
},
Expand Down Expand Up @@ -1295,6 +1295,11 @@
"description": "Skip idXML files (do not generate search engine scores) in pmultiqc report? default: 'true'",
"fa_icon": "fas fa-toggle-on",
"default": true
},
"contaminant_string": {
"type": "string",
"description": "Contaminant affix string for pmultiqc report. This parameter maps to --contaminant_affix in pmultiqc. default: 'CONT'",
"default": "CONT"
}
},
"fa_icon": "fas fa-file-medical-alt"
Expand Down
1 change: 1 addition & 0 deletions subworkflows/local/utils_nfcore_quantms_pipeline/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/

// Plugin function from [email protected] (version specified in nextflow.config)
include { paramsSummaryMap } from 'plugin/nf-schema'
include { completionEmail } from '../../nf-core/utils_nfcore_pipeline'
include { completionSummary } from '../../nf-core/utils_nfcore_pipeline'
Expand Down
Loading