agentsclimarketplace

Metabolite identifier mapping to lipids

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v1/skills/metabolite-identifier-mapping-to-lipids

Use when you have (1) peak-picked LC-MS AIF features in a feature table with m/z and retention time, (2) corresponding xcmsSet and RAMClustR pseudo-MS/MS spectral objects from centroid-mode raw data, and (3) a research goal to identify which features are lipids rather than other metabolite classes.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill metabolite-identifier-mapping-to-lipids

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

7.3 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it

metabolite-identifier-mapping-to-lipids

Summary

Annotate LC-MS All-ion fragmentation features to lipid identities by matching fragment ion patterns against LipidPos ion fragment libraries using the annotateRC function. This skill produces ranked candidate lipid annotations with matching scores, enabling confident assignment of lipid classes and chain compositions to detected m/z features.

When to use

Apply this skill when you have (1) peak-picked LC-MS AIF features in a feature table with m/z and retention time, (2) corresponding xcmsSet and RAMClustR pseudo-MS/MS spectral objects from centroid-mode raw data, and (3) a research goal to identify which features are lipids rather than other metabolite classes. Use it specifically when you need rank-ordered candidate lipid annotations with fragment-matching scores to support lipid structural assignment.

When NOT to use

  • Input features are from targeted MS/MS acquisition (not All-ion fragmentation) — use database matching on full experimental spectra instead.
  • Feature table lacks corresponding xcmsSet and RAMClustR objects — annotateRC requires both peak-picked data and pseudo-MS/MS spectra.
  • Research goal is non-lipid metabolite annotation (e.g., drug metabolites, amino acids) — use general metabolite fragment libraries or spectral databases instead.

Inputs

  • feature table (targetTable.csv format with m/z, retention time, and intensity columns)
  • xcmsSet object (peak-picked LC-MS AIF data in centroid mode)
  • RAMClustR object (pseudo-MS/MS spectra with fragment ions and intensities)
  • LipidPos ion fragment library (database of lipid fragmentation patterns)

Outputs

  • ranked candidate lipid annotations per feature (lipid class and chain composition)
  • matching scores for each candidate annotation
  • annotated feature table with rank-1 lipid assignment
  • visualization of matched ions for each candidate (optional)

How to apply

Load the feature table (targetTable.csv format), xcmsSet, and RAMClustR objects into R. Configure the LipidPos fragment library as the annotation database source. Execute the annotateRC function to match fragment ions from each feature against the LipidPos library, generating candidate annotations ranked by matching score. The function compares pseudo-MS/MS spectra (ions and intensities) against library entries; candidates with higher matching scores indicate better fragment-pattern alignment. Inspect the rank-1 candidate for each feature and validate by visualizing matched ions in the spectrum. Save results to a user-specified directory for downstream analysis or manual curation.

Related tools

  • MetaboAnnotatoR (R package performing feature-to-lipid annotation via annotateRC function and LipidPos library matching) — https://github.com/gggraca/MetaboAnnotatoR
  • xcms (preprocessing and peak-picking of raw LC-MS AIF chromatograms in centroid mode to produce peak-picked data object)
  • RamClustR (clustering and pseudo-MS/MS spectrum generation from AIF data to produce spectral object input to annotateRC)
  • LipidPos (ion fragment library database queried by annotateRC for lipid candidate matching)

Examples

library(MetaboAnnotatoR); annotateRC(RC_object, xcmsSet_object, targetTable.csv, library='LipidPos', output_dir='./lipid_annotations')

Evaluation signals

  • Three or more of six tested features receive lipid annotations (benchmark from the paper: 3/6 features successfully annotated to lipids including LPC(14:0)).
  • Rank-1 candidate annotation has a matching score substantially higher than lower-ranked candidates, indicating confident fragmentation pattern alignment.
  • Matched ions displayed in spectra visualization correspond visually to the rank-1 lipid candidate's expected fragmentation pattern.
  • Feature m/z values and rank-1 lipid assignments are chemically plausible (e.g., LPC(14:0) at 468.3095 m/z corresponds to [M+H]+ adduct mass).
  • Annotation results are reproducibly saved to the user-specified output directory in tabular and/or graphical format.

Limitations

  • Requires centroid-mode LC-MS AIF data; profile-mode data must be converted beforehand.
  • Annotation success depends on feature fragmentation pattern coverage in the LipidPos library; novel lipid structures or unusual adducts may lack library entries.
  • No changelog available in the repository, limiting transparency on version history and algorithm updates.
  • Performance is constrained by the completeness and accuracy of the fragment library; lipid classes or chain lengths absent from LipidPos will not be detected.
  • Pseudo-MS/MS spectra from RAMClustR clustering may artificially combine fragments from co-eluting features, introducing false candidate annotations.

Evidence

  • [intro] MetaboAnnotatoR is designed to perform metabolite annotation of features from LC-MS All-ion fragmentation (AIF) datasets, using ion fragment databases: "MetaboAnnotatoR is designed to perform metabolite annotation of features from LC-MS All-ion fragmentation (AIF) datasets, using ion fragment databases"
  • [other] three features receive lipid annotations, with LPC(14:0) assigned as the rank 1 annotation for feature 3 (468.3095 m/z, 82.92009 s): "three features receive lipid annotations, with LPC(14:0) assigned as the rank 1 annotation for feature 3 (468.3095 m/z, 82.92009 s)"
  • [intro] a processed dataset composed of two objects: RAMClustR (object containing the pseudo-MS/MS spectra) and an XCMS object containing the peak-picked data: "a processed dataset composed of two objects: RAMClustR (object containing the pseudo-MS/MS spectra) and an XCMS object containing the peak-picked data"
  • [intro] annotations can be performed using the annotateRC function: "annotations can be performed using the annotateRC function"
  • [intro] It requires raw LC-MS AIF chromatograms acquired/transformed in centroid mode: "It requires raw LC-MS AIF chromatograms acquired/transformed in centroid mode"
  • [intro] It is possible to visualise the spectra containing the matched ions to each candidate: "It is possible to visualise the spectra containing the matched ions to each candidate"

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.