Repository navigation
[FIX] DIAuditor: clearer multiplexing warning; warn when diaPASEF windows have no ion mobility range - #10312
Merged
Conversation
…dows have no ion mobility range Multiplexing warning: it said that MS2 spectra "have more than one precursor (multiplexed DIA?)". Every DIA spectrum contains many precursor ions, so this read as if it applied to all DIA data. What the tool counts is spectra with several precursor elements, i.e. several isolation windows per spectrum (e.g. MSX). The warning, the tool page and the RunMetrics comment now say so, and the warning suggests demultiplexing first. New warning: MS2 spectra with an isolation window and an ion mobility array, but no ion mobility range of their window. TIMSCONVERT writes diaPASEF this way (checked on the PXD059079 timsTOF HF run: one precursor with the isolation window and a 'mean inverse reduced ion mobility array', no 'ion mobility lower/upper limit'). Such windows are told apart by m/z only, so windows that share an m/z range and differ only in ion mobility count as one. The spectra are counted in RunMetrics::ms2_im_array_without_range (also without retention time, like the other counters); the tool warns with -ion_mobility auto. The tool page says that TIMSCONVERT output is keyed by m/z only. The list of input formats is built in one initializer. Pushing onto a one-element list made GCC 13 report a false -Warray-bounds at -O3 once the file gained the new warning. Tests: DIAQCMetrics_test checks the new counter (spectra with and without a range, without isolation window, MS1, without retention time). The outputs of TOPP_DIAuditor_1 and _2 are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Av5w5vHqBTv3wPygrM7FSU
5 tasks done
2 of 5 tasks
timosachsenberg
added a commit
that referenced
this pull request
Sep 29, 2026
…nings (#10312) (#10320) Claude-Session: https://claude.ai/code/session_01UB6FhFnrnMVY6ycki4mc87 Co-authored-by: Claude <[email protected]>
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.
Description
A follow-up to #10271 (DIAuditor), based on David Tabb's review of the port.
Multiplexing warning
<precursor>elements, i.e. several isolation windows per spectrum, as in MSX.RunMetricscomment now say "more than one isolation window". The warning also suggests demultiplexing first (msconvert --filter demultiplex).Ion mobility arrays without window ranges
mean inverse reduced ion mobility array. It does not write the window's ion mobility range (ion mobility lower/upper limit), whichmsconvert --combineIonMobilitySpectraand the timsTOF reader do write. I checked this on the PXD059079 timsTOF HF run in the raw-file museum.RunMetrics::ms2_im_array_without_range: MS2 spectra with an isolation window and an ion mobility array, but no ion mobility range of the window. Like the other counters, it includes spectra without retention time.-ion_mobilityisauto. The tool page says that TIMSCONVERT output is keyed by m/z only.Compiler warning
push_backonto a one-element list triggered GCC 13's false-Warray-boundsat-O3.No output changes: the reference files of
TOPP_DIAuditor_1and_2are unchanged.Tests
DIAQCMetrics_testchecks the new counter for spectra with and without a range, without an isolation window, MS1 spectra and spectra without retention time. These checks fail without the counter.TOPP_DIAuditor_1and_2pass with their references unchanged.-ion_mobility noneDIAuditor.cppandDIAQCMetrics.cppcompile with GCC 13-Wall -Wextra -Werror, with and withoutWITH_THERMO_RAW/WITH_OPENTIMSA second PR will address the reader and writer gaps behind DIAuditor's NA values:
MS:1000800being written back as auserParamChecklist
How can I get additional information on failed tests during CI
Click to expand
If your PR is failing you can check outIf you click in the column that lists the failed tests you will get detailed error messages.
Advanced commands (admins / reviewer only)
Click to expand
/reformat(experimental) applies the clang-format style changes as additional commit. Note: your branch must have a different name (e.g., yourrepo:feature/XYZ) than the receiving branch (e.g., OpenMS:develop). Otherwise, reformat fails to push.rebuild jenkinswill retrigger Jenkins-based CI builds🤖 Generated with Claude Code
https://claude.ai/code/session_01Av5w5vHqBTv3wPygrM7FSU
Generated by Claude Code
Summary by CodeRabbit