The Fragmentome

(Analysis done by Adriano Rutz and Nicola Zamboni, updated on Nov. 3, 2026)

We are used to perceiving any experimental MS/MS spectrum as a list of mass-to-charge ratios and intensities, not a list of molecules. We are confident about their elemental composition, but what do we actually know about their chemical structure?

There is sporadic experimental information on specific compounds analyzed in depth by spectroscopy experts. One notable example is the study by Lara van Tetering, Jos Oomens, and colleagues (Communications Chemistry 2024), who used infrared ion spectroscopy at the FELIX free-electron laser facility together with quantum-chemical calculations to determine the true gas-phase structures of MS/MS fragment ions. When they compared those measured structures against the fragment structures drawn in major reference databases (HMDB, METLIN, and mzCloud), nearly all of the database annotations turned out to be wrong because the ions had rearranged or cyclized into new structures during fragmentation.

We wanted to look at this question on a much broader scale. We assembled a pan-library collection combining four major small-molecule MS/MS repositories: NIST2020, MassBank, MSnLib, and Enveda180. Together, they span ~280,000 unique compounds and over 5.5 million experimental tandem mass spectra acquired across different instruments, collision energies, and adducts.

Next, we adopted seven annotation and spectrum-prediction engines, including two configurations of our own model. Together, they represent the main computational strategies currently used to predict MS/MS fragmentation:

  • QCxMS, Trajectory-Based Quantum-Chemical MD: A Rust implementation of the approach outlined by Stefan Grimme and colleagues (Grimme, Angew. Chem. Int. Ed. 2013; Koopman & Grimme, J. Am. Soc. Mass Spectrom. 2021), which entirely rests on quantum-chemical principles. Specifically, it propagates direct 10 ps adiabatic Born–Oppenheimer molecular dynamics (MD) trajectories on the GFN2-xTB potential energy surface with zero empirical parameters.
  • CFM-ID 4.0, Combinatorial SMARTS + Markov Transition ML: A combinatorial SMARTS and Markov transition machine-learning framework (Wang et al., Anal. Chem. 2021) that iteratively applies hand-crafted chemical reaction templates up to depth 2–3 and scores the resulting fragmentation tree using learned transition probabilities.
  • FIORA, Single-Step Edge-Cleavage GNN: A bond-cleavage Graph Neural Network (Nowatzky et al., Nat. Commun. 2025) that applies a 6-layer GNN directly to molecular bond features to predict 1-step bond-breaking probabilities across five hydrogen-rearrangement states per direction alongside precursor survival.
  • FraGNNet, Two-Stage Subgraph DAG + GNN: A deep probabilistic graph model (Young et al., bioRxiv 2024) that generates a depth-2 recursive bond-cleavage directed acyclic graph, then encodes the parent molecule and subfragment nodes to predict probabilities on the held-out InChIKey split.
  • GLACIER, Multi-Cut Graphormer + SlotDecoder: A single-stage mechanistic Graphormer (Goldman, Wang, Coley et al., arXiv 2026; code) that uses a 6-layer Graphormer backbone with shortest-path spatial encodings and a k ≤ 3 bond-break SlotDecoder predicting 26 hydrogen-rearrangement states, evaluated zero-shot from its MassSpecGym checkpoint.
  • FlexMS, Graphormer-v2 + Nominal-Bin MLP: A modular foundation-encoder framework (Zhong et al., arXiv 2026) that pairs a pretrained 12-layer Graphormer-v2 and a metadata encoder with a bidirectional MLP predicting intensities across 1,000 nominal 1 Da mass bins, followed by post-hoc exact-mass subformula snapping.
  • QUACK: Our own quantum-chemistry-centric tool, still unpublished, which combines a 3D conformer and semi-empirical electronic structure with a microcanonical RRKM kinetic cascade extended with explicit gas-phase organic reactions such as concerted retro-Diels–Alder ring scissions, Baldwin 5/6-membered ring closures, McLafferty γ-H migrations, and many more, paired with an out-of-sample reaction-motif and molecular-fingerprint intensity prior (median = 51 peaks). We compare two presets that share the same kinetic cascade and motif prior but differ in their electronic-structure engine: QUACK turbo uses fast analytical Tight-Binding forces and localized subgraph TB-SCF ionization potentials, whereas QUACK full uses full self-consistent GFN2-xTB electronic structure across precursor and fragment states.

