oktoberfest.re.rescore_with_percolator

oktoberfest.re.rescore_with_percolator(input_file, output_folder=None, num_threads=3, test_fdr=0.01, train_fdr=0.01, xl=False)

Rescore using percolator.

The function takes an input file location, as well as an output folder location for percolator outputs and executes percolator with additional optional parameters.

Parameters:
  • input_file (str | Path) – Path to percolator tab file

  • output_folder (str | Path | None) – An optional output folder for all percolator files, default is the parent directory of the input_file

  • num_threads (int) – The number of threads used in parallel for percolator

  • test_fdr (float) – the fdr cutoff for the test set

  • train_fdr (float) – the fdr cutoff for the train set

  • xl (bool) – crosslinked or linear peptide

Raises:

FileNotFoundError – if the input file does not exist