omicverse.metabol.parse_lipid#
- omicverse.metabol.parse_lipid(name)[source]#
Parse a lipid name into a
LipidIdentity.Tries the Goslin reference parser (
pygoslin) first — it handles the LIPID MAPS shorthand and the common vendor dialects and gives class, category and per-chain detail. Falls back to the built-in regex whenpygoslinis unavailable or the name is unrecognised. ReturnsNoneif neither parser recognises the name.- Parameters:
name (
str)