Describe the bug
When running oktoberfest (version 0.10.0) with mokapot for rescoring (mokapot version 0.10.1.dev5+g2b1f13a) on Ubuntu 22.04.5 LTS (Python 3.11, oktoberfest conda environment), an error occurs during rescoring:
File: .../python3.11/site-packages/oktoberfest/rescore/rescore.py, line 328
psms = mokapot.read_pin(input_file)
TypeError: read_pin() missing 1 required positional argument: 'max_workers'
To Reproduce
Steps to reproduce the behavior:
- Use the following configuration file:
{
"type": "Rescoring",
"tag": "tmtpro",
"inputs": {
"search_results": "path/to/input",
"search_results_type": "Maxquant",
"spectra": "/spectra/dir",
"spectra_type": "raw"
},
"var_mods": {
"K(Lys8_Mod)": [259, 8.0141]
},
"output": "/path/to/output",
"models": {
"intensity": "Prosit_2020_intensity_TMT",
"irt": "Prosit_2020_irt_TMT"
},
"massTolerance": 20,
"unitMassTolerance": "ppm",
"prediction_server": "koina.wilhelmlab.org:443",
"ssl": true,
"thermoExe": "/opt/compomics/ThermoRawFileParser.exe",
"numThreads": 4,
"fdr_estimation_method": "mokapot",
"regressionMethod": "spline",
"allFeatures": false
}
- Run the command:
python -m oktoberfest --config_path ./issue_config.json
Expected behavior
Oktoberfest completes rescoring using mokapot without errors.
System [please complete the following information]:
- OS: Ubuntu 22.04.5 LTS
- Language Version: Python 3.11
- Virtual environment: Conda
- Oktoberfest version: 0.10.0
- Mokapot version: 0.10.1.dev5+g2b1f13a
Additional context
- The configuration file and full command used are provided above.
- Please advise if further logs or a sample input file are needed for diagnosis.
Describe the bug
When running oktoberfest (version 0.10.0) with mokapot for rescoring (mokapot version 0.10.1.dev5+g2b1f13a) on Ubuntu 22.04.5 LTS (Python 3.11, oktoberfest conda environment), an error occurs during rescoring:
To Reproduce
Steps to reproduce the behavior:
{ "type": "Rescoring", "tag": "tmtpro", "inputs": { "search_results": "path/to/input", "search_results_type": "Maxquant", "spectra": "/spectra/dir", "spectra_type": "raw" }, "var_mods": { "K(Lys8_Mod)": [259, 8.0141] }, "output": "/path/to/output", "models": { "intensity": "Prosit_2020_intensity_TMT", "irt": "Prosit_2020_irt_TMT" }, "massTolerance": 20, "unitMassTolerance": "ppm", "prediction_server": "koina.wilhelmlab.org:443", "ssl": true, "thermoExe": "/opt/compomics/ThermoRawFileParser.exe", "numThreads": 4, "fdr_estimation_method": "mokapot", "regressionMethod": "spline", "allFeatures": false }Expected behavior
Oktoberfest completes rescoring using mokapot without errors.
System [please complete the following information]:
Additional context