From c973989402d592b2996b391397704a7c209167ca Mon Sep 17 00:00:00 2001 From: Jorrit Boekel Date: Wed, 30 Aug 2023 15:40:17 +0200 Subject: [PATCH] Default luciphor to HCD even when mixed activation is used (e.g. CID plus HCD), this was missing in previous commit --- main.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.nf b/main.nf index f472f7f..4eeef04 100644 --- a/main.nf +++ b/main.nf @@ -1122,7 +1122,7 @@ process luciphorPTMLocalizationScoring { msstitch split -i "${allpsms}" --splitcol \$(head -n1 "${allpsms}" | tr '\t' '\n' | grep -n ^TD\$ | cut -f 1 -d':') export MZML_PATH=\$(pwd) export MINPSMS=${params.minpsms_luciphor} - export ALGO=${['hcd', 'auto'].any { it == params.activation } ? '1' : '0'} + export ALGO=${['hcd', 'auto', 'any'].any { it == params.activation } ? '1' : '0'} export MAXPEPLEN=${params.maxpeplen} export MAXCHARGE=${params.maxcharge} export THREAD=${task.cpus * params.threadspercore}