To see how these predictors compare on experimental data, we evaluated all of them on the same held-out split of NIST2020 compounds (99,006 spectra across 2,720 compounds and 6,239 adducts, including 42,844 protonated and deprotonated spectra; Figure 1).

Figure 1. Benchmarking eight MS/MS predictor configurations on held-out NIST2020 spectra: dual-polarity cosine and fragment coverage (Panel A), spectral density versus explained ion current across all 99,006 spectra (Panel B), and prediction throughput (Panel C).

In positive and negative ionization modes (10–50 V, Figure 1A), the neural graph models trained on spectra tend to lead on cosine similarity. : GLACIER reaches 0.645 (86.8% weighted fragment coverage), FraGNNet reaches 0.645 (76.6% coverage), and FlexMS reaches 0.544 (54.8% coverage), while QUACK full (0.468 cosine, 79.1% coverage) and QUACK turbo (0.467 cosine, 79.0% coverage) rank second only to GLACIER on [M+H]+ fragment coverage, ahead of FraGNNet (76.6%), CFM-ID (0.335 / 69.3%), FlexMS (54.8%), FIORA (0.380 / 45.3%), and QCxMS (0.207 / 39.4%). In negative mode ([M−H]−), QUACK full (77.3% coverage, 0.444 cosine) and QUACK turbo (77.2% coverage, 0.444 cosine) achieve the highest weighted fragment coverage of all eight predictors, alongside FraGNNet (75.4% coverage, 0.604 cosine), whereas GLACIER drops from 0.645 to 0.198 cosine (61.7% coverage).

The apparent low performance of GLACIER in negative mode is because we used the public version pretrained with MassSpecGym, which lacks negative data. A version trained on negative data is available to labs that have a NIST2020 license. The NIST2020 Tandem library is copyright protected, and doesn’t allow for the distribution of derivative products.

Cosine similarity is heavily dominated by the single brightest peak in a spectrum. To see how well each method explains the experimental fragment ions across all 99,006 held-out spectra (spanning all 6,239 adducts and collision energies), Figure 1B plots intensity-weighted fragment coverage against the mean number of predicted peaks per spectrum. Here the models separate into three distinct groups: on the left, the hyper-sparse predictors that tend to miss high-abundance fragments (FleeMS, FIORA, QCxMS). On the right, the combinatorial cutters that over-predict fragmentation events (CFM-ID), and in the sweet-spot physical and multi-cut methods (GLACIER, FraGNNet, QUACK), that cover well the most abundant fragments.

To test whether these trends hold outside standard reference collections, we also benchmarked all eight predictors on MultiMS2 (35,655 non-precursor CID spectra across 2,914 compounds at 20, 40, and 60 eV; Supplementary Figure 1). We included MultiMS2 because it is a newly released dataset that is rarely used in model training, and because it was acquired on a Q-TOF instrument (a SCIEX ZenoTOF 7600) rather than the Orbitrap HCD instruments that dominate NIST2020 and most public training libraries.

Supplementary Figure 1. Comparison of L2 cosine similarity and weighted fragment coverage (WtCov %) across NIST2020 and MultiMS2, split by positive (circles) and negative (diamonds) ionization polarity for standard [M+H]+ / [M−H]− adducts (Panels A–B), all adducts and collision energies (Panels C–D), and direct cross-benchmark parity (Panels E–F).

Comparing NIST2020 and MultiMS2 side by side (Supplementary Figure 1) shows that positive-mode fragment coverage transfers almost 1:1 across instrument platforms. In negative mode, however, models tuned primarily to Orbitrap HCD spectra drop below the parity line on Q-TOF CID. FraGNNet [M−H]− cosine declines from 0.604 to 0.456 (coverage from 75.4% to 63.9%) and nominal-bin FlexMS drops from 0.440 to 0.211 (coverage from 43.7% to 18.9%).

In Figure 2A, we compared the predictors across ionization regimes, high collision energies (>60 eV), and a 10-compound diagnostic panel. Above 60 eV, where the precursor is depleted and multi-step skeletal breakdown dominates, single-step FIORA drops to 16.2% coverage and 10 ps QCxMS drops to 13.8%, whereas QUACK full (68.4% coverage) and QUACK turbo (68.3% coverage) retain over 16 percentage points higher coverage than any other predictor (ahead of GLACIER at 51.9%, FlexMS at 48.0%, and FraGNNet at 48.0%). Figure 2B illustrates these differences on 10 individual compounds from the benchmark, where QUACK full and QUACK turbo reach 93.5% Best-CE coverage (0.683 cosine) and 89.0% / 89.1% Nearest-CE coverage (0.602 cosine).

