Using a deep learning-based segmentation framework, we generated comprehensive labels across vascular, cellular, and subcellular levels, enabling quantitative analysis of bile duct–cholangiocyte organization and sinusoidal branch geometry. At the organelle scale, analysis of 37,920 mitochondria revealed distinct morphological profiles and spatial distributions. Examination of mitochondrial–endoplasmic reticulum (ER) spatial relationships uncovered characteristic ER-associated mitochondrial narrowing, indicative of fission and fusion activity.
-
Create a virtual environment to install the required packages. An example setup script is provided in
create_run_example.slurm. -
Clone the repository:
git clone https://github.com/BaderLab/Multiscale_human_liver_vEM.git
-
Install dependencies:
cd Multiscale_human_liver_vEM pip install -r requirements.txtThe
requirements.txtincludes packages needed for both nnUNet and SAM2.
We provide a script that uses SAM2 to generate 3D instance masks from input prompts:
python sam2maskpropagator.pyOrganelle segmentation was performed using nnUNet with pretraining and fine-tuning. Trained model checkpoints for all segmented organelles are available on Zenodo.
After obtaining organelle masks, morphological features of mitochondria were extracted using PyRadiomics:
python morphology_features.pyTo analyze mitochondria–ER spatial interactions:
python mito_er_analysis.pyWe thank the SAM2 and nnUNet teams for making their source code publicly available. We also thank the PyRadiomics team for their open-source morphological feature extraction package. We gratefully acknowledge OpenOrganelle and Parlakgül et al. (2022) for making the mouse liver volume electron microscopy data publicly available.
@article{multiscale_human_liver,
title = {},
author = {},
journal = {},
volume = {},
pages = {},
year = {}
}