Skip to content

kaifuchenlab/MEBOCOST

Repository files navigation

V1.2 released for Multiple Samples in One-Run and Differential Analysis. Please note that the differential analysis module is new. We are actively monitoring its performance and addressing any issues.

Join our email group for conveninent discussions and receive timely updates via MicroSoft Form

Welcome to use MEBOCOST: Metabolic Cell-Cell Communication Modeling by Single Cell Transcriptome

Our manuscript has been online at Nucleic Acids Research

What is MEBOCOST and how does it work?

MEBOCOST is a Python-based computational tool for inferring metabolite, such as lipid, mediated cell-cell communication events using single-cell RNA-seq data. MEBOCOST includes a manually curated database of metabolite-sensor partners and defines sender and receiver cells based on rates of metabolite efflux and influx, along with expression levels of enzyme and sensor genes, respectively.

The Flowchart of MEBOCOST

workflow for predicting metabolite mediated cell-cell communication (mCCC) taking scRNA-seq data as input.

Version control

Changelog for v1.2

For v1.2.2

  • (10-21-2025) Update enzymes and sensors for metabolites: Acetoacetic acid, Acetic acid, and 3-Hydroxybutyric acid, from user's suggestions. Thanks!.
  • (09-03-2025) Fixed a small bug for sensor type filtering.
  • (08-15-2025) Adjust pseudo value adding in logFC calculation to avoid potential errors.
  • (08-12-2025) Fixed bugs for condition naming issue and differential mCCC plotting issues.
  • (08-08-2025) Improved differential analysis in computing p values using permutated Log2FC instead of using FC values.
  • For v1.2.1

  • main updates: fix code bugs for flux constraint precedure.
  • For v1.2.0

  • Flux Integration Flexibility
  • In addition to the default integration function for COMPASS flux output, added support for integrating flux results provided by users from any external tools using ConstrainFluxFromAnyTool function

  • Refined Output Table
  • The output table includes only statistically significant mCCC events based on enzyme-sensor coexpression analysis, while the full original results are saved under the original_result slot. A new column indicates whether flux activity passed the defined threshold, rather than reporting only those events with qualifying flux rates. This design retains potentially interesting mCCC events that are significant based solely on enzyme–sensor coexpression.
  • Batch Analysis Support
  • Enabled mCCC analysis for multiple samples in a single run.
  • Differential mCCC Analysis Options
  • Added support for differential analysis using: (1) A single object containing multiple samples. (2) Multiple separate result objects combined for comparative analysis
  • New Plotting Tools
  • Introduced new plotting functions tailored for differential mCCC results.
  • Expanded Metabolite-Sensor Pairs
  • Increase the number to 782 metabolite-sensor pairs. More sensor types are included, such as cell surface channel and cell surface enzymes.
  • Updated parameters in some functions:
  • 1. create_obj: changed group_col parameter to a string representing a column name of meta table, no longer accepts a list.

    2. create_obj: added condition_col parameter to indicate an annotation column in the meta table to group cells into conditions. The mCCC analysis will perform within each conditions

    3. eventnum_bar: added xorder parameters to accept a list of cell types or corresponding labels to reorder x axis labels.

    4. All plot functions included condition paramters to visualize results in a specified condition.


    Installation

    • download and install miniconda environment (Users can skip this step if a python-based environment has been well-established).
    wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && bash Miniconda3-latest-Linux-x86_64.sh
    
    conda create -n mebocost python=3.12
    
    conda activate mebocost
    
    • download MEBOCOST package from github
    git clone https://github.com/kaifuchenlab/MEBOCOST.git
    
    cd MEBOCOST
    
    • install requirements
    pip install -r requirements.txt
    
    • install MEBOCOST
    python -m pip install .
    

    To check whether it has been installed successfully, you can run in python:

    >>from mebocost import mebocost
    

    if the mebocost can be imported successfully, you are good!

    Tutorial

    The mCCC analysis by one scRNA-seq data, including running and visualization.

    The mCCC analysis by scRNA-seq from two or multiple conditions, including Differential Analysis.

    1. Analyze multiple samples by a single run and perform differental analysis.

    2. Run two scRNA-seq samples separately but combined two samples for differential mCCC analysis.

    Please cite us if you find MEBOCOST is useful to your project.

    Please cite us at NAR

    Contact

    Rongbin.Zheng@childrens.harvard.edu{.email}

    or

    Kaifu.Chen@childrens.harvard.edu{.email}


    Copy Right @ Kaifu Chen Lab @ Boston Childrens Hospital / Harvard Medical School

    About

    No description, website, or topics provided.

    Resources

    License

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

     
     
     

    Contributors