Predictor Performance by Collision Energy and 10 Representative NIST2020 Compounds
Figure 2. Predictor coverage across ionization regimes and high collision energy (>60 eV, Panel A), and per-compound coverage and cosine similarity across 10 representative NIST2020 compounds (Panel B).

1. Power-Law Scaling of the Fragmentome: Chameleon Clouds vs. Thermodynamic Sinks

Before examining individual cleavage reactions, we first looked at the global diversity of the 5,568,340 annotated positive-mode fragment ions produced across all 279,057 compounds in the four libraries: how many distinct elemental formulas and 2D chemical structures actually populate the gas-phase fragmentome, and how many different structures can hide behind a single exact mass?

Figure 3. Global scaling and structural diversity of the pan-library fragmentome across 279,057 compounds and 5,568,340 annotated positive-mode fragment ions.

Across the pan-library union, the 46,511 unique parent [M+H]+ formulas expand into 142,277 unique fragment formulas and 1,744,030 canonical 2D fragment structures (Figure 3A). Both distributions follow a steep power law over five orders of magnitude: a core of 6,303 hub formulas each occur more than 100 times across the catalog, led by C4H6N+ (m/z 68.05, 111,181 occurrences), C7H7+ (m/z 91.05, 70,106 occurrences), C6H5+ (m/z 77.04, 68,757 occurrences), and C7H5O+ (m/z 105.03, 51,025 occurrences).

When we resolve each formula into its underlying 2D chemical graphs and compute its Shannon structural entropy (Figure 3B), gas-phase fragment ions separate into two opposite regimes:

  • Thermodynamic Sinks (Low Entropy, Monomorphic Attractors): Pure hydrocarbon cations at the bottom left of Figure 3B have low barriers to hydride and alkyl shifts, causing tens of thousands of unrelated parent molecules to funnel down the potential energy surface into a single ultra-stable cyclic or aromatic structure. For example, across 68,757 occurrences of C6H5+ (m/z 77.0386), 93.0% collapse into the phenyl cation (H = 0.97 bits, effective isomer number Neff = 2H = 1.95). Similarly, 75.9% of the 70,106 occurrences of C7H7+ (m/z 91.0542) converge onto the benzyl/tropylium sink (H = 2.42 bits), 88.3% of C3H5+ (m/z 41.0386) collapse into the allyl cation (H = 1.04 bits), and 78.2% of C6H7+ (m/z 79.0542) form the benzenium cation (H = 1.75 bits). For these formulas, knowing the exact mass tells you the ion’s 2D structure with high confidence, but erases nearly all memory of where substituents were attached in the parent molecule.
  • Chameleon Clouds (High Entropy, Hyper-Polymorphic Formulas): Once two to four nitrogen and oxygen heteroatoms are incorporated into medium-sized fragments (C8–C11, m/z 100–250 Da, upper right of Figure 3B), high barriers to ring interconversion lock in hundreds of distinct heterocyclic topologies (pyrazoles, triazoles, pyrimidines, oxazoles, lactams) and functional groups (acyliums, oxocarbeniums, iminiums). At a single exact mass (C9H12N3O+ at m/z 178.0975) we find 2,034 distinct canonical 2D fragment structures (H = 10.17 bits, Neff = 1,154 equiprobable isomers), where the single most common isomer accounts for just 0.89% of occurrences. Likewise, C8H11N2O+ (m/z 151.09) hides 2,005 isomers (H = 9.74 bits), and C11H13N2O+ (m/z 189.10) spans 1,930 isomers with a record H = 10.30 bits (Neff = 1,264). Even familiar diagnostic formulas conceal massive structural multiplicity: C4H6N+ (m/z 68.05) spans 1,634 distinct isomers (dominated by a 61.2% dihydropyrrolium core, H = 3.89 bits), and C7H5O+ (m/z 105.03) hides 1,541 distinct 2D structures (H = 4.99 bits, Neff = 31.7) including benzoyl oxocarbenium, linear phenyl-acylium, and hydroxy-tropylium ions.

2. How Many MS/MS Peaks Are Simple Bond Cleavages vs. Rearrangements?

After benchmarking the predictors, we returned to our central question across all 5,568,340 annotated positive-mode fragment ions in the four libraries: how often is a fragment ion formed by simply breaking one bond, and how often does the molecule rearrange?

