mapping_provenance
Recovers mapping provenance for metabolites: identifies what was mapped to KEGG/HMDB beyond the initial pass, documents unmapped entries with reasons, and separates exogenous kept vs xenobiotic excluded by origin.
Instructions
Recovery provenance for the report: what was mapped to KEGG / HMDB BEYOND the MetaboAnalyst 1st pass and by which logic, plus the unmapped (harmonized-name-tried, reason) and the two origin buckets. Writes kegg_recovered.tsv, hmdb_recovered.tsv, unmapped_harmonization.tsv, exogenous_kept.tsv (biological outside-host, KEPT + origin), and xenobiotic_excluded.tsv (non-biological contaminant, EXCLUDED + origin).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| export | No | ||
| workdir | Yes |