File format parsing and validation
Curated, evidence-grounded skill and software-tool collections for scientific AI agents, generated by the AgenticScienceBuilder
npx -y skills add HolobiomicsLab/asb-skill-collections --skill file-format-parsing-and-validationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 14 stars14 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 author says it does
Copied from the file, not written here
Use when you have peak/feature tables from one or more of MZmine, XCMS, MS-DIAL, or Compound Discoverer and need to ingest them into LipidMatch for lipid identification. The input files are in tabular format (CSV, TSV, or Excel) and their upstream tool origin may be unknown or mixed.
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.2 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it
file-format-parsing-and-validation
Summary
Detect, parse, and validate peak/feature table outputs from multiple upstream mass spectrometry peak-picking tools (MZmine, XCMS, MS-DIAL, Compound Discoverer) by inspecting headers and column signatures, then normalize them into a unified feature table schema for downstream lipidomics analysis. This skill enables LipidMatch to accept heterogeneous tool outputs and integrate them into a single workflow.
When to use
You have peak/feature tables from one or more of MZmine, XCMS, MS-DIAL, or Compound Discoverer and need to ingest them into LipidMatch for lipid identification. The input files are in tabular format (CSV, TSV, or Excel) and their upstream tool origin may be unknown or mixed. Use this skill when you need to standardize column names, validate numeric ranges, and tag metadata provenance before matching against lipid libraries.
When NOT to use
- Input is already in LipidMatch's unified feature table format or from an unsupported peak-picking tool (e.g., Waters)
- Input file is not tabular or does not contain recognizable peak-picking tool headers
- The analysis requires Waters instrument data, which LipidMatch does not currently support
Inputs
- Peak/feature table from MZmine (CSV/TSV with 'Feature ID', 'Best m/z' columns)
- Peak/feature table from XCMS (CSV/TSV with 'mz', 'mzmin', 'mzmax' columns)
- Peak/feature table from MS-DIAL (CSV/TSV with 'Alignment ID' column)
- Peak/feature table from Compound Discoverer (CSV/TSV with 'Mass', 'Retention Time' columns)
Outputs
- Unified feature table with standardized columns: m/z, retention time, intensity, feature identifier, source tool metadata
- Validation report (presence/absence of required fields, numeric range violations)
How to apply
Inspect the input file's header row and column names to identify the source tool: MZmine files contain 'Feature ID' and 'Best m/z'; XCMS output includes 'mz', 'mzmin', 'mzmax'; MS-DIAL exports include 'Alignment ID'; Compound Discoverer produces 'Mass' and 'Retention Time' columns. Route the file to the corresponding parser module. Extract and normalize core columns: m/z, retention time (or scan number), intensity, feature/peak identifier, and MS/MS spectrum data if present. 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 identifying the source tool, ready for LipidMatch lipid matching.
Related tools
- MZmine (Source peak-picking tool; produces feature tables with 'Feature ID' and 'Best m/z' column signatures)
- XCMS (Source peak-picking tool; produces feature tables with 'mz', 'mzmin', 'mzmax' columns)
- MS-DIAL (Source peak-picking tool; produces feature tables with 'Alignment ID' column)
- Compound Discoverer (Source peak-picking tool; produces feature tables with 'Mass' and 'Retention Time' columns)
- LipidMatch (Downstream tool that ingests and processes normalized feature tables for lipid identification) — https://github.com/GarrettLab-UF/LipidMatch
Evaluation signals
- All required columns (m/z, retention time, intensity, feature identifier) are present in the output table after parsing
- All m/z values are > 0, retention times are ≥ 0, and intensities are ≥ 0
- Source tool is correctly identified from header inspection and metadata tag is added to output
- Column names are standardized (e.g., all 'Best m/z' renamed to 'm/z'; all 'Mass' renamed to 'm/z')
- No rows are lost during parsing and normalization; row count remains constant
Limitations
- LipidMatch does not currently support Waters instrument files
- Parser assumes standard column naming conventions; non-standard headers from custom tool exports may not be detected
- Validation checks only verify field presence and numeric range; they do not assess chemical plausibility (e.g., whether m/z matches expected lipid species)
- MS/MS spectrum data extraction depends on consistent formatting across tools; missing or malformed MS/MS blocks may be silently skipped
Evidence
- [other] 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', 'mzmin', 'mzmax'; MS-DIAL exports include 'Alignment ID'; Compound Discoverer produces 'Mass' and 'Retention Time' columns).: "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] Extract and normalize core columns: m/z, retention time (or scan number), intensity, feature/peak identifier, and MS/MS spectrum data (if present).: "Extract and normalize core columns: m/z, retention time (or scan number), intensity, feature/peak identifier, and MS/MS spectrum data (if present)."
- [other] Validate that all required fields are present and within expected ranges (m/z > 0, retention time ≥ 0, intensity ≥ 0).: "Validate that all required fields are present and within expected ranges (m/z > 0, retention time ≥ 0, intensity ≥ 0)."
- [readme] 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 Compound Discoverer), and combine results from other lipidomics software.: "LipidMatch can be used with various peak picking software (for example MZmine, XCMS, MS-DIAL, and Compound Discoverer)"
- [readme] The software does not currently support Waters files.: "The software does not currently support Waters files."
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.