corems.molecular_id.factory.lipid_molecular_metadata
1__author__ = "Katherine R. Heal" 2__date__ = "2024-01-24" 3 4from dataclasses import dataclass 5 6from .EI_SQL import MetaboliteMetadata 7 8 9@dataclass 10class LipidMetadata(MetaboliteMetadata): 11 """Dataclass for the Lipid Metadata 12 13 Parameters 14 ---------- 15 name : str 16 The name of the lipid, using the LIPID MAPS nomenclature 17 casno : str 18 The CAS number of the lipid 19 formula : str 20 The molecular formula of the lipid 21 pubchem_id : str 22 The PubChem ID of the lipid 23 structure_level : str 24 The structure level of the lipid, following the LIPID MAPS classification 25 lipid_summed_name : str 26 The summed name of the lipid, aka lipid species, 27 following the LIPID MAPS classification 28 lipid_subclass : str 29 The subclass of the lipid, following the LIPID MAPS classification 30 lipid_class : str 31 The class of the lipid, following the LIPID MAPS classification 32 lipid_category : str 33 The category of the lipid, following the LIPID MAPS classification 34 """ 35 36 name: str 37 casno: str 38 formula: str 39 pubchem_id: str 40 structure_level: str 41 42 lipid_summed_name: str 43 lipid_subclass: str 44 lipid_class: str 45 lipid_category: str
10@dataclass 11class LipidMetadata(MetaboliteMetadata): 12 """Dataclass for the Lipid Metadata 13 14 Parameters 15 ---------- 16 name : str 17 The name of the lipid, using the LIPID MAPS nomenclature 18 casno : str 19 The CAS number of the lipid 20 formula : str 21 The molecular formula of the lipid 22 pubchem_id : str 23 The PubChem ID of the lipid 24 structure_level : str 25 The structure level of the lipid, following the LIPID MAPS classification 26 lipid_summed_name : str 27 The summed name of the lipid, aka lipid species, 28 following the LIPID MAPS classification 29 lipid_subclass : str 30 The subclass of the lipid, following the LIPID MAPS classification 31 lipid_class : str 32 The class of the lipid, following the LIPID MAPS classification 33 lipid_category : str 34 The category of the lipid, following the LIPID MAPS classification 35 """ 36 37 name: str 38 casno: str 39 formula: str 40 pubchem_id: str 41 structure_level: str 42 43 lipid_summed_name: str 44 lipid_subclass: str 45 lipid_class: str 46 lipid_category: str
Dataclass for the Lipid Metadata
Parameters
- name (str): The name of the lipid, using the LIPID MAPS nomenclature
- casno (str): The CAS number of the lipid
- formula (str): The molecular formula of the lipid
- pubchem_id (str): The PubChem ID of the lipid
- structure_level (str): The structure level of the lipid, following the LIPID MAPS classification
- lipid_summed_name (str): The summed name of the lipid, aka lipid species, following the LIPID MAPS classification
- lipid_subclass (str): The subclass of the lipid, following the LIPID MAPS classification
- lipid_class (str): The class of the lipid, following the LIPID MAPS classification
- lipid_category (str): The category of the lipid, following the LIPID MAPS classification
LipidMetadata( id: int, cas: str, inchikey: str, inchi: str, chebi: str, smiles: str, kegg: str, data_id: int, iupac_name: str, traditional_name: str, common_name: str, name: str, casno: str, formula: str, pubchem_id: str, structure_level: str, lipid_summed_name: str, lipid_subclass: str, lipid_class: str, lipid_category: str)