Skip to main content

FEAST | Parameter-cloud modeling of spatial transcriptomics for simulation and de novo virtual slices

License: MIT Python 3.11

FEAST simulates spatial transcriptomics counts by modeling each gene's mean, variance and sparsity. Use a measured slice to generate new counts on the same tissue layout, or design a virtual slice from a spatial blueprint. The package also supports alignment, deconvolution and batch-effect benchmarks.

Installation

FEAST-py 1.1.0 requires Python 3.11. In a Python 3.11 environment, install the published package and check which copy Python imports.

python -m pip install "FEAST-py==1.1.0"
python -c "from importlib.metadata import version; import FEAST; print(version('FEAST-py'), FEAST.__file__)"

For an editable Conda installation, follow the source installation guide.

Simulate a slice

import scanpy as sc
from FEAST import Alteration, simulate

# Supply raw counts in X and XY coordinates in obsm["spatial"].
adata = sc.read_h5ad("your_spatial_data.h5ad")
simulated_adata = simulate(adata, seed=7)

# Request a twofold change in the target mean expression.
altered_adata = simulate(adata, alteration=Alteration.mean_only(fold_change=2.0), seed=7)

The returned AnnData contains simulated counts in .X and retains the reference spot coordinates.

Tutorials

The six notebooks cover single-slice simulation and GraphST clustering, alignment, deconvolution, scVI batch correction, 2D conditional transfer and 3D atlas transfer. The tutorial guide lists the input files and environment for each example.

Article Reproduction

The article's analysis and plotting scripts are in figure_reproduce. The reproduce_code/ subdirectory contains the study and preprocessing scripts, and reproduce_figures/Scripts/ contains the plotting scripts. To replay an article workflow, use the corresponding study configuration, inputs and results in the external reproduction workspace.

Metadata

Release files for FEAST-py 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for FEAST-py 1.1.0
File Size Uploaded Provenance Actions
feast_py-1.1.0.tar.gz 116.4 kB With provenance Details for feast_py-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for FEAST-py 1.1.0
File Interpreter ABI Platform Actions
feast_py-1.1.0-py3-none-any.whl Python 3 none any Details for feast_py-1.1.0-py3-none-any.whl

Total release size: 245.0 kB

Release files / feast_py-1.1.0.tar.gz

Download URL feast_py-1.1.0.tar.gz
Size 116.4 kB
Tags Source
SHA-256 checksum
How to use checksums
605642fed062765dd4f899fa45e2de88fbf57bce865d868d1999486feaabdb08
BLAKE2b-256 checksum
How to use checksums
6214e8fd0ae38aaff014e9771d4ae63e594529a6e55c070b4baed7f392ab5330
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 22, 2026.

Transparency log

Release files / feast_py-1.1.0-py3-none-any.whl

Download URL feast_py-1.1.0-py3-none-any.whl
Size 128.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1052334ce9f6171336ac0edd0eba109de02a985d1e27a1a963b26538e56dc6a6
BLAKE2b-256 checksum
How to use checksums
6c10d0fef96f5dc2dee390fb6acfc1b57c2e09884b049e3d7cfdf8118e0a0240
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 22, 2026.

Transparency log

Security for FEAST-py 1.1.0

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.

Select from 2 files

Attestation for feast_py-1.1.0.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 22, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page