Skip to content

wip(mscore): peptide fragment-ion chemistry — neutral losses, immonium + internal ions#413

Draft
theGreatHerrLebert wants to merge 1 commit into
mainfrom
wip/imspy-fragment-ions
Draft

wip(mscore): peptide fragment-ion chemistry — neutral losses, immonium + internal ions#413
theGreatHerrLebert wants to merge 1 commit into
mainfrom
wip/imspy-fragment-ions

Conversation

@theGreatHerrLebert

Copy link
Copy Markdown
Owner

Draft / WIP — opening for visibility + tracking; not finished or tested yet.

Adds peptide fragment-ion chemistry (per TO_IMSPY_FRAGMENT_IONS plan):

  • NeutralLoss (H₂O / NH₃ / H₃PO₄) + calculate_mono_isotopic_product_ion_spectrum_with_losses
  • immonium ions (ImmoniumIon, calculate_immonium_ions / _spectrum)
  • internal ions (calculate_internal_ions / _spectrum)
  • PyO3 bindings in imspy_connector/src/py_peptide.rs

~502 lines across mscore/src/data/peptide.rs, mscore/src/algorithm/peptide.rs,
imspy_connector/src/py_peptide.rs.

TODO before ready: finish + unit-test the loss/immonium/internal-ion math, wire into the
fragment predictor path, parity-check against a reference. (Likely to converge with
feat/peptide-property-ng.)

…m + internal ions

Snapshot of uncommitted WIP from the working tree (TO_IMSPY_FRAGMENT_IONS plan): NeutralLoss
(H2O/NH3/H3PO4), calculate_mono_isotopic_product_ion_spectrum_with_losses, immonium ions
(ImmoniumIon), internal ions, + their PyO3 bindings in py_peptide.rs. Saved to a branch so it
isn't lost; not yet finished/tested. (Excludes the temporary thermorawfile Cargo.toml patch.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant