Hi Dominik,
I can think about two options but maybe more options exist (in OpenMS?):
I think both of them are open-source, QualScore I think is written in C++ and Recover in Java.
They may not produce exactly the result you want but maybe you can adapt these tools to your own need.
And finally, I have never tested these tools but I know well Alexandre Burel who supervised the Recover developments.
He is on the EuBIC Slack if you have some related questions.
Best,
David