We classified every annotated peak across the pan-library union by the minimum reaction pathway connecting the precursor structure to the fragment structure (Figure 4). We see that 60.65% of all fragment peaks (grey bars) can be explained by breaking a single acyclic bond: 33.90% are simple single-bond cleavages with a standard hydrogen transfer, and 26.75% are losses of small peripheral groups such as water, ammonia, or carbon monoxide. The remaining 39.35% of all peaks in experimental MS/MS libraries (blue bars) require breaking multiple bonds or rearranging the molecular skeleton: 22.35% involve multi-bond ring cleavages (such as retro-Diels–Alder reactions) or intramolecular cyclizations, and 17.00% are multi-step losses of several functional groups.

Distribution of Fragmentation Mechanisms Across 5.57 Million Peaks
Figure 4. Distribution of fragmentation mechanisms across 5,568,340 annotated positive-mode MS/MS peaks: single-bond cleavages (grey, 60.65%) versus multi-bond cleavages and rearrangements (blue, 39.35%).

3. Comparing Fragment Structures to Their Parent Molecules

Knowing the reaction pathway is only half the story. We also wanted to know whether the 2D chemical graph of each fragment ion is actually a piece (a subgraph) of the parent molecule, or whether atoms have reconnected to form a new connectivity that was not present in the precursor.

To test this, we ran an exact RDKit graph-isomorphism check on all 5,568,340 precursor–fragment pairs and grouped the fragment structures into three categories:

  1. Tier 1 — Exact 2D Subgraph Daughters: Both the heavy-atom connectivity and the bond orders of the fragment match a contiguous piece of the parent molecule.
  2. Tier 2 — Bond-Shifted Skeletal Daughters: The heavy atoms of the fragment still match a contiguous piece of the parent skeleton, but double or triple bonds have shifted position (for example, creating a new double bond after water loss or forming an acylium −C≡O+ group).
  3. Tier 3 — Rearranged Non-Parent Scaffolds: The heavy-atom connectivity of the fragment does not exist anywhere in the parent molecule. New bonds or new rings have formed during fragmentation.

As shown in Figure 5, only 30.63% of all fragment ions are exact 2D subgraphs of the parent molecule (Tier 1), and another 37.25% retain a parent heavy-atom skeleton with shifted multiple bonds (Tier 2). Together, 67.88% of fragment ions preserve a piece of the parent skeleton.

The remaining 32.12% of all fragment ions (1,789,237 peaks) have a heavy-atom connectivity that does not exist in the precursor molecule (Tier 3). Within this group, 24.64% (1.37 million ions) are formed by ring closure, ring contraction, or ring expansion; 4.32% (240,683 ions) arise from internal group extrusion where two non-adjacent parts of the molecule join together; and 3.16% (175,936 ions) actually contain more rings than the intact parent molecule (frings > prings).

Three-Tier Subgraph Comparison Across 5.57 Million Fragment Ions
Figure 5. Structural comparison of 5,568,340 annotated MS/MS fragment ions against their parent molecules: parent subgraphs (blue, 67.88%) versus rearranged non-parent structures (rose/crimson, 32.12%).

4. How Fragmentation Behavior Depends on Chemical Class

Next, we asked whether this 68% vs. 32% split is the same for all kinds of molecules, or whether it depends on the chemical structure of the precursor. We grouped the 279,057 compounds into 12 chemical classes and plotted the proportions of Tier 1, Tier 2, and Tier 3 fragments for each class (Figure 6), followed by a direct comparison of parent ring preservation versus new ring formation (Figure 7).

Sub-Scaffold Preservation vs. Rearrangement Across 12 Chemical Classes
Figure 6. Proportions of Tier 1 (exact subgraph), Tier 2 (bond-shifted subgraph), and Tier 3 (rearranged structure) fragments across 12 chemical classes.
Figure 7. Parent cyclic core preservation via cleavage (x-axis) versus new ring formation (frings > prings, y-axis) across 12 chemical classes.

