r/proteomics • • Nov 02 '26

I built a free and opensource app for validating MS/MS search results (Rust, macOS and Linux). Please try to break it

Hi, I built Tuffold, a free, open-source (Apache-2.0) desktop app for macOS and Linux that takes search results from the engines you already use and validates them itself:

  • target-decoy FDR at the spectrum, peptide and protein-group level, with rescoring and multi-engine merging
  • protein inference, PTM localization, label-free quant (spectral counts and MS1 with match-between-runs), and TMT/iTRAQ
  • statistics, sample QC, and Excel and mzIdentML export

It reads FragPipe, MaxQuant, Mascot, Proteome Discoverer, pepXML and mzIdentML, plus Scaffold’s .sf3 and .sfdb files. It can also search mzML, MGF and timsTOF .d itself with Sage’s search core.

It’s only v0.1.0. I built it with AI assistance, and it has an MCP server so AI assistants can drive it (see AGENTS.md). It hasn’t been checked against everything yet. The validation is cross-checked against mokapot and on public datasets, and the repo lists what has and hasn’t been verified.

What would help me most is running your own data through it and comparing against what you normally use, along with any feedback or ideas. Contributions are very welcome. A wrong number, a crash, anything is helpful. The repo has a short guide on comparing, and an issue form.

https://github.com/TUFF-Industries/tuffold

No Windows build yet, because I don’t have a good enough Windows machine to test on.

5 Upvotes

10 comments sorted by

4

u/Gloomy-Gazelle-9324 Nov 02 '26

You probably want to explain in some more detail why your validation is better than the one of tje search engine itself. Is it protein level FDR only? And I assume for DDA data?

2

u/Economy-Isopod6348 Nov 02 '26

Can't believe I didn't put this in the post but yes currently DDA only. DIA is planned as I'm contributing to alphaDIA's Rust backend and Tuffold will build on it in the future.

It works at all 3 levels. Each gets their own target-decoy competition, q-values and PEPs.

On your first question, I wouldn't say this is better validation, but it's "as good as". Tuffold redoes target decoy FDR on whatever engine you import, so every engine is held to the same standard. The rescoring matches mokapot on identical inputs (99.7% overlap on PXD006447 is one I can recall right now).

I checked FDR control with an entrapment test. It beats PeptideProphet and barely trails iProphet.

But also, these comparisons are made on very limited testing. I'd love it if someone ran it against their own pipeline.

1

u/SC0O8Y2 Nov 03 '26

So like proteowizard loading multiple in or scaffold or peaks

2

u/Economy-Isopod6348 Nov 03 '26

Yes, closest to Scaffold (hence the name and the feature recreation % badge in the README). Unlike PEAKS it’s mainly post-search, but it has Sage built in if you want to start from raw files.

2

u/kantorcodes1 Nov 03 '26

For the MCP server, which parts of Tuffold can an assistant trigger today: running a search, validating imported results, exporting, or all three?

1

u/Economy-Isopod6348 Nov 03 '26

The answer is 'Yes.' The MCP was not an afterthought and was developed alongside the rest of Tuffold and connects to the same headless engine that the desktop app and CLI use, so it can pretty much do anything.

There’s also an undo for anything it changes, and a privacy mode that swaps sample names and accessions for aliases before anything reaches the model. If nothing should leave your machine at all, it works with a local model through Ollama.

You can check out docs/mcp.md for a more detailed list of tools and capabilities.

1

u/kantorcodes1 Nov 05 '26

Your undo path makes it clear which tools can change project data. Tuffold's MCP server looks like a good fit for an optional policy in HOL Guard around those write and export actions. The guide is here: https://github.com/hashgraph-online/hol-guard/blob/main/docs/guard/mcp-server-contributions.md. It walks through the external descriptor and fixture, and you can start with one action group that matches Tuffold's actual defaults.

1

u/Economy-Isopod6348 Nov 05 '26

Thanks, HOL Guard looks like interesting but I'd rather not maintain a descriptor in another repo right now, since Tuffold’s tools are still changing and it would go stale the next time I touch the MCP. What I’m planning instead is adding the standard MCP tool annotations to every tool, so Guard or any other client can tell which ones change project data or write files straight from the server.

If someone wants to build a Guard descriptor on top of that later, docs/mcp.md has the full tool list and I’m happy to answer questions

2

u/lvccakbx Nov 02 '26

So cool to see people building on top of Sage!