agentsclimarketplace

Peak network clustering inadequate

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/peak-network-clustering-inadequate

Use when you have picked peaks (coordinates and intensities) from INADEQUATE spectra and need to distinguish which peaks likely originate from the same metabolite before matching to a reference database.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill peak-network-clustering-inadequate

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.5 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it

peak-network-clustering-inadequate

Summary

Cluster picked peaks from INADEQUATE NMR spectra into networks representing peaks originating from the same compound, enabling subsequent metabolite matching against a simulated database. This skill groups spectral signals based on spectral connectivity patterns to reduce false identifications and improve metabolite assignment accuracy.

When to use

Apply this skill when you have picked peaks (coordinates and intensities) from INADEQUATE spectra and need to distinguish which peaks likely originate from the same metabolite before matching to a reference database. Use it as the critical filtering step between peak picking and database matching in the PyINETA pipeline.

When NOT to use

  • Input spectra are not INADEQUATE experiments (skill is specific to 2D heteronuclear correlation data from INADEQUATE pulses).
  • Peaks have not yet been picked from raw spectra; use the picking module first.
  • Peak coordinates or intensities are missing or malformed; pre-validate input structure.

Inputs

  • picked peaks from PyINETA picking module (peak coordinates and intensities)
  • INADEQUATE spectra metadata (referencing information)
  • cluster/network connectivity configuration

Outputs

  • filtered peak network assignments (structured table)
  • network-to-compound groupings
  • discarded peaks not meeting network criteria

How to apply

Load the picked peaks output from the PyINETA picking module (peak coordinates and intensities). Apply network-based clustering logic within the Finding module to group peaks that likely originate from the same compound based on spectral connectivity patterns. Filter and retain only peak networks meeting the module's internal criteria for compound association. The clustering uses spectral relationships to infer compound origin; networks that fail internal coherence criteria are discarded before database matching. Output the filtered peak network assignments as a structured table for downstream matching against the simulated INADEQUATE metabolite database.

Related tools

Examples

python run_pyineta.py -c config.ini -s cluster,find -o output_dir

Evaluation signals

  • Peak network assignments form connected components where each network corresponds to a single expected metabolite structure.
  • Number of output networks is reasonable relative to input peak count; excessive fragmentation (many 1–2 peak networks) or excessive merging (one giant network) may indicate parameter drift.
  • Filtered peak networks achieve higher matching scores (cosine similarity, etc.) against the simulated INADEQUATE database compared to unfiltered or randomly grouped peaks.
  • Output table is valid and parseable; each network has assigned peaks with coordinates, intensities, and compound association confidence scores.
  • Networks discarded by internal criteria are reproducibly the same across independent runs with identical input and configuration.

Limitations

  • pyINETA uses basic shifting for INADEQUATE spectrum referencing; may not be accurate for spectra with strong referencing errors or unconventional solvent conditions.
  • Clustering relies on spectral connectivity patterns that may fail when peaks are overlapping, very weak, or in regions of high spectral congestion.
  • The simulated INADEQUATE database is limited; matching will fail for metabolites absent from the reference or with unexpected chemical shifts.
  • No changelog available, so parameter defaults and filtering thresholds may vary silently across package versions.

Evidence

  • [intro] pyINETA is designed to filter picked peaks to identify networks of peaks ideally coming from the same compound: "It is designed to filter these picked peaks to identify networks of peaks (ideally) coming from the same compound"
  • [methods] Clustering module groups signals from the same compound: "Apply network-based clustering logic within the Finding module to group peaks that likely originate from the same compound based on spectral connectivity patterns"
  • [intro] Filtered peak networks are matched to a simulated INADEQUATE database of metabolites: "which it then matches to a simulated INADEQUATE database of metabolites to identify metabolites present in the query INADEQUATE spectra"
  • [methods] PyINETA workflow includes clustering and finding modules as distinct steps: "Clustering

.. automodule:: pyineta.clustering

Finding

.. automodule:: pyineta.finding"

  • [readme] PyINETA performed with run_pyineta.py entry point: "Cluster picked peaks using the clustering module to group signals from the same compound. 5. Filter peak networks in the finding module to identify networks of peaks expected to originate from"

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.