BioCell
A model for predicting gene activity changes
2 min readupdated
BioCell is a specialized 16.3M-parameter model from Udgam Labs that predicts how human cells change when a single gene or pair of genes is knocked down (CRISPRi) or activated (CRISPRa). It takes a cell type and gene as inputs and outputs the predicted activity change for 3,000 genes. The tool is designed for research tasks and helps prioritize hypotheses prior to running actual lab experiments.
Key features
- Perturbation prediction: Models the effects of gene "knockouts" or activation across five human cell types.
- Dual-gene support: Supports simultaneous activation of two genes to analyze synergistic effects.
- Familiarity score: Outputs a model confidence metric based on how close the gene and cell type are to its training dataset.
- Three-model ensemble: For higher accuracy, default weights use an average of three models trained with different seeds.
What you can do
- Run inference locally via a Python script from the repository to analyze specific gene modifications.
- Test the combined impact of two genes on cell lines like K562.
- Upload your own expression data (as a NumPy array) for testing on custom control cells.
- Use command-line scripts to quickly generate JSON reports for specified genes and cell lines.
Example
import sys
from huggingface_hub import snapshot_download
model_dir = snapshot_download("udgamlabs/biocell")
sys.path.insert(0, model_dir)
from predict import UdgamVirtualCell
vc = UdgamVirtualCell.load(model_dir)
out = vc.perturb(cell_line="k562", genes=["GATA1"], modality="knockdown")
print(out["plain_summary"])
print(out["confidence"]["tier"])
Read more
DetailsBenchmarks: Evaluated using the Arc Institute methodology (cell-eval 0.8.2); on K562 it reaches 39.7% of the experimental ceiling (compared to 26.6% for the KG-kNN baseline).
Hardware: A lightweight model that runs fast on a standard laptop CPU (20-40 ms per run).
Limitations: Covers a fixed set of 3,000 genes, does not account for drugs or dosages, and serves as a research tool rather than providing medical advice.










Comments