Together, Figure 6 and Figure 7 show two opposite behaviors depending on whether the parent molecule is flexible or rigid:

  • Flexible acyclic molecules frequently cyclize into new rings: In Figure 6, linear molecules have the lowest fraction of simple subgraph fragments: only 46.4% for acyclic amines, amino acids, and polyamines, 52.6% for peptides, and 58.4% for lipids and fatty acyls. Because these chains have no rings to begin with (0% cyclic core preservation on the left side of Figure 7), when they lose water or ammonia during collision-induced dissociation, nucleophilic atoms along the chain attack the newly formed carbocation and close into 5- or 6-membered rings. As shown on the y-axis of Figure 7, 13.0% of all fragment ions from acyclic amines and amino acids, 6.2% from acyclic oxygenated metabolites, 4.6% from peptides, and 3.4% from lipids contain more rings than their parent molecule.
  • Rigid cyclic molecules preserve their core rings: At the opposite end of Figure 6 and the bottom right of Figure 7, compounds that already possess stable aromatic or polycyclic cores preserve a contiguous parent subgraph in 71% to 75% of their fragments. Steroids and triterpenoids preserve an intact piece of their cyclic core in 89.0% of fragments with 0.0% new ring formation; flavonoids, coumarins, and polyphenols preserve their cyclic core in 79.7% of fragments (0.01% new rings); and glycosides and nucleosides preserve their core in 77.0% of fragments (1.2% new rings).

5. How Well Do the Seven Predictors Capture Each Fragmentation Type?

Having mapped the experimental fragmentation patterns across the libraries, we next examined which types of fragment ions the seven computational methods succeed or fail to predict on the 2,727 held-out NIST2020 compounds (386,397 experimental peaks).

In Figure 8, we plotted the weighted peak coverage of each predictor across seven reaction classes, high collision energy (>45 V), and the rate of ± 1H/2H hydrogen-shift errors. In Figure 9, we plotted their coverage across the structural tiers (Tier 1, Tier 2, Tier 3) and specific rearrangement reactions. Several clear patterns emerge:

  1. The gap between generating subgraphs and scoring them (FraGNNet): The top row of Figure 8 (FraGNNet DAG Oracle*) shows the upper bound of FraGNNet‘s depth-2 bond-cleavage enumeration before any neural-network filtering: simply enumerating 1- and 2-bond cuts with ΔH ∈ [−4,+4] covers 82.7% of all experimental peaks (98.2% of primary neutral losses and 88.4% of ring cleavages). However, once FraGNNet‘s Stage-2 GNN scores and prunes that graph, coverage drops to 64.2% overall and 49.8% at high collision energy (>45 V).
  2. Single-bond vs. multi-bond GNNs (FIORA vs. GLACIER): Because FIORA only breaks one bond per step, it captures 50.1% of primary neutral losses in Figure 8, but drops to 24.9% on multi-bond ring cleavages and 10.6% at high collision energies. In Figure 9, FIORA captures just 2.3% of 2-bond retro-Diels–Alder peaks, whereas GLACIER (which allows up to 3 simultaneous bond cuts) reaches 86.3% on retro-Diels–Alder cleavages and 71.0% overall coverage.
  3. Why missed peaks often sit 1 or 2 Hydrogens away: The rightmost column of Figure 8 shows what happens when a predictor misses an experimental peak: for 84.8% of CFM-ID‘s missed peaks, 41.4% of GLACIER‘s missed peaks, 37.4% of QUACK‘s missed peaks, and 32.3% of FraGNNet‘s missed peaks, the model broke the right heavy-atom bonds but placed the peak at the wrong hydrogen count (± 1.008 Da or ± 2.016 Da away).
  4. Capturing rearrangements and high-energy fragments (QUACK): Because QUACK explicitly models multi-step cascades, ring closures, and retro-Diels–Alder reactions, QUACK full and QUACK turbo achieve virtually identical coverage across every reaction class in Figure 8 (67.4% and 67.3% overall, beating FraGNNet at 64.2% and trailing only GLACIER at 71.0%; 92.5% on primary neutral losses, 89.1% on radical losses, 82.5% / 82.3% on stacked neutral losses, 77.1% / 77.0% on ring RDA & extrusions, 74.4% / 74.3% on low-m/z cores, and 55.8% / 55.9% at high collision energies >45 V) and rank first across the structural categories in Figure 9: 96.5% on Tier 1 exact subgraphs, 96.2% / 96.3% on Tier 2 bond-shifted subgraphs, 94.4% / 94.2% on Tier 3 rearranged scaffolds, 93.5% on new ring formations (frings > prings), 94.7% on 2-bond retro-Diels–Alder cleavages, 94.7% on Baldwin 5/6-membered ring closures, and 97.1% / 97.2% on acylium ions.
