Update main.nf

This commit is contained in:
Veit Schwämmle 2022-02-03 12:45:21 +01:00 committed by GitHub
parent ffdd7059b1
commit 273d44f1f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
process MAXQUANT_LFQ { process MAXQUANT_LFQ {
tag "$meta.id" tag "$meta.id"
label 'process_long' label 'process_long'
conda (params.enable_conda ? "bioconda::maxquant=2.0.3.0" : null) conda (params.enable_conda ? "bioconda::maxquant=2.0.3.0=py310hdfd78af_1" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) { if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/maxquant:2.0.3.0--py310hdfd78af_1" container "https://depot.galaxyproject.org/singularity/maxquant:2.0.3.0--py310hdfd78af_1"
} else { } else {
@ -21,7 +21,6 @@ process MAXQUANT_LFQ {
def prefix = task.ext.prefix ?: "${meta.id}" def prefix = task.ext.prefix ?: "${meta.id}"
""" """
export PATH=/usr/local/lib/dotnet:/usr/local/lib/dotnet/tools:/opt/conda/envs/nf-core-maxquant/bin:/opt/conda/envs/nf-core-maxquant/lib/dotnet/tools:/opt/conda/envs/nf-core-maxquant/lib/dotnet:\$PATH
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":
maxquant: \$(maxquant --version 2>&1 > /dev/null | cut -f2 -d\" \") maxquant: \$(maxquant --version 2>&1 > /dev/null | cut -f2 -d\" \")