omicverse.metabol.parse_lipid#
- omicverse.metabol.parse_lipid(name)[源代码]#
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.- 返回类型:
Optional[LipidIdentity]