adduct_mass
Converts between observed ESI precursor m/z and neutral monoisotopic mass (Da) for standard positive/negative adducts, with optional ppm mass error against a reference mass.
- 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
r0001caffeine [M+H]+ from neutral mass 194.080376 Da -> m/z 195.087652passed
precursor_mz195.088 ± 1e-05195.088locked4.7 % of the tolerance usedcharge= 11lockedexact matchr0002aspirin [M-H]- from m/z 179.034982 -> neutral mass 180.042259 Dapassed
neutral_mass_Da180.042 ± 1e-05180.042locked5.3 % of the tolerance usedcharge= -1-1lockedexact matchppm_error0 ± 0.1-0.00296252locked3 % of the tolerance usedr0003caffeine [M+Na]+ -> m/z 217.069597passed
precursor_mz217.07 ± 1e-05217.07locked3 % of the tolerance used
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
| Name | Unit | Default | Meaning |
|---|---|---|---|
adduct | [M+H]+ | ESI adduct ion string, e.g. [M+H]+, [M+Na]+, [M+K]+, [M+NH4]+, [M-H]-, [M+Cl]-, [M+FA-H]-, [2M+H]+, [M+2H]2+. | |
precursor_mz | 1 | Observed precursor m/z (provide this OR neutral_mass). | |
neutral_mass | Da | Neutral monoisotopic mass in Da (provide this OR precursor_mz). | |
reference_mass | Da | Optional theoretical neutral mass (Da) to compute ppm error. |
Readings
| Name | Unit | Meaning |
|---|---|---|
precursor_mz | 1 | |
neutral_mass_Da | Da | |
mass_shift_Da | Da | |
charge | 1 | |
ppm_error | 1 |
Try the call
Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.