agentsclimarketplace

Automated feature extraction from spectra

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/automated-feature-extraction-from-spectra

Use when when you have raw or processed direct-infusion MS (DI-MS) or ASAP-MS spectra as mz/intensity pairs and need to rapidly identify salient peaks for species authentication, sample scoring, or comparative profiling without manual inspection.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill automated-feature-extraction-from-spectra

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

7.4 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it

automated-feature-extraction-from-spectra

License: restricted — no clear open-source license detected for the underlying tool; verify licensing before commercial use or redistribution. <!-- asb-license-banner -->

Summary

Automatic identification and annotation of peaks of interest from raw or processed mass spectrometry spectra using algorithmic detection. This skill extracts m/z and intensity features with confidence scoring, enabling downstream species discrimination and sample characterization without manual peak curation.

When to use

When you have raw or processed direct-infusion MS (DI-MS) or ASAP-MS spectra as mz/intensity pairs and need to rapidly identify salient peaks for species authentication, sample scoring, or comparative profiling without manual inspection. Particularly useful in high-throughput contexts where sample volume precludes manual curation and intuitive visual outputs are required for validation.

When NOT to use

  • Input data are already curated peak tables or feature matrices — the skill duplicates work already performed.
  • Manual peak assignment is a regulatory or method validation requirement — automatic identification may not satisfy audit trails or reproducibility mandates.
  • Spectrum data are from chromatographic methods (LC-MS) where retention time and peak shape are critical discriminators not captured by mz/intensity pairs alone.

Inputs

  • raw mass spectrometry spectrum data (mz/intensity pairs)
  • processed MS spectrum data (mz/intensity pairs)
  • input file in format supported by DI-MS or ASAP-MS instruments

Outputs

  • structured peak table with peak identifiers, m/z values, intensity values, and confidence scores
  • annotated peak list with labels assigned by intensity ranking
  • visual peak representations for intuitive validation

How to apply

Load raw or processed MS spectrum data as mz/intensity pairs from the input file into RapidMass. Apply the platform's automatic peak detection algorithm to identify peaks of interest based on intensity ranking and m/z value clustering. The algorithm assigns labels and annotations to each detected peak, generating confidence scores that reflect detection reliability. Aggregate results into a structured output table containing peak identifiers, m/z values, intensity measurements, and confidence scores. Validate results by examining the visual outputs and comparing detected peaks against known reference patterns or database entries to confirm biological relevance and absence of noise artifacts.

Related tools

  • RapidMass (executes automatic peak detection algorithm and generates confidence-scored peak annotations from mz/intensity data) — https://github.com/Katherine00689/RapidMass
  • DI-MS (source instrument format supported for raw or processed spectrum input)
  • ASAP-MS (source instrument format supported for raw or processed spectrum input)

Evaluation signals

  • Detected peaks are ranked consistently by intensity; no negative or NaN values in confidence scores.
  • Peak m/z values fall within expected mass range for the analyte and ion mode (positive/negative); isotope peaks are correctly clustered.
  • Visual output shows clear separation between high-confidence peaks and noise baseline; intensity distribution matches known reference spectra for the sample species.
  • Annotated peak table has no duplicate m/z entries (within instrument resolution tolerance) and confidence scores correlate with intensity magnitude.
  • Downstream database matching (if performed) retrieves the expected sample species with high cosine similarity or scoring metric, validating that extracted peaks are biologically relevant.

Limitations

  • Algorithm performance depends on spectrum quality and signal-to-noise ratio; low-intensity or noisy spectra may generate false-positive or false-negative peaks.
  • Automatic detection does not distinguish chemical isomers or adducts differing only in neutral loss; manual interpretation may be required for complex spectra.
  • Confidence scoring methodology is not explicitly detailed in the article; users should validate performance on their own instrument type and sample matrix before deployment in regulatory contexts.
  • The skill is validated on 'easily confused plant materials'; generalization to other biological matrices (e.g., microorganisms, metabolites) is not explicitly claimed.

Evidence

  • [other] Load raw or processed MS spectrum data (mz/intensity pairs) from input file. 2. Apply RapidMass automatic peak detection algorithm to identify peaks of interest from the spectrum. 3. Assign labels and annotations to detected peaks based on intensity ranking and m/z values. 4. Aggregate results into a structured output table with peak identifiers, m/z, intensity, and confidence scores.: "Load raw or processed MS spectrum data (mz/intensity pairs) from input file. 2. Apply RapidMass automatic peak detection algorithm to identify peaks of interest from the spectrum. 3. Assign labels"
  • [other] RapidMass provides automatic identification of interested MS peaks as part of its integrated data processing workflow.: "RapidMass provides automatic identification of interested MS peaks as part of its integrated data processing workflow."
  • [readme] the software provides automatic identification of interested MS peaks and supports data from multiple instruments, including DI-MS and ASAP-MS: "the software provides automatic identification of interested MS peaks and supports data from multiple instruments, including DI-MS and ASAP-MS"
  • [readme] RapidMass features a user-friendly, visual interface, making it accessible to users without programming expertise: "RapidMass features a user-friendly, visual interface, making it accessible to users without programming expertise"
  • [readme] The performance of RapidMass was validated using easily confused plant materials, with satisfactory results.: "The performance of RapidMass was validated using easily confused plant materials, with satisfactory results."

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.