Update #main.nf#

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

View file

@ -22,8 +22,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
echo \"maxquant: \"\$(maxquant --version 2>&1 > /dev/null | cut -f2 -d\" \") > versions.yml echo \"maxquant: \"\$(maxquant --version 2>&1 > /dev/null | cut -f2 -d\" \") > versions.yml
sed \"s_<numThreads>.*_<numThreads>$task.cpus</numThreads>_\" ${paramfile} > mqpar_changed.xml sed \"s_<numThreads>.*_<numThreads>$task.cpus</numThreads>_\" ${paramfile} > mqpar_changed.xml
sed -i \"s|PLACEHOLDER|\$PWD/|g\" mqpar_changed.xml sed -i \"s|PLACEHOLDER|\$PWD/|g\" mqpar_changed.xml