Skip to content

Conversation

@RalfG
Copy link
Member

@RalfG RalfG commented Jul 31, 2024

Added

  • 🚸 If observed m/z values are available in the PSM list, always check if PSMs match with spectra

Changed

  • 🚸 Do not continue if precursor info (m/z, RT, or IM) is missing for some PSMs, but not for all. This should not occur, unless something went wrong. Previously such PSMs were simply selectively removed from the dataset.
  • 🔊 Clearer logging while parsing precursor info from spectrum files: Always raise error if a PSM cannot be found in the spectrum files and provide example PSM IDs from both PSM and spectrum file.
  • ♻️ General refactoring of parse_spectra module

- Clearer logging when parsing precursor info from spectrum files
- Always check if PSMs match with spectra based on observed precursor m/z (if available in PSM list)
- Always raise error if not all PSMs can be found in spectrum file(s), before MS²PIP
- Provide example PSM IDs from both PSM and spectrum file when matching fails.
- Move all code to parse_spectra
@RalfG RalfG merged commit 581da04 into main Dec 5, 2024
4 checks passed
@RalfG RalfG deleted the refactor-parse-spectra branch December 5, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants