Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Building a Peptide Monoisotopic and Average Mass Calculator in Python

Описание и применение

Создан скрипт на Python для расчёта моноизотопной и средней масс пептидов, использующий официальные источники атомных масс и проверенный на открытом пакете.

Задача

Synthetic peptide users need accurate mass predictions for mass spectrometry, but manual calculations are error‑prone.

Результат

The script accurately reproduces peptide masses, demonstrating the difference between monoisotopic and average masses and providing a reliable tool for researchers.

Рабочий процесс

  • Define monoisotopic, average, and proton masses from NIST and IUPAC sources.
  • Store each amino acid residue as an elemental formula (C,H,N,O,S) minus H₂O.
  • Sum residue formulas for the peptide, add one H₂O for termini.
  • Calculate monoisotopic and average masses by multiplying element counts by their masses and summing.
  • Divide by charge to obtain m/z.
  • Compare results with an external library for validation.

Доказательства

The math is simple: add up the residues, add one water, and divide by the charge.

Источник

I used two primary sources and opened both to check the values: Monoisotopic masses: NIST, ... Average masses: IUPAC CIAAW... Proton mass: NIST CODATA...

Источник

Rather than hard‑coding residue masses, I store each residue as an elemental formula.

Источник

  • Дата записи: 2026-10-14T19:56:02.947Z