diff --git a/ms2rescore/rescoring_engines/percolator.py b/ms2rescore/rescoring_engines/percolator.py index 9952aed..192950b 100644 --- a/ms2rescore/rescoring_engines/percolator.py +++ b/ms2rescore/rescoring_engines/percolator.py @@ -88,7 +88,7 @@ def rescore( "decoy-results-proteins": output_file_root + ".percolator.decoy.proteins.pout", "weights": output_file_root + ".percolator.weights.tsv", "verbose": LOG_LEVEL_MAP[log_level], - "num-threads": processes, + "num-threads": min(processes, 128), # Higher values not supported by Percolator "post-processing-tdc": True, } if percolator_kwargs: