perturblite

Python · Prototype (v0.1.0)

A NumPy-only Python package that loads a compact PerturbLite model file (about 4.6 MB) and predicts the mean transcriptome response to knocking down a gene in learned cell systems: five cell lines, three CD4+ T-cell states, a second-lab H1 line and A549. It starts from SLIM and adds catalog features and the responses of the same gene in the other systems. The package has a Python API and a command-line interface.

Installation

Python (from a clone)

pip install -e .

Requires Python 3.9 or newer and NumPy. A PyPI release is not planned yet. Model files are not part of the repository; see the data terms before building or sharing one.

Status

Six tests on a synthetic model pass in Linux CI on Python 3.9, 3.11 and 3.12 (November 19, 2026). In a local check the package reproduced the research implementation exactly for all ten systems (maximum difference 0). Model files are not distributed because the terms of some source data are unverified. Predictions for genes not seen in training did not agree with an independent platform (LINCS L1000 knockout signatures) beyond chance, and that check has a low ceiling; use them as hypotheses.

Links

All software