README.md
October 21, 2025 · View on GitHub

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
For v1.2.1
For v1.2.0
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
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