Agent skill · Databases

bio-metabolomics-metabolite-annotation

Metabolite identification from m/z and retention time. Covers database matching, MS/MS spectral matching, and confidence level assignment. Use when assigning compound identities to detected features in untargeted metabolomics.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill metabolite-annotation-gptomics-bioskills --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/analysis/metabolite-annotation-gptomics-bioskills/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Metabolite Annotation ## Database Matching by m/z ```r library(MetaboAnalystR) # Load feature table features <- read.csv('feature_table.csv') # Search HMDB by exact mass search_hmdb <- function(mz, adduct = '[M+H]+', ppm = 10) { # Calculate neutral mass from m/z adduct_masses <- list( '[M+H]+' = 1.007276, '[M+Na]+' = 22.989218, '[M-H]-' = -1.007276, '[M+Cl]-' = 34.969402 ) neutral_mass <- mz - adduct_masses[[adduct]] # Query HMDB (or local database) # Returns putative matches matches <- QueryHMDB(neutral_mass, ppm) return(matches) } # Apply to all features annotations <- lapply(features$mz, function(m) search_hmdb(m, '[M+H]+', 10)) ``` ## MS/MS Spectral Matching ```python from matchms import calculate_scores from matchms.importing import load_from_mgf from matchms.similarity import CosineGreedy # Load query spectra queries = list(load_from_mgf('sample_msms.mgf')) # Load reference library (e.g., GNPS, MassBank) references = list(load_from_mgf('reference_library.mgf')) # Calculate similarity scores similarity = CosineGreedy(tolerance=0.01) scores = calculate_scores(references, queries, similarity) # Get best matches for query_idx, query in enumerate(queries): best_match_idx = score

What's inside
Steps it walks through
  1. Database Matching by m/z
  2. MS/MS Spectral Matching
  3. SIRIUS + CSI:FingerID
  4. MetFrag In Silico Fragmentation
  5. RT Prediction for Validation
  6. Confidence Levels (MSI)
  7. CAMERA Adduct Annotation
  8. Batch Annotation Pipeline
  9. Export Annotated Results
  10. Related Skills
Ships with 1 file
  • metadata.json
Commands it runs
Molecular formula and structure prediction
sirius \
formula \
fingerid
Output structure:
sirius_results/
compound_1/
formula_candidates.tsv
fingerid_candidates.tsv
More from claude-skill-registry
All skills →
About this skill
What does the bio-metabolomics-metabolite-annotation skill do?

Metabolite identification from m/z and retention time. Covers database matching, MS/MS spectral matching, and confidence level assignment. Use when assigning compound identities to detected features in untargeted metabolomics.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill metabolite-annotation-gptomics-bioskills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going