agentsclimarketplace

Retention time range filtering

Skill HolobiomicsLab/asb-skill-collections/packs/metabolomics/ion-mobility/skills/retention-time-range-filtering

Curated, evidence-grounded skill and software-tool collections for scientific AI agents, generated by the AgenticScienceBuilder

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill retention-time-range-filtering

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 14 stars14 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 author says it does

Copied from the file, not written here

Use when you have raw IM-MS data (Agilent MassHunter .d or UIMF format) and need to exclude early or late chromatographic regions—e.g., to skip dead volume, exclude blank runs, focus on a known analyte window, or reduce file size for faster processing.

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

7.0 KB, as published. Nobody here has run it

retention-time-range-filtering

Summary

Selectively isolate IM-MS data within a user-defined retention time window to focus downstream preprocessing on the relevant chromatographic region. This reduces computational overhead and concentrates analysis on regions of interest before compression, interpolation, and demultiplexing.

When to use

Apply this skill when you have raw IM-MS data (Agilent MassHunter .d or UIMF format) and need to exclude early or late chromatographic regions—e.g., to skip dead volume, exclude blank runs, focus on a known analyte window, or reduce file size for faster processing. Use it as the first filtering step after loading raw MS-files into PNNL PreProcessor and before applying data compression.

When NOT to use

  • Input data are already compressed, interpolated, or demultiplexed; filtering must occur before these downstream steps.
  • The analyte(s) of interest have unknown or broad elution profiles that may span an unpredictable retention time range; exploratory analysis without pre-filtering is more appropriate.
  • The analysis goal requires retention of the full chromatographic dimension for statistical or quality-control comparisons across the entire run.

Inputs

  • Raw IM-MS data file (Agilent MassHunter .d format or UIMF format)
  • Retention time range specification (minimum and maximum retention time in minutes)

Outputs

  • Retention-time-filtered raw IM-MS data (intermediate format, ready for compression and interpolation)
  • Metadata indicating applied retention time bounds

How to apply

In the PNNL PreProcessor workflow, specify a retention time range (minimum and maximum bounds in minutes) during the data loading and compression step. The tool will filter frames by the specified retention time range, discarding all scans and frames outside the window. This filtering occurs before data compression by frame and mobility dimension and before interpolation of the ion mobility dimension. The rationale is that limiting the temporal scope reduces memory footprint and processing time while preserving the signal in the region of interest for subsequent HRdm demultiplexing and peak deconvolution steps.

Related tools

  • PNNL PreProcessor (Primary software platform in which retention time range filtering is applied as a configurable parameter during data loading and compression) — https://github.com/PNNL-Comp-Mass-Spec/PNNL-PreProcessor
  • Agilent MassHunter (Instrument vendor software that produces the raw .d format input files compatible with retention time filtering in PNNL PreProcessor)

Evaluation signals

  • Verify that the output frame count and retention time range in the filtered data match the specified bounds (e.g., if filtering 2–8 min, all frames should have retention times ≥ 2.0 and ≤ 8.0 min).
  • Confirm that frames outside the specified retention time window are absent from the filtered dataset by spot-checking metadata or header information.
  • Check that the total file size of the filtered output is smaller than the unfiltered input (indicating successful exclusion of out-of-range scans).
  • Validate that downstream processing steps (compression, interpolation, demultiplexing) complete without error and produce expected output dimensionality.
  • Compare ion count and intensity histograms before and after filtering to confirm signal preservation within the window and signal removal outside it.

Limitations

  • Retention time range filtering is irreversible; discarded data outside the window cannot be recovered. Incorrect or overly narrow bounds will permanently lose chromatographic information.
  • The tool does not automatically detect the optimal retention time window; users must specify bounds manually based on prior knowledge of analyte elution or exploratory preview of the raw file.
  • Filtering by a single continuous retention time range cannot handle complex study designs with multiple disjoint regions of interest (e.g., analytes eluting in two separate windows); multiple preprocessing runs would be required.
  • The filtering step assumes retention time values are accurately recorded in the raw data; clock drift, gradient errors, or instrument artifacts may cause retention time misalignment and lead to unexpected exclusion of valid data.

Evidence

  • [methods] Data compression (by frame and mobility) and filtering by retention time range: "Data compression (by frame and mobility) and filtering by retention time range"
  • [other] Apply data compression by frame and mobility dimension, and filter frames by retention time range if specified.: "Apply data compression by frame and mobility dimension, and filter frames by retention time range if specified"
  • [other] Load raw MS-file (Agilent MassHunter .d or UIMF format) into PNNL PreProcessor.: "Load raw MS-file (Agilent MassHunter .d or UIMF format) into PNNL PreProcessor"
  • [readme] data compression and interpolation, ion mobility demultiplexing, multidimensional smoothing, noise filtering by low intensity threshold and spike removal, saturation repair and metadata export: "data compression and interpolation, ion mobility demultiplexing, multidimensional smoothing, noise filtering by low intensity threshold and spike removal, saturation repair and metadata export"

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.