agentsclimarketplace

Peak network to metabolite assignment

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/peak-network-to-metabolite-assignment

Use when after peak clustering has produced peak network groups (ideally from the same compound) and you need to assign chemical identities.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill peak-network-to-metabolite-assignment

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

6.4 KB, 959 tokens by cl100k_base, as published. Nobody here has run it

peak-network-to-metabolite-assignment

Summary

Match identified peak networks from INADEQUATE NMR spectra to a simulated metabolite database using similarity metrics to assign metabolite identities. This skill bridges clustering output to metabolite identification by correlating experimental peak network signatures against reference spectral data.

When to use

Apply this skill after peak clustering has produced peak network groups (ideally from the same compound) and you need to assign chemical identities. Use when you have query INADEQUATE spectra with identified peak networks and access to a simulated INADEQUATE database containing reference metabolite signatures with known spectral characteristics.

When NOT to use

  • Query spectra have not yet been clustered into peak networks—run Clustering module first
  • Reference database is incomplete or lacks INADEQUATE signatures for metabolites of interest
  • Raw, unpicked peaks are provided instead of pre-processed peak networks

Inputs

  • Peak network clusters from pyINETA Clustering module output
  • Simulated INADEQUATE metabolite database with reference spectral signatures
  • Configuration file specifying matching parameters and thresholds

Outputs

  • Matched metabolite assignment table (peak network ID → metabolite name + match score)
  • Match score matrix (query networks × database metabolites)
  • Filtered high-confidence metabolite identifications

How to apply

Load the peak network clusters from the upstream Clustering module output along with a simulated INADEQUATE metabolite database containing reference spectral signatures. Calculate similarity metrics (e.g., cosine similarity or spectral correlation) between each query peak network and all database metabolite signatures. Apply a similarity threshold to filter and retain only high-confidence metabolite assignments. Generate a matched metabolite output table that links peak network identifiers to assigned metabolite names and their corresponding match scores. The threshold selection is critical: set it high enough to exclude false positives but low enough to capture true metabolites present in your sample.

Related tools

  • PyINETA (Provides the Matching module that implements peak network–to–database similarity calculation and metabolite assignment) — https://github.com/edisonomics/PyINETA
  • Python (Runtime language for executing the PyINETA Matching module and similarity metric computation)

Examples

python <path_to_pyineta_repo>/run_pyineta.py -c config.ini -s match -o output_dir

Evaluation signals

  • Output table contains one row per query peak network with non-null metabolite assignments and match scores in expected numeric range (0–1 for normalized similarity)
  • Match scores for assigned metabolites exceed the configured similarity threshold; unassigned networks have no entries or scores below threshold
  • Assigned metabolite identities are present in the simulated database and have valid INADEQUATE spectral signatures
  • Peak network identifiers in output match identifiers from Clustering module output (schema consistency)
  • Match score distribution shows clear separation between high-confidence (assigned) and low-confidence (unassigned) peak networks, indicating threshold is appropriate

Limitations

  • Matching quality depends critically on the completeness and accuracy of the simulated INADEQUATE reference database—missing or poorly characterized metabolites will not be identified
  • Similarity metrics assume peak network features are comparable to database signatures; preprocessing differences (shifting, normalization) between query and database can degrade matching
  • Threshold selection requires manual tuning or validation; no principled default is provided in the source documentation
  • The package README notes 'No changelog found', suggesting limited version history documentation for reproducibility tracking

Evidence

  • [readme] pyINETA matches identified peak networks to a simulated INADEQUATE database of metabolites to identify metabolites present in the query INADEQUATE spectra: "matches to a simulated INADEQUATE database of metabolites to identify metabolites present in the query INADEQUATE spectra"
  • [other] Calculate similarity metrics (e.g., cosine similarity or spectral correlation) between each query peak network and database metabolite signatures: "Calculate similarity metrics (e.g., cosine similarity or spectral correlation) between each query peak network and database metabolite signatures."
  • [other] Filter matches using a similarity threshold to retain high-confidence metabolite assignments: "Filter matches using a similarity threshold to retain high-confidence metabolite assignments."
  • [other] Generate a matched metabolite output table linking peak network identifiers, assigned metabolite names, and match scores: "Generate a matched metabolite output table linking peak network identifiers, assigned metabolite names, and match scores using the pyINETA Matching module."
  • [other] Load peak network clusters from the upstream Clustering module output: "Load peak network clusters from the upstream Clustering module output."

What ships with it

Read from the repository

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

Keep looking

Skills are one crate of 325,949. 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.