agentsclimarketplace

Feature group fragment classification

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/feature-group-fragment-classification

Use when you have a detected LC-MS feature table (with m/z, retention time, and intensity columns) and need to identify which features are derivatives of the same parent molecule rather than distinct metabolites.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill feature-group-fragment-classification

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

feature-group-fragment-classification

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

Annotate and group LC-MS features as isotopes, adducts, or in-source fragments by applying mass-shift detection logic and neutral-loss pattern matching. This skill produces a labeled feature table that disambiguates related peaks, enabling more accurate downstream metabolite identification and reduces false positives in nontargeted metabolomics.

When to use

Apply this skill when you have a detected LC-MS feature table (with m/z, retention time, and intensity columns) and need to identify which features are derivatives of the same parent molecule rather than distinct metabolites. Use it before MS/MS annotation or statistical analysis to collapse redundant features and improve annotation confidence.

When NOT to use

  • Input is already a curated, manually validated feature group assignment.
  • Analysis does not require disambiguation of related features (e.g., targeted assay with known metabolite list).
  • Raw spectrum data have not yet undergone peak detection and segmentation.

Inputs

  • LC-MS feature table (m/z, retention time, intensity columns)
  • Detection parameters (isotope mass tolerance, retention time window, adduct mass shifts, neutral loss patterns)

Outputs

  • Annotated feature table with group ID and annotation label per feature
  • Feature group membership assignments (isotope, adduct, or in-source fragment)

How to apply

Load the feature table containing m/z, retention time, and intensity values. Apply isotope detection by identifying features that differ by 1.003 Da (carbon-13 isotope shift) within a shared retention time window. Apply adduct detection to identify features related by common mass shifts (+H, +Na, +NH4, +K, –H). Apply in-source fragment detection to identify features related by characteristic neutral loss patterns (–H2O, –NH3). Assign each feature a group ID and annotation label (isotope, adduct, or fragment) based on detected relationships. Output the annotated feature table with group membership and annotation type for downstream use.

Related tools

  • masscube (Integrated LC-MS data processing package implementing feature group annotation via isotope, adduct, and in-source fragment detection) — https://github.com/huaxuyu/masscube/
  • Python (Language environment for executing masscube annotation workflows)

Evaluation signals

  • All features in the output table have a non-null group ID and annotation label (isotope, adduct, or fragment).
  • Isotope-grouped features differ by 1.003 ± tolerance Da and share retention time within specified window.
  • Adduct-grouped features match known mass shifts (+H, +Na, +NH4, +K, –H) and share retention time.
  • Fragment-grouped features are linked to parent features by documented neutral loss patterns (–H2O, –NH3).
  • Number of unique group IDs is less than the total number of features (feature collapsing has occurred).
  • No feature is assigned to multiple groups (group membership is mutually exclusive).

Limitations

  • Annotation accuracy depends on correct specification of isotope mass tolerance, retention time window, and adduct/neutral loss parameters; misaligned windows may merge unrelated features or fail to link true relatives.
  • In-source fragments are detected only if their neutral loss patterns are predefined; unexpected loss patterns will not be captured.
  • Features with very similar m/z and retention time may be conflated if tolerance windows are too wide.
  • No changelog is provided for the masscube package, limiting visibility into method updates or bug fixes.

Evidence

  • [other] masscube implements a feature group annotation mechanism that confidently labels features as isotopes, adducts, and in-source fragments.: "masscube implements a feature group annotation mechanism that confidently labels features as isotopes, adducts, and in-source fragments."
  • [other] Load the feature table (containing m/z, retention time, and intensity values for detected features). Apply isotope detection logic to identify features differing by 1.003 Da (carbon-13 isotope shift) within a retention time window.: "Load the feature table (containing m/z, retention time, and intensity values for detected features). Apply isotope detection logic to identify features differing by 1.003 Da (carbon-13 isotope shift)"
  • [other] Apply adduct detection to identify features related by common adduct mass shifts (e.g., +H, +Na, +NH4, +K, –H).: "Apply adduct detection to identify features related by common adduct mass shifts (e.g., +H, +Na, +NH4, +K, –H)."
  • [other] Apply in-source fragment detection to identify features related by characteristic neutral loss patterns (e.g., –H2O, –NH3).: "Apply in-source fragment detection to identify features related by characteristic neutral loss patterns (e.g., –H2O, –NH3)."
  • [readme] Confident annotation of feature groups including isotopes, adducts and in-source fragments.: "Confident annotation of feature groups including isotopes, adducts and in-source fragments."

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.