agentsclimarketplace

Feature table format conversion

Skill HolobiomicsLab/asb-skill-collections/packs/metabolomics/ms-generic/skills/feature-table-format-conversion

Use when you have raw feature tables exported from NPP tools (XCMS, MZmine 2, MS-DIAL, OpenMS, etc.) in their native formats and need to compare their peak detection and alignment performance against a mzRAPP benchmark dataset.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill feature-table-format-conversion

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

feature-table-format-conversion

Summary

Convert non-targeted preprocessing (NPP) output feature tables from vendor or tool-specific formats into a standardized CSV schema compatible with benchmark-to-NPP matching workflows. This enables reliable comparison of peak detection and alignment performance across different metabolomics preprocessing tools.

When to use

You have raw feature tables exported from NPP tools (XCMS, MZmine 2, MS-DIAL, OpenMS, etc.) in their native formats and need to compare their peak detection and alignment performance against a mzRAPP benchmark dataset. Conversion is required before the BM-NPP matching module can assess reliability metrics.

When NOT to use

  • Feature tables are already in mzRAPP-native format or have been previously aligned to a benchmark.
  • Input is a raw mzML file rather than a preprocessed feature table; use mzRAPP benchmark generation first.
  • Feature table lacks m/z and retention time information; conversion cannot establish the dimensional basis for matching.

Inputs

  • Unaligned feature table CSV from NPP tool (XCMS, MZmine 2, MS-DIAL, OpenMS, or El-MAVEN)
  • Aligned feature table CSV from the same NPP tool
  • mzRAPP benchmark CSV file (Benchmark.csv with 2870 peaks or equivalent)

Outputs

  • Standardized feature table compatible with mzRAPP matching algorithm
  • Matched record CSV table with benchmark peak identifiers, matching status (found/split/missing/misaligned), confidence scores, and isotopologue validation flags

How to apply

Export unaligned and aligned feature tables from your NPP tool in CSV format, ensuring they contain at minimum m/z values, retention time information, and peak identifiers. Load the exported tables into mzRAPP's Setup NPP assessment tab by specifying the file paths for both unaligned and aligned outputs. mzRAPP internally parses these tables to map them against benchmark peaks using 6 ppm m/z precision tolerance and retention-time windowing. The conversion preserves feature identifiers and metadata while standardizing column interpretation for downstream m/z and RT matching against the benchmark. No manual column remapping is required if tables follow the standard NPP output schema (m/z, RT, peak area/height, feature ID); custom parsers may be needed for non-standard formats.

Related tools

  • mzRAPP (Performs feature table parsing, standardization, and BM-NPP matching; loads and validates converted tables against benchmark) — https://github.com/YasinEl/mzRAPP
  • XCMS (NPP tool whose aligned and unaligned feature table outputs are converted for benchmark assessment)
  • MZmine 2 (NPP tool whose feature table outputs can be exported in CSV and converted for benchmark comparison)
  • R (Scripting environment for programmatic feature table loading and conversion before mzRAPP assessment)

Examples

library(mzRAPP); callmzRAPP()

Evaluation signals

  • Feature table successfully loads into mzRAPP without parsing errors; column headers are recognized.
  • m/z and retention time values are numeric and within expected LC-HRMS ranges (e.g., m/z 50–1200, RT in seconds).
  • Peak identifiers are unique and preserved from NPP tool output; no rows are dropped during conversion.
  • Matching produces non-zero counts in the 'found', 'split', 'missing', or 'misaligned' categories; at least 80–90% of benchmark peaks are classified.
  • Confidence scores and isotopologue validation flags are populated; isotopologue ratio bias filtering (< 30% threshold) is applied to matched clusters.

Limitations

  • Conversion assumes feature tables follow standard NPP output schemas (m/z, RT, feature ID columns present); tables from custom or proprietary tools may require manual column mapping or custom parser development.
  • m/z matching tolerance is fixed at 6 ppm precision and 5 ppm accuracy; conversion does not adapt to different mass spectrometers or resolution profiles beyond what mzRAPP's instrument selection provides.
  • Conversion does not recover missing or incorrectly reported retention time boundaries; feature tables lacking RT information cannot be reliably matched to benchmark peaks.
  • Peak shape correlation and isotopologue ratio validation occur post-conversion; conversion itself does not assess peak quality. Degenerated isotopologue ratios (> 30% bias or Pearson r < 0.85 vs. most abundant isotopologue) are filtered by matching, not by the conversion step.
  • Alignment-stage matching depends on both unaligned and aligned table quality; if NPP alignment introduces systematic RT drift or feature merging, matching may classify peaks as 'split' or 'misaligned' even after conversion.

Evidence

  • [intro] Export NPP outputs from different tools: "Exporting NPP outputs from different tools"
  • [readme] mzRAPP accepts feature tables from multiple NPP tools: "The goal of mzRAPP is to allow reliability assessment of non-targeted data pre-processing (NPP; XCMS, XCMS3, MetaboanalystR 3.0, SLAW, XCMS-online, MZmine 2, MZmine 3, MS-DIAL, OpenMS, El-MAVEN,..)"
  • [methods] Matching workflow with standardized m/z and RT criteria: "For each benchmark peak, apply m/z matching with specified precision tolerance (6 ppm) and accuracy threshold (5 ppm) to candidate NPP features. 3. Apply retention-time windowing to narrow candidate"
  • [methods] mzRAPP performs benchmark-NPP matching on converted tables: "In the Setup NPP assessment tab, select mzRAPP as the non-targeted tool and specify XCMS_unaligned_run1.csv as the unaligned file and XCMS_aligned_run1.csv as the aligned file. 3. Execute the"
  • [methods] Isotopologue validation occurs during matching: "For isotopologue clusters, validate peak shape correlation with the most abundant isotopologue and filter isotopologues where isotopologue ratio bias exceeds 30%"
  • [readme] Feature table must include sample, m/z, RT metadata: "Since start- and end-time has to be provided for each compound it is advisable to set those boundaries using a tool for manual peak curation from which peak boundaries can be exported"

What ships with it

Read from the repository

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

Keep looking

Skills are one crate of 326,764. 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.