omicverse.metabol.parse_lipid

Contents

omicverse.metabol.parse_lipid#

omicverse.metabol.parse_lipid(name)[source]#

Parse a LIPID MAPS-shorthand lipid name.

Returns None if the name doesn’t match any recognized pattern (so the caller can filter or annotate as “not a lipid”).

Return type:

Optional[LipidIdentity]