agentsclimarketplace

Ccs value assignment from standards

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/ccs-value-assignment-from-standards

Use when you have TWIM-MS experimental data with arrival/drift times and m/z values, and you possess calibrant reference standards with known CCS values.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill ccs-value-assignment-from-standards

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

  • 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.3 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it

CCS value assignment from standards

Summary

Assign collision cross section (CCS) values to ions in TWIM-MS data by loading known calibrant reference standards and establishing a calibration curve that maps drift time to CCS across the m/z range. This enables accurate CCS determination without requiring prior feature identification.

When to use

You have TWIM-MS experimental data with arrival/drift times and m/z values, and you possess calibrant reference standards with known CCS values. Use this skill to convert raw ion arrival times into calibrated CCS values that can then be used for biomolecular identification and comparison across experiments.

When NOT to use

  • You lack reference calibrant standards with known CCS values — calibration cannot proceed without ground truth
  • Your input is already a processed CCS table (e.g., from a prior calibration run) rather than raw arrival time data
  • You are using ion mobility techniques other than TWIM (e.g., drift tube IMS or trapped IMS) where the arrival time–drift time relationship differs

Inputs

  • TWIM-MS experimental data file with arrival times and m/z values
  • Calibrant reference standards with known CCS values (calibration template)
  • Instrument-specific time-of-flight offset parameter

Outputs

  • Calibrated CCS table with m/z values, charge states, and quality metrics
  • Calibration curve model (linear or polynomial regression function)
  • Calibrated CCS values for all experimental ions

How to apply

Load your TWIM-MS experimental data (arrival times and m/z values) using MOCCal's data import module. Separately load calibrant reference standards with known CCS values from a calibration template. Convert arrival times to drift times by accounting for the instrument-specific time-of-flight offset. Apply linear or polynomial regression to establish a calibration curve mapping drift time to CCS across the m/z range. Apply the resulting calibration function to your experimental arrival times to generate calibrated CCS values for all ions. Export the calibrated CCS table with associated m/z, charge state, and quality metrics for downstream analysis.

Related tools

  • MOCCal (Implements CCS calibration via linear/polynomial regression; imports TWIM-MS data and calibrant templates; exports calibrated CCS tables with quality metrics) — https://github.com/HinesLab/MOCCal
  • DEIMoS (Required dependency for RawDT version of MOCCal when processing raw calibration files instead of pre-processed data) — http://github.com/pnnl/deimos

Examples

python MOCCal_UserDT.py --input experimental_data.csv --calibrants calibration_template.csv --method polynomial --output calibrated_CCS.csv

Evaluation signals

  • Calibration curve shows monotonic drift time–CCS relationship with R² > 0.95 across the m/z range
  • Calibrated CCS values for calibrant standards match their reference values within ±2% (instrument/method dependent)
  • Exported CCS table contains valid m/z, charge state, and quality metric columns with no missing values for ions above a quality threshold
  • Residual distribution from calibration regression is approximately normal and centered near zero across all m/z bins
  • Calibrated CCS values for experimental ions fall within biologically plausible ranges for their inferred biomolecular class

Limitations

  • TWIM platforms record arrival time (time to detector) not drift time (time in TWIM cell); MOCCal terms these interchangeably for convenience but requires offset correction specific to instrument platform
  • Calibration accuracy depends critically on quality and diversity of reference standards across the m/z range of interest
  • Linear calibration may introduce systematic bias at extremes of m/z or CCS ranges; polynomial regression should be evaluated for better fit
  • No changelog available in repository to track breaking changes or validation improvements across versions

Evidence

  • [other] MOCCal implements CCS calibration as a core functionality for high-dimensional, multi-omic TWIM-MS data analysis: "MOCCal implements CCS calibration as a core functionality for high-dimensional, multi-omic TWIM-MS data analysis, with supporting python scripts, data templates, and example data provided in UserDT"
  • [other] Calibrant reference standards with known CCS values are loaded and used to establish calibration curve: "Load calibrant reference standards with known CCS values from the calibration template. Apply linear or polynomial regression to establish a calibration curve mapping drift time to CCS"
  • [other] Arrival times are converted to drift times via instrument-specific offset: "Convert arrival times to drift times by accounting for the time-of-flight offset specific to the instrument platform."
  • [intro] MOCCal enables CCS assignment without requiring prior feature identification: "MOCCal offers class assignment and CCS calculations without need for identifying the features first."
  • [readme] TWIM platforms record arrival time rather than drift time: "TWIM platforms record the time at which the ion reaches the detector (arrival time) rather than the time an ion spends within the TWIM cell (drift time)."

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. 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.