Precursor ion isolation windowing
Use when processing SWATH-MS (Sequential Windowed Acquisition of all Theoretical Mass-spectra) raw data files (mzML or vendor format) for untargeted metabolomics, specifically before attempting to deconvolute overlapping MS/MS spectra.From its SKILL.md
npx -y skills add HolobiomicsLab/asb-skill-collections --skill precursor-ion-isolation-windowingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as CC-BY-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
6.2 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it
precursor-ion-isolation-windowing
License: noncommercial — confirm your use is a permitted (noncommercial) purpose before applying; commercial use requires a separate license (see
metadata.tool_license). <!-- asb-license-banner -->
Summary
Grouping co-eluting fragment spectra from SWATH-MS data by precursor m/z and retention time windows to enable downstream spectral deconvolution. This step isolates multiplexed MS/MS spectra into manageable subsets for accurate component spectrum separation.
When to use
Apply this skill when processing SWATH-MS (Sequential Windowed Acquisition of all Theoretical Mass-spectra) raw data files (mzML or vendor format) for untargeted metabolomics, specifically before attempting to deconvolute overlapping MS/MS spectra. Use it when your acquisition strategy has multiplexed many precursor ions into single isolation windows, resulting in mixed fragment spectra that require separation.
When NOT to use
- Input is already targeted MS/MS data (single precursor per isolation) rather than multiplexed SWATH acquisition.
- Fragment spectra are already deconvoluted or pre-processed by vendor software; re-windowing may introduce artifacts.
- Data is from untargeted methods other than SWATH-MS (e.g., full-scan DIA without defined precursor windows) where precursor-window metadata may not be available or applicable.
Inputs
- SWATH-MS raw data files (mzML format or vendor format)
- Instrument acquisition method metadata (precursor m/z window definitions, retention time windows)
Outputs
- Grouped fragment spectra sets binned by precursor m/z and retention time window
- Intermediate spectral dataset ready for multiplexed spectrum decomposition
How to apply
Load SWATH-MS raw data into DecoMetDIA and define precursor ion isolation windows based on the instrument's acquisition method (typically 25 Da or instrument-specific widths). Apply retention time windowing to group fragment spectra that co-elute within a defined time window (typically 0.5–2 min depending on chromatographic resolution). This pre-processing step reduces spectral complexity and focuses the subsequent deconvolution algorithm on a coherent set of fragments expected to arise from precursors within that m/z and retention time frame. The rationale is that precursor ions in a narrow m/z window with overlapping retention times are more likely to produce overlapping fragments; grouping them separately ensures the deconvolution algorithm can effectively separate individual component spectra without interference from distant precursors.
Related tools
- DecoMetDIA (R package that implements precursor ion isolation and retention time windowing as a preprocessing step before spectral deconvolution of SWATH-MS data) — https://github.com/ZhuMSLab/DecoMetDIA
Examples
devtools::install_github("ZhuMSLab/DecoMetDIA"); library(DecoMetDIA); # Then apply windowing via DecoMetDIA's preprocessing pipeline with m/z isolation and RT grouping before deconvolution
Evaluation signals
- Verify that fragment spectra within each window have precursor m/z values within ±tolerance (e.g., 25 Da) of the window center.
- Check that retention times of grouped spectra cluster within the defined time window (e.g., all within 0.5–2 min).
- Confirm that the windowed groupings preserve co-eluting ions (similar retention times) while excluding distant precursors, reducing spectral overlap complexity.
- Validate post-deconvolution that component spectra within each window have consistent and interpretable mass differences and intensity distributions.
- Compare deconvolution quality metrics (peak counts, mass accuracy, signal-to-noise) before and after windowing to ensure windowing improves separation without loss of information.
Limitations
- Windowing parameters (m/z width, retention time width) must match the SWATH-MS instrument configuration; mismatched parameters may either lose precursors or retain too much spectral noise.
- Compounds with very similar retention times but distant m/z values may be incorrectly grouped or separated depending on window size, potentially missing or creating false deconvoluted spectra.
- Retention time resolution depends on chromatographic method; high-resolution separations permit tighter time windows, while low-resolution methods require wider windows and may introduce more spectral mixing.
Evidence
- [other] Apply precursor ion isolation and retention time windowing to group co-eluting fragment spectra: "Apply precursor ion isolation and retention time windowing to group co-eluting fragment spectra."
- [readme] DecoMetDIA was developed to process SWATH-MS based data for metabolomics: "DecoMetDIA was developed to process SWATH-MS based data for metabolomics."
- [other] Load SWATH-MS raw data files (mzML or vendor format) into DecoMetDIA: "Load SWATH-MS raw data files (mzML or vendor format) into DecoMetDIA."
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.