agentsclimarketplace

Feature table generation from aligned spectra

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v1/skills/feature-table-generation-from-aligned-spectra

Use when after retention-time and m/z-based peak alignment has been completed across a cohort of LC-MS samples, and you need to create a unified quantitative matrix for statistical testing, multivariate analysis, or annotation workflows.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill feature-table-generation-from-aligned-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

6.0 KB, 968 tokens by cl100k_base, as published. Nobody here has run it

feature-table-generation-from-aligned-spectra

Summary

Consolidates aligned LC-MS peaks across all samples into a quantitative feature matrix by organizing m/z, retention time, and intensity values into a single table format suitable for downstream statistical analysis. This step bridges raw spectral alignment to metabolomics data analysis by creating the canonical input for quality assessment and biological interpretation.

When to use

After retention-time and m/z-based peak alignment has been completed across a cohort of LC-MS samples, and you need to create a unified quantitative matrix for statistical testing, multivariate analysis, or annotation workflows. Use this skill when aligned peak lists exist but have not yet been organized into a sample-by-feature intensity table.

When NOT to use

  • Input is already a complete, validated feature table from a prior analysis—skip directly to downstream statistical or annotation steps.
  • Peaks have not yet been aligned across samples—perform alignment (RT and m/z-based) before consolidation.
  • Raw spectral data have not undergone peak detection—execute peak detection on raw spectra before alignment.

Inputs

  • aligned peak lists (with m/z, retention time, intensity values per sample)
  • peak alignment parameters (m/z tolerance, retention time tolerance)
  • raw LC-MS spectral data in mzML or mzXML format

Outputs

  • quantitative feature table (sample × feature matrix with intensity values)
  • feature metadata (m/z, retention time, feature identifiers)
  • quality assessment report (missing value patterns, completeness metrics)

How to apply

Take the output of peak alignment (aligned peaks with m/z, retention time, and intensity values for each sample) and consolidate them into a single quantitative feature table where rows represent unique m/z–retention-time pairs (features) and columns represent samples. Assign unique feature identifiers (e.g., based on rounded m/z and RT) to group peaks across samples that share the same mass and retention time within specified tolerances. Populate intensity values for each sample–feature pair; missing values arise when a feature is detected in some samples but not others. Validate the resulting table for completeness, missing value patterns, and quality metrics (e.g., total ion current per sample, number of features detected per sample, and reproducibility of retention time and m/z within expected instrumental precision).

Related tools

  • MetaboAnalystR (provides the unified LC-MS workflow module that consolidates aligned peaks into a quantitative feature table and validates it for completeness and quality metrics) — https://github.com/xia-lab/MetaboAnalystR

Evaluation signals

  • Feature table dimensions match expected number of unique m/z–RT pairs across samples
  • No negative or unrealistic intensity values; intensity distribution reflects expected biological and technical variation
  • Missing value pattern is sparse and random rather than systematic per sample or feature (indicating technical rather than biological dropout)
  • Feature metadata (m/z, retention time) match input parameters and remain consistent across samples within instrumental precision
  • Quality metrics (total ion current per sample, detection rate per feature) are within expected ranges for the instrument and biological system

Limitations

  • Feature consolidation relies on accurate prior alignment; misaligned peaks will create spurious features or merge distinct features, degrading downstream analysis.
  • Missing value handling is non-trivial: features present in some samples but absent in others complicate imputation and statistical testing strategies.
  • High-dimensional feature tables (>10,000 features) from untargeted LC-MS can introduce multiple-testing burden in downstream analysis.
  • Intensity normalization is not addressed at this step; batch effects, instrumental drift, and sample-to-sample variation in ionization efficiency require separate correction before statistical testing.

Evidence

  • [other] Consolidate aligned peaks into a quantitative feature table with m/z, retention time, and intensity values for each detected feature across all samples.: "Consolidate aligned peaks into a quantitative feature table with m/z, retention time, and intensity values for each detected feature across all samples."
  • [other] Validate the feature table for completeness, missing value patterns, and quality metrics as defined in the MetaboAnalystR quality assessment module.: "Validate the feature table for completeness, missing value patterns, and quality metrics as defined in the MetaboAnalystR quality assessment module."
  • [readme] an auto-optimized feature detection and quantification module for LC-MS1 spectra processing: "an auto-optimized feature detection and quantification module for LC-MS1 spectra processing"
  • [readme] MetaboAnalystR 4.0 can significantly improve the quantification accuracy and identification coverage of the metabolome: "MetaboAnalystR 4.0 can significantly improve the quantification accuracy and identification coverage of the metabolome"

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.