Predictor Coverage Across Fragmentation Classes, High Collision Energy, and Hydrogen-Shift Errors
Figure 8. Intensity-weighted fragment coverage (%) across seven fragmentation categories, high collision energy (>45 V), and ± 1H/2H hydrogen-shift errors.
Predictor Coverage Across Structural Sub-Scaffold Tiers and Rearrangements
Figure 9. Predictor coverage across structural subgraph tiers (Tier 1, Tier 2, Tier 3), new ring formations, 2-bond retro-Diels–Alder cleavages, Baldwin ring closures, and acylium ions.

Let’s focus on four concrete examples from the held-out dataset that illustrate how these algorithmic differences play out on individual molecules (Figure 10):

  • 5-Hydroxydiclofenac (Figure 10A): In positive mode, this chlorinated drug loses water and chlorine to cyclize into a three-ring carbazole radical cation at m/z 231.045 (100%) and a chloro-indole cation at m/z 230.037 (97%). FraGNNet misses both peaks (0%) because its Cython graph generator does not form the new central ring. FlexMS predicts its 100% base peak at m/z 230.007—30 mDa away from the true peak—because its post-hoc formula matcher snaps the nominal bin at m/z 230 to a chlorine-free formula (C12H8NO4+) instead of the true chlorinated ion (C13H9ClNO+). In negative mode, GLACIER outputs the positive-mode peak at m/z 231.046 as its 100% base peak because its public checkpoint ignores ionization polarity. QUACK full predicts both positive-mode cyclization peaks (41% and 100%) and the negative-mode decarboxylation peak at m/z 266.014 (100%).
  • Scopoletin (Figure 10B): This methoxylated coumarin fragments via sequential loss of a methyl radical (·CH3, m/z 178.027) followed by carbon monoxide losses and ring contraction (m/z 150.031, 133.028, and 122.036). Single-step FIORA predicts the first methyl loss (100%) but misses the subsequent multi-step peaks (0–3%). In negative mode, CFM-ID misses the radical anion at m/z 176.012 and places its 100% base peak at m/z 147.009, 1 Da away from the experimental peak at m/z 148.016.
  • Theophylline and Albuterol (Figure 10C): Theophylline fragments via a 2-bond retro-Diels–Alder ring cleavage at m/z 124.051 in positive mode and m/z 122.036 in negative mode. Because breaking a ring requires cutting two bonds, FIORA predicts 0% for both peaks, whereas QUACK full, FraGNNet, and QCxMS capture them. Conversely, on Albuterol, QCxMS stops at the fast initial water-loss peak (m/z 222.149, 100%) and predicts 0% for the experimental base peak at m/z 148.076 because the secondary cleavage takes longer than its 10 ps simulation window.
  • 5-Sulfosalicylic Acid and Metanephrine (Figure 10D): For 5-sulfosalicylic acid in positive mode, CFM-ID places its 100% base peak on the cyclopropenylium ion C3H3+ at m/z 39.023, where the experiment has 0% intensity. For metanephrine in negative mode, QCxMS predicts a strong peak for the methoxide anion CH3O− at m/z 31.019 (69%), which is absent in the experimental spectrum.
Four Case Studies Comparing Experimental and Predicted Peaks
Figure 10. Four diagnostic examples from the held-out NIST2020 set comparing experimental peak intensities against model predictions.

6. How Often Do Predictors Place Their 100% Base Peak Where There Is No Experimental Signal?

Finally, we asked a simple practical question across all 42,844 held-out NIST2020 spectra: when a predictor outputs its single brightest peak (100% relative intensity), how often does the experimental spectrum have zero signal at that mass?

