From 75c37eedb41bd6f6ce9954ef8a565ad37c1f0233 Mon Sep 17 00:00:00 2001 From: Chengxin Dai <37200167+daichengxin@users.noreply.github.com> Date: Thu, 18 Jun 2026 16:35:23 +0800 Subject: [PATCH] Update main.nf --- modules/bigbio/onsite/main.nf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bigbio/onsite/main.nf b/modules/bigbio/onsite/main.nf index 9fb4e65..0b0f55c 100644 --- a/modules/bigbio/onsite/main.nf +++ b/modules/bigbio/onsite/main.nf @@ -72,8 +72,8 @@ process ONSITE { fragment_unit = params.onsite_fragment_error_units ?: 'Da' def fragment_method = params.onsite_fragment_method ?: 'CID' def min_mz = params.onsite_min_mz ?: '150.0' - def max_charge = params.onsite_max_charge_state ?: '5' - def max_peptide_len = params.onsite_max_peptide_length ?: '40' + def max_charge = params.max_precursor_charge ?: '5' + def max_peptide_len = params.max_peptide_length ?: '40' def max_num_perm = params.onsite_max_num_perm ?: '16384' def modeling_threshold = params.onsite_modeling_score_threshold ?: '0.95' def scoring_threshold = params.onsite_scoring_threshold ?: '0.0'