Skip to content

Oktoberfest fails on Sage output with PTMs #376

@gritukan

Description

@gritukan

Describe the bug

Hi! When running Oktoberfest over Sage output with PTMs identified crash happens because Sage outputs results not in [UNIMOD:1234] format but just reports PTM masses in [+1234.567] format.

https://pastebin.com/nzhp7Mwy -- stacktrace
https://pastebin.com/3qWArn3X -- config
https://pastebin.com/4zH6xpgc -- first 20 PSMs identified by Sage; some of them have PTMs in the [+1234.567] format

To Reproduce

Any Sage output with PTMs will cause Oktoberfest to crash.

Expected behavior

Oktoberfest does not try to resolve modifications in this format from UNIMOD.

System [please complete the following information]:

Ubuntu 24.04.4 LTS, Python 3.12.3, oktoberfest==0.10.0

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions