Peak table format detection
Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/peak-table-format-detection
Use when when receiving a peak or feature table output from an unknown or variable upstream peak-picking tool, and you need to route it to the correct ingestion adapter (e.g., in LipidMatch) to normalize and validate it before lipid identification.From its SKILL.md
npx -y skills add HolobiomicsLab/asb-skill-collections --skill peak-table-format-detectionAssembled 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.4 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
peak-table-format-detection
Summary
Automated detection of the upstream peak-picking tool (MZmine, XCMS, MS-DIAL, Compound Discoverer) from which a feature/peak table originated, enabling conditional routing to the appropriate parser module in a unified lipidomics workflow.
When to use
When receiving a peak or feature table output from an unknown or variable upstream peak-picking tool, and you need to route it to the correct ingestion adapter (e.g., in LipidMatch) to normalize and validate it before lipid identification. Typical trigger: user provides a CSV or tabular file without explicit tool provenance metadata.
When NOT to use
- Input is already a pre-validated unified feature table with standardized columns and source tool metadata tag
- Input is from a peak-picking tool not in the supported list (MZmine, XCMS, MS-DIAL, Compound Discoverer)
- Input file is corrupted, missing headers, or lacks sufficient diagnostic column signatures to distinguish tool origin
Inputs
- Peak or feature table in tabular format (CSV, TSV, or proprietary text export)
- Table headers and column names
- Metadata or file header text indicating upstream processing
Outputs
- Tool source identifier (one of: MZmine, XCMS, MS-DIAL, Compound Discoverer)
- Routing instruction to appropriate parser module
- Unified feature table with standardized column names and source tool metadata
How to apply
Inspect the input table's file headers, column names, and metadata fields to identify diagnostic signatures unique to each tool. MZmine tables contain 'Feature ID' and 'Best m/z' columns; XCMS output contains 'mz', 'mzmin', 'mzmax'; MS-DIAL exports include 'Alignment ID'; Compound Discoverer produces 'Mass' and 'Retention Time' columns. Once identified, route the table to the corresponding tool-specific parser module. The parser then extracts and normalizes core columns (m/z, retention time or scan number, intensity, feature/peak identifier, and optional MS/MS spectrum data) and validates that all required fields are present and within expected ranges (m/z > 0, retention time ≥ 0, intensity ≥ 0). Output a unified feature table with standardized column names and metadata tags identifying the source tool.
Related tools
- LipidMatch (Host workflow that conditionally ingests and normalizes peak tables from multiple upstream peak-picking tools) — https://github.com/GarrettLab-UF/LipidMatch
- MZmine (Upstream peak-picking tool; produces feature tables with diagnostic 'Feature ID' and 'Best m/z' columns)
- XCMS (Upstream peak-picking tool; produces feature tables with diagnostic 'mz', 'mzmin', 'mzmax' columns)
- MS-DIAL (Upstream peak-picking tool; produces feature tables with diagnostic 'Alignment ID' column)
- Compound Discoverer (Upstream peak-picking tool; produces feature tables with diagnostic 'Mass' and 'Retention Time' columns)
Evaluation signals
- Detected tool identifier matches the known source tool (ground truth validation against metadata or user confirmation)
- All required normalized columns (m/z, retention time, intensity, feature ID) are present and non-empty in the output table
- Validated column values fall within expected ranges: m/z > 0, retention time ≥ 0, intensity ≥ 0
- Output unified feature table can be ingested without error by the downstream LipidMatch lipid matching module
- Source tool metadata tag is correctly appended to the output table header or metadata section
Limitations
- Detection relies on heuristic column name and header inspection; files with non-standard naming conventions or manually edited headers may fail to match diagnostic signatures
- Currently supports only four upstream tools (MZmine, XCMS, MS-DIAL, Compound Discoverer); other peak pickers are not routable
- Waters instrument output is not currently supported by LipidMatch, so Waters peak tables cannot be processed end-to-end
Evidence
- [other] Diagnostic column signatures for tool identification: "Detect the upstream peak-picking tool by inspecting file headers, column names, or metadata fields (e.g., MZmine feature tables contain 'Feature ID' and 'Best m/z'; XCMS output contains 'mz',"
- [other] Tool-specific parser routing and output normalization: "Route the input table to the corresponding parser module (one for each of MZmine, XCMS, MS-DIAL, Compound Discoverer). Extract and normalize core columns: m/z, retention time (or scan number),"
- [other] Validation of normalized feature table: "Validate that all required fields are present and within expected ranges (m/z > 0, retention time ≥ 0, intensity ≥ 0). Output a unified feature table with standardized column names and metadata tags"
- [readme] Modular workflow integration across multiple peak pickers: "LipidMatch is modular, allowing it to fit in various workflows you may have in your lab. For example LipidMatch can be used with various peak picking software (for example MZmine, XCMS, MS-DIAL, and"
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.