Metabolite set composition 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 metabolite-set-composition-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 after constructing a background set for ORA in metabolomics: you have loaded an experimental detection list and a metabolomics pathway database, applied background-set construction logic, and need to confirm that the resulting background set has the correct size, composition, pathway.
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.1 KB, 942 tokens by cl100k_base, as published. Nobody here has run it
metabolite-set-composition-validation
Summary
Verify that a background-set or experimental metabolite collection is correctly constructed by validating its composition against the metabolomics pathway database, ensuring absence of contamination, appropriate pathway coverage, and statistical soundness for Over-representation Analysis.
When to use
After constructing a background set for ORA in metabolomics: you have loaded an experimental detection list and a metabolomics pathway database, applied background-set construction logic, and need to confirm that the resulting background set has the correct size, composition, pathway coverage, and does not contain metabolites that should have been excluded (e.g., those in the experimental detection list).
When NOT to use
- The experimental detection list has not yet been acquired or is empty; validation requires both a reference database and a non-empty detection list to be meaningful.
- You are performing pathway analysis without ORA; this skill is specific to validating background-set construction in Over-representation Analysis workflows.
- The pathway database has not been loaded or parsed; validation requires a complete, structured pathway annotation resource.
Inputs
- metabolomics pathway database (full reference set of metabolites and pathway annotations)
- experimental detection list (metabolites detected in the study)
- ORA method specification (filtering criteria, exclusion rules)
Outputs
- validated background-set composition report
- background-set statistics (total count, per-pathway coverage, overlap metrics)
- validation pass/fail status for each invariant
How to apply
Load the full metabolomics pathway database and the experimental detection list (metabolites detected in the study). Construct the background set by identifying all metabolites from the database that should serve as the statistical reference, applying any filtering criteria specified by the ORA method (e.g., exclusion of experimentally detected metabolites). Compute background-set statistics: total metabolite count, per-pathway coverage, and overlap metrics with the experimental detection list. Validate four key invariants: (1) the background set contains no metabolites present in the experimental detection list; (2) all pathways in the background set have non-zero metabolite counts; (3) per-pathway coverage is consistent with database entries; (4) background-set size and composition align with expected properties for the chosen ORA configuration.
Related tools
- Python (Implement background-set construction logic, compute statistics, and execute validation checks on pathway coverage and metabolite overlap)
- Jupyter (Interactive notebook environment for reproducible background-set validation, exploratory statistics, and visualization of validation results) — https://github.com/cwieder/metabolomics-ORA
Evaluation signals
- Background set contains zero overlap with experimental detection list (no experimentally detected metabolites are present).
- All pathways in the background set have non-zero metabolite counts; no pathway is empty or misconfigured.
- Per-pathway coverage statistics match the counts recorded in the source metabolomics pathway database.
- Total background-set size and composition are consistent with the specified ORA filtering criteria and database schema.
- Validation report explicitly confirms absence of experimental metabolites and alignment of background-set properties with expected invariants.
Limitations
- Background-set validation depends critically on correct parsing and loading of the pathway database; errors in database ingestion will propagate to validation results.
- The skill assumes that the experimental detection list is accurate and complete; contamination or missing metabolites in the input detection list will affect the validity of background-set exclusion.
- Validation checks are syntax and schema-level; they do not assess whether the background set is statistically appropriate for the biological question or whether pathway annotations are current and curated.
- The article does not specify how to handle metabolites present in the database but absent from any pathway annotation; validation logic must explicitly define behavior in such cases.
Evidence
- [other] Compute background-set statistics: total count, per-pathway coverage, and overlap metrics with the detection list.: "Compute background-set statistics: total count, per-pathway coverage, and overlap metrics with the detection list."
- [other] Validate that background-set size and composition align with expected properties (pathway coverage, non-zero pathway sizes, absence of experimental metabolites).: "Validate that background-set size and composition align with expected properties (pathway coverage, non-zero pathway sizes, absence of experimental metabolites)."
- [intro] The Python code to generate the results is contained within the Jupyter notebook: "The Python code to generate the results is contained within the Jupyter notebook"
- [intro] This repository contains the code to run the simulations presented in the study: "This repository contains the code to run the simulations presented in the study"
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.