Skip to content

Commit

Permalink
Fix phospho algo for luciphor to also play nicely with new openms act…
Browse files Browse the repository at this point in the history
…ivation type spec (auto==hcd/hcid), default to HCD when any activation type are present
  • Loading branch information
glormph committed Aug 31, 2023
1 parent 12e4bcb commit 49a0849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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=${params.activation == 'hcd' ? '1' : '0'}
export ALGO=${['hcd', 'auto'].any { it == params.activation } ? '1' : '0'}
export MAXPEPLEN=${params.maxpeplen}
export MAXCHARGE=${params.maxcharge}
export THREAD=${task.cpus * params.threadspercore}
Expand Down

0 comments on commit 49a0849

Please sign in to comment.