agentsclimarketplace

Network node label spreading

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/network-node-label-spreading

Use when you have an untargeted metabolomics dataset with a two-layer network topology already constructed (one layer representing biochemical knowledge/pathways, the other representing data-driven MS2 similarity), seed metabolites with reliable annotations from database matching or curation, and.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill network-node-label-spreading

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

8.0 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it

network-node-label-spreading

License: noncommercial — confirm your use is a permitted (noncommercial) purpose before applying; commercial use requires a separate license (see metadata.tool_license). <!-- asb-license-banner -->

Summary

Recursive annotation propagation over a two-layer network topology (knowledge-driven and data-driven) that spreads metabolite labels from seed annotated nodes to neighboring unannotated nodes, enhancing coverage and confidence in untargeted metabolomics. This method integrates biochemical pathway knowledge with experimental MS2 similarity networks to systematically annotate metabolites across interconnected layers.

When to use

Use this skill when you have an untargeted metabolomics dataset with a two-layer network topology already constructed (one layer representing biochemical knowledge/pathways, the other representing data-driven MS2 similarity), seed metabolites with reliable annotations from database matching or curation, and you need to maximize annotation coverage by leveraging network connectivity rules and layer-specific relationships to label previously unannotated nodes.

When NOT to use

  • Input network topology is single-layer or lacks both knowledge-driven and data-driven components—the algorithm requires dual-layer integration.
  • Seed set is too sparse or lacks high-confidence ground truth; propagation from weak or incorrect seeds will introduce systematic errors.
  • Layer-specific validation rules (spectral similarity thresholds, chemical class constraints, reaction network rules) are not defined or unavailable for your metabolomic platform.

Inputs

  • two-layer interactive network topology (knowledge-driven and data-driven layers)
  • seed metabolite annotations (database matches or curated labels)
  • spectral similarity scores (MS2 network data)
  • biochemical pathway/reaction network data (knowledge layer)

Outputs

  • annotated network with propagated metabolite labels
  • confidence scores for each propagated annotation
  • layer-specific evidence for each label assignment

How to apply

Load the two-layer network topology produced by prior topology reconstruction. Identify and seed the algorithm with metabolites that already have high-confidence annotations from database matching or manual curation. Execute the recursive annotation propagation algorithm that traverses both network layers simultaneously, propagating labels from annotated nodes to topologically adjacent unannotated nodes according to layer-specific connectivity rules (biochemical feasibility in the knowledge layer, spectral similarity thresholds in the data layer). At each propagation step, validate candidate annotations by checking consistency with layer-specific evidence: spectral similarity scores and chemical class rules in the data-driven layer, and known reaction networks and metabolic plausibility in the knowledge-driven layer. Output the annotated network with all propagated metabolite labels and associated confidence scores.

Related tools

Examples

devtools::install_github("ZhuMetLab/MrnAnnoAlgo3"); # Load two-layer network, seed annotations, and call propagation: mrnAnnoAlgo3(network_topology, seed_annotations, layer_validation_rules)

Evaluation signals

  • Propagated annotations maintain consistency with spectral similarity scores and chemical class rules within each respective layer; no cross-layer constraint violations occur.
  • Confidence scores are well-calibrated: annotations propagated from high-confidence seeds and validated through multiple layers receive higher scores than single-layer propagations.
  • Coverage metrics: proportion of previously unannotated metabolites successfully labeled by the algorithm; no annotated nodes regress to unannotated state during recursion.
  • Network traversal completeness: all reachable nodes (within topological connectivity and validation thresholds) receive labels; no valid propagation paths are left unexplored.
  • Validation against orthogonal evidence: propagated labels are checked against independent reference standards (authentic compound MS2 spectra, literature metabolite lists) to confirm false positive rate is acceptable.

Limitations

  • Algorithm performance depends critically on seed annotation quality; sparse or incorrect seed sets propagate errors throughout the network.
  • Requires well-curated two-layer topology; incomplete or noisy network construction (e.g., spurious MS2 edges or incomplete pathway databases) reduces annotation reliability.
  • Layer-specific validation rules must be pre-defined and tuned; missing or poorly calibrated thresholds (spectral similarity cutoff, chemical class compatibility rules) lead to over- or under-propagation.
  • Computational performance is optimized for typical datasets (processes in ~1 hour), but extremely large or densely connected networks may require parameter tuning.
  • Does not resolve isomeric ambiguity within a single layer; relies on network topology and validation rules to disambiguate; some metabolites may remain ambiguous even after propagation.

Evidence

  • [intro] Two-layer network topology integrates knowledge-driven and data-driven components with recursive annotation propagation: "designed to annotate metabolites through a two-layer interactive networking topology (knowledge-driven and data-driven) and recursive annotation propagation algorithms"
  • [other] Algorithm traverses layers according to layer-specific connectivity rules and validates via spectral and chemical consistency: "Execute recursive annotation propagation algorithm that traverses both network layers, propagating annotations from annotated nodes to neighboring unannotated nodes according to layer-specific"
  • [readme] Knowledge-driven layer represents biochemical pathways; data-driven layer represents MS2 similarity networks: "Integrates knowledge-driven (biochemical pathways, metabolic reaction networks) and data-driven (experimental MS2 similarity networks) layers for comprehensive and accurate metabolite"
  • [readme] Recursive propagation algorithm is efficient and topology-based: "An efficient topology-based annotation propagation algorithm leveraging both network layers to enhance annotation coverage and accuracy."
  • [other] Algorithm requires seed metabolites with existing annotations: "Identify seed metabolites with existing annotations from database matching or prior curation."

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.