#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Feb 14 09:02:05 2022

@author: richard
"""


cell_types = {
    "Cells derived primarily from endoderm": {
        "Exocrine secretory epithelial cells.": {
            "Brunner's gland": {},
            "Goblet cell": {},
            "Stomach": {"Foveolar cell": {}, "Chief cell": {}, "Parietal cell": {}},
            "Pancreatic acinar": {},
            "Paneth cell": {},
            "Type II Pneumocyte": {},
            "Club cell": {},
        },
        "Barrier cells": {
            "Type I Pneumocyte": {},
            "Gall bladder epithelial cell": {},
            "Centroacinar cell": {},
            "Intercalated duct": {},
            "Intestinal brush border": {},
        },
        "Hormone-secreting cells": {
            "Enteroendocrine cell": {
                "gastric inhibitory peptide-secreting K cell": {},
                "glucagon-like peptide-1-secreting L cell": {},
                "cholecystokinin-secreting I cell": {},
                "gastrin-secreting G cell": {},
                "Enterochromaffin cell": {},
                "Enterochromaffin-like cell": {},
                "neurotensin-secreting N cell": {},
                "secretin-secreting S cell": {},
                "somatostatin-secreting D cell": {},
                "motilin-secreting M cel": {},
            },
            "Thyroid gland": {"Thyroid epithelial cell": {}, "Parafollicular cell": {}},
            "Parathyroid gland": {"Parathyroid chief cell": {}, "Oxyphil cell": {}},
            "Pancreatic islets": {
                "Alpha cell": {},
                "Beta cell": {},
                "Delta cell": {},
                "Epsilon cell": {},
                "PP cell": {},
            },
        },
    },
    "Cells derived primarily from ectoderm": {
        "Exocrine secretory epithelial cells": {
            "Salivary gland": {},
            "Von Ebner's gland": {},
            "Mammary gland": {},
            "Lacrimal gland cell": {},
            "Ceruminous gland": {},
            "Eccrine sweat gland": {},
            "Apocrine sweat gland": {},
            "Gland of Moll": {},
            "Sebaceous gland": {},
            "Bowman's gland": {},
        },
        "Hormone-secreting cells": {
            "pituitary": {
                "Corticotropes": {},
                "Gonadotropes": {},
                "Lactotropes": {},
                "Melanotropes": {},
                "Somatotropes": {},
                "Thyrotropes": {},
            },
            "Magnocellular neurosecretory cells": {},
            "Parvocellular neurosecretory cells": {"neurotensin": {}},
            "Chromaffin cells": {},
        },
        "Epithelial cells": {
            "Keratinocyte": {},
            "basal cell": {},
            "Melanocyte": {},
            "Trichocyte": {
                "Medullary": {},
                "Cortical": {},
                "Cuticular": {},
                "Huxley's layer": {},
                "Henle's layer": {},
                "Outer root sheath": {},
            },
            "Surface epithelial cell": {},
            "Basal cell (stem cell)": {},
            "Intercalated duct": {},
            "Striated duct": {},
            "Lactiferous duct": {},
            "Ameloblast": {},
        },
        "Oral cells": {"Odontoblast": {}, "Cementoblast": {}},
        "Nervous system": {
            "Sensory transducer cells": {
                "Auditory inner hair cells": {},
                "Auditory outer hair cells": {},
                "Basal cells of olfactory epithelium": {},
                "Cold-sensitive sensory neurons": {},
                "Heat-sensitive sensory neurons": {},
                "Merkel cells": {},
                "Olfactory receptor neurons": {},
                "Pain-sensitive sensory neurons": {},
                "Photoreceptor cells": {
                    "rod cells": {},
                    "blue-sensitive cone cells": {},
                    "red-sensitive cone cells": {},
                    "green-sensitive cone cells": {},
                },
                "Proprioceptive": {},
                "Touch-sensitive sensory neurons": {},
                "Chemoreceptor": {},
                "Outer hair cells": {},
                "Inner hair cells": {},
                "Taste receptor cells": {},
            },
            "Autonomic neuron cells": {
                "Cholinergic neurons": {},
                "Adrenergic neural cells": {},
                "Peptidergic neural cells": {},
            },
            "Sense organ and peripheral neuron supporting cells": {
                "Inner pillar cells of organ of Corti": {},
                "Outer pillar cells of organ of Corti": {},
                "Inner phalangeal cells of organ of Corti": {},
                "Outer phalangeal cells of organ of Corti": {},
                "Border cells of organ of Corti": {},
                "Hensen's cells": {},
                "Vestibular apparatus supporting cells": {},
                "Taste bud supporting cells": {},
                "Olfactory epithelium supporting cells": {},
                "Olfactory ensheathing cells": {},
                "Schwann cells": {},
                "Satellite glial cells": {},
                "Enteric glial cells": {},
            },
            "glial cells": {
                "Neuron": {
                    "Interneurons": {
                        "Basket cells": {},
                        "Cartwheel cells": {},
                        "Stellate cells": {},
                        "Golgi cells": {},
                        "Granule cells": {},
                        "Lugaro cells": {},
                        "Unipolar brush cells": {},
                        "Martinotti cells": {},
                        "Chandelier cells": {},
                        "Cajal\u2013Retzius cells": {},
                        "Double-bouquet cells": {},
                        "Neurogliaform cells": {},
                        "Retina horizontal cells": {},
                        "Amacrine cells": {"Starburst amacrine cells": {}},
                        "Spinal interneurons": {"Renshaw cells": {}},
                    },
                    "Principal cells": {
                        "Spindle neurons": {},
                        "Fork neurons": {},
                        "Pyramidal cells": {
                            "Place cells": {},
                            "Grid cells": {},
                            "Speed cells": {},
                            "Head direction cells": {},
                            "Betz cells": {},
                        },
                        "Stellate cells": {"Boundary cells": {}},
                        "Bushy cells": {},
                        "Purkinje cells": {},
                        "Medium spiny neurons": {},
                    },
                },
                "Astrocytes": {},
                "Oligodendrocytes": {},
                "Ependymal cells": {"Tanycytes": {}},
                "Pituicytes": {},
            },
            "Lens cells": {
                "Anterior lens epithelial cell": {},
                "Crystallin-containing lens fiber cell": {},
            },
        },
    },
    "Cells derived primarily from mesoderm": {
        "Metabolism and storage cells": {
            "Adipocytes": {"White fat cell": {}, "Brown fat cell": {}},
            "Liver lipocyte": {},
        },
        "Secretory cells": {
            "Cells of the Adrenal cortex": {
                "Zona glomerulosa": {},
                "Zona fasciculata": {},
                "Zona reticularis": {},
            },
            "Theca interna cell": {},
            "Progesterone-secreting coprpus luteum cells": {
                "Granulosa lutein cells": {},
                "Theca lutein cells": {},
            },
            "Leydig cell": {},
            "Seminal vesicle": {},
            "Prostate gland": {},
            "Bulbourethral gland": {},
            "Bartholin's gland": {},
            "Gland of Littre": {},
            "Uterus": {},
            "Juxtaglomerular cell": {},
            "Macula densa cell": {},
            "Peripolar cell": {},
            "Mesangial cell": {},
        },
        "Barrier cells": {
            "Urinary system": {
                "Parietal epithelial cell": {},
                "Podocyte": {},
                "Proximal tubule brush border cell": {},
                "Loop of Henle thin segment cell": {},
                "Kidney distal tubule cell": {},
                "Kidney collecting duct cell": {
                    "Principal cell": {},
                    "Intercalated cell": {},
                },
                "Transitional epithelium": {},
            },
            "Reproductive system": {
                "Duct cell of seminal vesicle": {},
                "Efferent ducts": {},
                "Epididymal principal cell": {},
                "Epididymal basal cell": {},
            },
            "Circulatory system": {"Endothelial cells": {}},
        },
        "Extracellular matrix cells": {
            "Planum semilunatum epithelial cell of vestibular system": {},
            "Organ of Corti": {},
            "Loose connective tissue": {},
            "Corneal": {},
            "Tendon fibroblasts": {},
            "Bone marrow": {},
            "Other non epithelial fibroblasts": {},
            "Pericyte": {"Hepatic stellate cell": {}},
            "Nucleus pulposus cell": {},
            "Hyaline cartilage": {},
            "Fibrocartilage": {},
            "Elastic cartilage": {},
            "Osteoblast": {},
            "Osteoprogenitor cell": {},
            "Hyalocyte": {},
            "Stellate cell": {},
            "Pancreatic stellate cell": {},
        },
        "Contractile cells": {
            "Skeletal muscle": {
                "Red skeletal muscle cell": {},
                "White skeletal muscle cell": {},
                "Intermediate skeletal muscle cell": {},
                "Nuclear bag cell": {},
                "Nuclear chain cell": {},
                "Myosatellite cell": {},
            },
            "Cardiac muscle": {
                "Cardiac muscle cell": {},
                "SA node cell": {},
                "Purkinje fiber": {},
            },
            "Smooth muscle cell": {},
            "Myoepithelial cell": {},
        },
        "Blood and immune system cells": {
            "Erythrocyte": {},
            "Megakaryocyte": {},
            "Platelets": {},
            "Monocyte": {},
            "Connective-tissue macrophage": {},
            "Epidermala Langerhans cell": {},
            "Osteoclast": {},
            "Dendritic cell": {},
            "Microglial cell": {},
            "Neutrophil granulocyte": {},
            "Eosinophil granulocyte": {},
            "Basophil granulocyte": {},
            "Mast cell": {},
            "Helper T cell": {},
            "Regulatory T cell": {},
            "Cytotoxic T cell": {},
            "Natural killer T cell": {},
            "B cell": {},
            "Plasma cell": {},
            "Natural killer cell": {},
            "Hematopoietic stem cells": {},
        },
        "Germ cells (primordially not)": {
            "Oogonium": {},
            "Spermatid": {},
            "Spermatocyte": {},
            "Spermatogonium cell": {},
            "Spermatozoon": {},
        },
        "Nurse cell": {
            "Granulosa cell": {},
            "Sertoli cell": {},
            "Epithelial reticular cell": {},
        },
        "Interstitial cells": {"Interstitial kidney cells": {}},
    },
}
