cafe-cellxgene
CAFE trajectory visualization and analysis tools in a floating CELLxGENE plugin window. The CLI launches a patched runtime copy (overlay), leaving the installed CELLxGENE source unchanged. Compatibility still depends on the host version.
📋 Current features
| Module | Available now |
|---|---|
| Plot | Main-panel trajectory overlay and synchronized preview; shared Preference setting for solid milestone nodes, labels, fixed-palette colors, node size, edge width/color and arrow size; static plots |
| Data | Prior information, trajectory history, embeddings, cache import and exports; optional AnnData-Web validation card |
| Method | Method/runtime selection, parameter forms, job status/logs/cancellation and result visualization; availability depends on installed runtimes |
| Explorer | Explicit pseudotime Spearman benchmark with a reference/root; Downstream Analysis groups Driver Gene, GRN, Enrichment and Pathway views |
| Agent | Local Preview of stored structure, metrics and limitations; not a reasoning agent or autonomous analysis workflow |
New trajectory/benchmark results are kept in the live session. Export them from
Data when needed; the input .h5ad is not automatically overwritten. Downstream
cards do not imply a complete GRN, enrichment or pathway workflow is implemented.
🔧 Quick start
Use Python 3.10+ with working CELLxGENE and Cafe installations in the same
environment. These dependencies are not installed by this launcher. For stored
trajectory visualization, use a Cafe/FateAnnData .h5ad with trajectory results.
Install this plugin from the repository in that environment:
# Source checkout: Node.js/npm required once to generate release assets.
npm --prefix client ci
npm --prefix client run build
python -m pip install -e .
1. Command line: launch a saved dataset
cafe-cellxgene launch /path/to/dataset.h5ad --port 5006
Open localhost:5006 and click Cafe Plugins. The installed launcher uses the bundled assets. Installing a prebuilt wheel does not require Node.js; a fresh Git clone needs the build above. Normal CELLxGENE launch options are passed through.
2. Python / Notebook: launch an existing FateAnnData
Use a Cafe version supporting wait=False in the notebook kernel environment:
import cafe
# fadata is an existing cafe.data.FateAnnData with trajectory results.
# If its trajectory has no saved UMAP projection, prepare it once:
cafe.plot.plot_trajectory(fadata, basis="X_umap", color="clusters")
server = fadata.launch_cellxgene(
use_cellxgene_cafe=True, port=5020, wait=False, open_browser=False,
conda_env=None, # use the current kernel's environment
)
# Open http://localhost:5020/ and click Cafe Plugins.
# Run separately after browsing:
server.terminate()
server.wait()
Choose basis and color from your own data (the example uses X_umap and
clusters). Startup returns only after HTTP readiness. The unique temporary
snapshot is removed after stopping; browser changes do not write back to fadata.
⚙️ Development
# In WSL/Linux, from the repository root
conda activate cafe
test -f .env || cp .env.example .env
bash scripts/dev.sh
Set CELLXGENE_SOURCE_ROOT, CELLXGENE_CONDA_ENV and CELLXGENE_DATASET in
.env, following .env.example. Development also needs Node.js/npm and a CELLxGENE
source checkout. Open backend port 5006, not frontend asset ports 3100/3101;
these defaults avoid the legacy application's 5005/3000/3001 ports. Existing
port conflicts are reported rather than force-killed by default.
Unlike the overlay CLI, dev.sh patches/copies files into the configured host
checkout. Use a dedicated development checkout. See Development
for source launches, tests, packaging and launcher options.
📚 Project guide
- Architecture and directories: folder responsibilities and
cafe_cellxgenevsserver - Development: commands, asset synchronization and troubleshooting
- Performance: startup/API measurement and troubleshooting
- Release: tagged PyPI publishing and authentication setup
- Documentation index: current user and developer guides
Metadata
Release files for cafe-cellxgene 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cafe_cellxgene-0.0.1.tar.gz | 1.8 MB | With provenance | Details for cafe_cellxgene-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cafe_cellxgene-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for cafe_cellxgene-0.0.1-py3-none-any.whl |
Total release size: 3.5 MB
Release files / cafe_cellxgene-0.0.1.tar.gz
| Download URL | cafe_cellxgene-0.0.1.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9340aac72d69065cb37b20df93a6181cf2db09f3e9831312d83d3ca92b6547fb
|
|
BLAKE2b-256 checksum How to use checksums |
0e7dc55de37926eb9e55a3425fd5069d1c2c0f5a5a0fb733cefea49f31522fb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logRelease files / cafe_cellxgene-0.0.1-py3-none-any.whl
| Download URL | cafe_cellxgene-0.0.1-py3-none-any.whl |
|---|---|
| Size | 1.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3049b7f8b75d7445a29aba3765fb7093c8532b7330691a9b28d583fccc3860d
|
|
BLAKE2b-256 checksum How to use checksums |
6c44daf1dad2aefa1a2866cf047d1a06e684e1ddb2dd5e0c272c61855540941a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logSecurity for cafe-cellxgene 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cafe_cellxgene-0.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.