We plotted the percentage of spectra where a predictor’s 100% base peak has 0.0% experimental intensity within ± 20 ppm (Figure 11A), separated into positive mode (blue) and negative mode (rose). Figure 11B breaks down what actually happens in those top-1 predictions across all 42,844 spectra. We observe that:

  • In positive mode, the models with lowest phantom base-peak rates are FraGNNet (10.7%), GLACIER (15.6%), FlexMS (20.9%), QUACK full (28.6%), and QUACK turbo (28.7%), compared to 42.2% for FIORA, 50.4% for CFM-ID, and 62.1% for QCxMS.
  • In negative mode, error rates rise sharply for several tools (Figure 11A, rose bars): GLACIER places its 100% base peak at an empty m/z in 66.8% of negative-mode spectra (mostly off by +2H because its public checkpoint predicts positive-mode protonated ions) and QCxMS rises to 77.2%, whereas FraGNNet (16.1%), FlexMS (33.8%), QUACK full (38.0%), QUACK turbo (38.2%), and FIORA (40.6%) remain much more consistent.
  • Across all 42,844 spectra (Figure 11B, green bars), exact top-1 base-peak matches reach 46.1% for FraGNNet, 38.3% for FlexMS, 33.9% for GLACIER, 31.8% for QUACK full (48.3% in the experimental top-3), and 31.7% for QUACK turbo (48.2% in top-3), ahead of FIORA (27.2%), QCxMS (10.6%), and CFM-ID (8.1%).
  • As shown by the amber and violet segments in Figure 11B, a large share of wrong base peaks are not random cleavages: 3.2% to 16.7% of all top-1 predictions (6.4% for QUACK full and QUACK turbo) land within ± 1H or ± 2H of a real experimental peak (amber), and for FlexMS, 2.4% of its top-1 base peaks land 0.06–0.48 Da away from a real peak (violet) because of nominal-mass bin snapping on heteroatom-containing fragments.
Audit of Predicted 100% Base Peaks Across 42,844 Held-Out NIST2020 Spectra
Figure 11. Audit of predicted 100% base peaks across 42,844 held-out NIST2020 spectra: phantom base-peak rates by polarity (Panel A) and breakdown into exact hits, ± 1H/2H shifts, mass-defect shifts, and absent cleavages (Panel B).

7. A Spectroscopic Ground-Truth Test: Running the van Tetering et al. (2024) Examples Across the Predictors

At the beginning of this post, we mentioned the study by Lara van Tetering, Jos Oomens, and colleagues (Communications Chemistry 2024), which used infrared ion spectroscopy (IRIS) at the FELIX free-electron laser facility to determine the gas-phase structures of MS/MS fragment ions from five linear amino acid and urea-cycle metabolites (α-aminoadipic acid, trans-urocanic acid, L-citrulline, L-homocitrulline, and L-arginine) alongside three cyclic reference standards (L-lysine, L-pipecolic acid, and L-proline).

Across all 34 precursor–fragment transitions characterized in that work (11 linear ions, 17 cyclized lactams and bicyclic ions, and 6 cyclic iminium ions), we ran each precursor through the evaluated computational engines to see which peaks and which gas-phase structures each method predicts (Figure 12).

Figure 12. Evaluation of the predictors and reference databases on the 34 FELIX IRIS-verified fragment transitions from van Tetering et al. (2024): peak m/z recall and 2D structure accuracy (Panel A) and ion-by-ion breakdown (Panel B).

Comparing these methods requires distinguishing what each tool is designed to output (Figure 12A–B):

  • Peak m/z recall across the 34 transitions: The graph-cleavage and quantum-chemical models detect nearly all of the experimental fragment masses within ± 25 mDa across 10–50 V: GLACIER (33/34, 97.1%), QUACK turbo (32/34, 94.1%), QUACK full (32/34, 94.1%), and FraGNNet (32/34, 94.1%) are close to perfection. QCxMS detects 29/34 (85.3%), and single-step FIORA detects 20/34 (58.8%). FlexMS matches 7/34 peaks (20.6%) within ± 25 mDa and 21/34 (61.8%) at the nominal 1 Da bin level; on heteroatom-rich amino acid fragments, its post-hoc subformula assignment often snaps nominal bins to neighboring formulas that differ by 12 to 49 mDa (for example, snapping m/z 144.0655 to 144.0536 on α-aminoadipic acid and m/z 70.0651 to 70.0225 on L-citrulline).
  • Subgraph/formula outputs vs. explicit 2D chemical structures: Neural graph-cleavage models (FIORA, FraGNNet, and GLACIER) and nominal-bin MLPs (FlexMS) are trained to predict peak m/z values and intensities rather than rearranged 2D molecular graphs. When a flexible chain loses H2O or NH3 and closes into a new ring, these models accurately predict the resulting mass because the elemental loss (ΔH) is identical whether the product remains open-chain or cyclizes (represented by the sky-blue circles in Figure 12B), but their internal graph representations remain acyclic subgraphs of the parent molecule.
  • Combinatorial SMARTS rules and reference databases: Rule-based CFM-ID and the database annotations audited by van Tetering et al. (HMDB, METLIN, and mzCloud) output explicit 2D fragment structures. On the 30 main metabolite transitions, these resources annotate 53% to 80% of the peaks, and their proposed 2D structures match the FELIX IRIS ground truth on 20.0% to 33.3% of the transitions. They generally assign the correct structure when the fragment remains linear (such as m/z 159.0764 in L-citrulline or m/z 158.0924 in L-arginine) or retains an existing parent ring (such as m/z 95.0604 and m/z 93.0447 in trans-urocanic acid), whereas on transitions where an acyclic chain closes into a new lactam or bicyclic ring, acyclic cleavage rules produce high-energy linear ketenes or cumulenes (crosses in Figure 12B).
  • Physics-based reaction cascades and molecular dynamics: Because QUACK and QCxMS explicitly allow intramolecular nucleophilic ring closures and hydrogen rearrangements, they output rearranged 2D structures directly. Across the 34 transitions, QCxMS matches the FELIX IRIS structure in 26/34 cases (76.5%), missing mainly the low-mass cyclic iminium ions (m/z 70.0651 and 84.0808) that require longer multi-step reaction times than its 10 ps MD window. Both QUACK turbo and QUACK full match the exact FELIX IRIS 2D structure as their top-ranked structure in 30/34 transitions (88.2%, or 30/32 = 93.8% of detected peaks), and 100% (34/34) within their top-2 ranked structures. The only two detected peaks where QUACK ranks the cyclic isomer second (Figure 12B) are the m/z 70.0651 (C4H8N+) transitions from linear L-citrulline and L-arginine, where the acyclic iminium is ranked first and cyclic 1-pyrroline is ranked second.

Conclusion

Looking across 5.5 million experimental peaks and seven prediction tools, three simple takeaways stand out:

  1. Fragment ions are frequently not simple pieces of the parent molecule. Nearly 40% of all peaks in MS/MS libraries require multi-bond cleavage or rearrangement, and 32.1% have a rearranged 2D connectivity that does not exist anywhere in the parent structure, especially in flexible linear molecules like amino acids, polyamines, peptides, and lipids, which readily cyclize into new rings in the gas phase.
  2. Every predictor paradigm has a clear trade-off. Nominal-bin and 1-step GNN models (FlexMS, FIORA) achieve high cosine scores and high precision by predicting only a few bright peaks, but miss many fragments at high collision energies or in multi-bond ring cleavages. Multi-cut graph models (FraGNNet, GLACIER) and combinatorial SMARTS (CFM-ID) recover many more fragments, but often struggle with exact hydrogen counts (± 1H/2H shifts) or negative-mode spectra.

This Post Has 7 Comments

  1. jean-marie galano

    Is BOP! the actual engine used to assign the 5.57 million fragment structures in your Fragmentome study? If so, how were the structural assignment probabilities calibrated against independently established fragment structures, rather than mass-to-charge matches alone?

    1. Nicola Zamboni

      What are “independently established fragment structures”?
      If you mean structures proposed by other tools, we did the analysis but didn’t include them. BOP is an older version of QUACK – a hybrid between full and turbo. BOP never saw any spectrum.

      1. jeangalanod01dfead7d

        Thanks, Nicola. By “independently established fragment structures”, I mean structures supported by orthogonal experimental evidence, such as gas-phase IR ion spectroscopy, rather than assignments proposed by other prediction tools.I noticed your benchmark using the 34 IRIS-validated transitions from van Tetering et al. — exactly the type of validation I had in mind!My remaining question concerns the extrapolation to 5.57 million fragments. Were the structural probabilities calibrated against such experimental ground truth? In particular, how confident can we be that the reported 32.1% of rearranged structures reflects actual gas-phase chemistry rather than model-dependent structural assignments?

        1. Nicola

          The short answer in no, it wasn’t testen on a large scale, because there isn’t such data at large scale. The van Tetering et al is a rare exception. Having said that, if you know of such data, let us know!

  2. Runzhong Wang

    Nice & interesting analysis! Just one comment on GLACIER’s negative mode performance: if you’re using the pretrained MassSpecGym weights, it never sees [M-H]- spectra during training, so the poor performance is expected. NIST-trained models are offered for groups with NIST licenses, and it supports [M-H]-. Happy to provide it for further analysis if you’re open to it

    1. Nicola Zamboni

      Yes, I know. We were too lazy to ask. I added a note. I hope it’s fine for you.

      1. Runzhong Wang

        Looks good, thanks! – Runzhong

Leave your comment:

This site uses Akismet to reduce spam. Learn how your comment data is processed.