--- title: BioCell colorFrom: green colorTo: yellow sdk: docker app_port: 7860 license: apache-2.0 short_description: Switch a gene off or on; see how a human cell responds. --- # BioCell simulator Pick a gene, switch it off or on in one of five human cell lines, and see what the BioCell model by Udgam Labs predicts happens to 3,000 other genes. Two genes at once is supported ("Mix two"). The page runs the full three-copy ensemble (16.3M parameters per copy) on CPU, about 20 to 40 ms per prediction. Weights are downloaded from the model repo at start-up (`MODEL_REPO` in `app.py`), or read from the folder in the `MODEL_DIR` environment variable. A research tool. Predictions from a model, not measurements. Not medical advice. Where it falls short: https://udgamlabs.com/models/biocell Udgam Labs ยท AI research from first principles ## Run locally MODEL_DIR=/path/to/weights PORT=7860 python app.py API: `GET /api/perturb?line=&genes=&modality=`, `GET /api/search?q=`, `GET /api/export_csv`, `GET /api/sample_csv`, `POST /api/perturb_csv` (JSON `{csv, genes, modality, label}`). Errors return HTTP 400 with `error`.