wip(mscore): peptide fragment-ion chemistry — neutral losses, immonium + internal ions#413
Draft
theGreatHerrLebert wants to merge 1 commit into
Draft
wip(mscore): peptide fragment-ion chemistry — neutral losses, immonium + internal ions#413theGreatHerrLebert wants to merge 1 commit into
theGreatHerrLebert wants to merge 1 commit into
Conversation
…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.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft / WIP — opening for visibility + tracking; not finished or tested yet.
Adds peptide fragment-ion chemistry (per
TO_IMSPY_FRAGMENT_IONSplan):NeutralLoss(H₂O / NH₃ / H₃PO₄) +calculate_mono_isotopic_product_ion_spectrum_with_lossesImmoniumIon,calculate_immonium_ions/_spectrum)calculate_internal_ions/_spectrum)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.)