Invntr
Source

All instruments

peptide_fragments

Peptide fragment ions for tandem MS: a, b, c, x, y, z and z+1 series m/z at chosen charges, built from element monoisotopic masses, with fixed and variable modifications (Da or formula), precursor m/z, and matching of an observed peak list within a ppm window with bond coverage.

Field
Mass spectrometry
Version
0.1.0
Runs as
Compiled (Rust)
Typical run
0.05 s

Compiled from source: run sh packs/install.sh once before admitting it.

Known answers it must pass

Admission replaypeptide_fragments 0.1.0 · files 6ac09ef6d88a…6e09
  1. r0001Gly b1 = C2H3NO residue + proton, closed form from AME2020 element masses + CODATA 2018 proton (58.028740; textbook 58.0287); y1 of Ala = protonated alanine C3H8NO2+ (90.054955; textbook 90.0550); rel 1e-9, float sums onlypassed

    series_mz.b.0{"value": 58.028740187311, "rel_tol": 1e-09}
    series_mz.y.0{"value": 90.05495493580099, "rel_tol": 1e-09}
    constants.water_Da{"value": 18.0105646837, "rel_tol": 1e-09}
    formula_unmodified= C5H10N2O3C5H10N2O3lockedexact match
  2. r0002PEPTIDE C34H53N7O15: textbook [M+H]+ 800.3672, y1 148.0604, b2 227.1026, y2 263.0874 (4 decimals, abs 5e-5); M and 2+ m/z closed form from element masses (rel 1e-9)passed

    mh_mz800.367 ± 5e-05800.367locked81 % of the tolerance used
    series_mz.y.0{"value": 148.0604, "abs_tol": 5e-05}
    series_mz.b.1{"value": 227.1026, "abs_tol": 5e-05}
    series_mz.y.1{"value": 263.0874, "abs_tol": 5e-05}
    neutral_mass_Da799.36 ± 8e-07799.36lockedunder 0.01 % of the tolerance used
    precursor_mz400.687 ± 4e-07400.687lockedunder 0.01 % of the tolerance used
    formula_unmodified= C34H53N7O15C34H53N7O15lockedexact match
    complement_residual_max_Da≤ 1e-092.27374e-13lockedinside the range
  3. r0003a/c/x/z/z+1 offsets (Roepstorff-Fohlman/Biemann), closed form for GA: a1 = Gly immonium CH4N+ 30.033826, c1 75.055289, x1 = y1+CO-2H 116.034219, z1 = y1-NH3 73.028406, z+1 = z1+H 74.036231; rel 1e-9passed

    series_mz.a.0{"value": 30.033825567741, "rel_tol": 1e-09}
    series_mz.c.0{"value": 75.055289288431, "rel_tol": 1e-09}
    series_mz.x.0{"value": 116.03421949091098, "rel_tol": 1e-09}
    series_mz.z.0{"value": 73.028405834681, "rel_tol": 1e-09}
    series_mz.zdot.0{"value": 74.036230866911, "rel_tol": 1e-09}
  4. r0004modifications, closed form by composition: ACDK with fixed carbamidomethyl C (+C2H3NO) = C18H32N6O8S, [M+H]+ 493.207510 (z=1 so precursor m/z equals it); rel 1e-9passed

    mh_mz493.208 ± 4.9e-07493.208lockedunder 0.01 % of the tolerance used
    precursor_mz493.208 ± 4.9e-07493.208lockedunder 0.01 % of the tolerance used
    modified= truetruelockedexact match
  5. r0005variable phospho on S1 of SAK (+HPO3), closed form C12H25N4O8P [M+H]+ 385.148277; rel 1e-9passed

    mh_mz385.148 ± 3.9e-07385.148lockedunder 0.01 % of the tolerance used
  6. r0006doubly charged fragment, closed form: PEPTIDE y2(2+) = (D + E + H2O + 2 proton)/2 = 132.047327; rel 1e-9passed

    ions.3.mz{"value": 132.047326865156, "rel_tol": 1e-09}
    ions.3.name= y2(2+)misseddiffers
  7. r0007matching, exact by construction: PEPTIDE peaks at b2 +10 ppm, y1 +10, y2 -10, y3 +30 (outside 20 ppm), 500 (decoy) -> 3 of 5 peaks, bonds 2,5,6 of 6 (coverage 0.5), mean 10/3 ppm, rms 10 ppm, intensity 200/250; ppm abs 1e-6passed

    peaks_matched33locked
    peaks_explained_fraction0.6 ± 6e-130.6lockedunder 0.01 % of the tolerance used
    bonds_covered33locked
    sequence_coverage0.5 ± 5e-130.5lockedunder 0.01 % of the tolerance used
    mean_error_ppm3.33333 ± 1e-063.33333lockedunder 0.01 % of the tolerance used
    rms_error_ppm10 ± 1e-0610lockedunder 0.01 % of the tolerance used
    max_abs_error_ppm10 ± 1e-0610lockedunder 0.01 % of the tolerance used
    intensity_explained_fraction0.8 ± 8e-130.8lockedunder 0.01 % of the tolerance used
    ladder= P.E|P.T.I|D|EP.E|P.T.I|D|Elockedexact match
7 of 7 cases passed · sandbox macos-seatbeltrecorded from the kernel in a fresh lab

Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.

Inputs

NameUnitDefaultMeaning
sequencePEPTIDEOne-letter residue codes (upper case, 2 to 500). A modification goes in brackets after its residue: PEPM[+15.994915]K or PEPS[HPO3]K; N-terminal: [+42.010565]-PEPK; C-terminal: PEPK-[-0.984016].
ion_types["b", "y"]Fragment series. z is y - NH3, zdot (z+1, the z radical of ECD/ETD) is z + H.
charges1[1]Fragment charge states.
precursor_charge12
fixed_mods{}Applied to every site: {"C": "C2H3NO"} (carbamidomethyl), {"N-term": 42.010565}. Values are Da or a formula with optional sign.
variable_mods[]Mods at one site: [{"position": 3, "delta_Da": 79.966331}] or [{"position": "N-term", "formula": "C2H2O"}]. Positions run 1..n.
tolerance_ppm20Match window, |observed - theory| / theory.
observed_mz1[]Observed centroid m/z (Th = Da per elementary charge). Empty: no matching.
observed_intensity1[]One intensity per observed peak (optional).
precursor_observed_mz1Measured precursor m/z (Th), for its ppm error. Optional.

Readings

NameUnitMeaning
sequence1
length1
formula_unmodified1Hill-order formula of the unmodified neutral peptide.
residue_masses_DaDa
n_term_delta_DaDa
c_term_delta_DaDa
neutral_mass_DaDaMonoisotopic neutral mass M.
mh_mz1[M+H]+ m/z in Th.
precursor_charge1
precursor_mz1(M + z proton)/z in Th.
precursor_error_ppmparts per million (no kernel unit for ppm, left undeclared)
constants
series_mzPer series, singly charged m/z of ions 1..n-1 in Th.
ions
ions_total1
complement_residual_max_DaDamax |b_i + y_(n-i) - ([M+H]+ + proton)|; zero by construction, a check on the two opposite sums.
tolerance_ppmparts per million (no kernel unit for ppm, left undeclared)
series_coverage
peaks
ions_matched1
peaks_total1
peaks_matched1
peaks_explained_fraction1
intensity_explained_fraction1
bonds_covered1
bonds_total1
sequence_coverage1Backbone bonds with a matched fragment on either side, over n-1.
mean_error_ppmparts per million (no kernel unit for ppm, left undeclared)
rms_error_ppmparts per million (no kernel unit for ppm, left undeclared)
max_abs_error_ppmparts per million (no kernel unit for ppm, left undeclared)
ladder1Sequence with | at covered bonds and . at uncovered ones.

Try the call

Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.

Terminal
MCP call