Skip to main content

Popari: a probabilistic graphical model for integrated spatial transcriptomics analysis

Project description

Popari

Popari is a versatile framework for joint analysis and investigation of complex spatial transcriptomics datasets. Read the documentation (including installation instructions) here.

:warning: Popari is still under active development. Check back in a bit for a more complete user experience!

Dev instructions

For development, create a fresh Python environment; this should not contain the PyPI-published version of the package.

PyPI publishing

pip install hatch
pip install keyrings.alt

hatch build
hatch publish -r https://upload.pypi.org/legacy/

Username: __token__ Password: {API token for PyPI}

Running pytest tests

To run the provided tests and ensure that Popari can run on your platform, follow the instructions below:

  • Install pytest in your environment.
pip install pytest
  • Navigate to the root directory of this repo, and run all tests with
python -m pytest -s
  • Alternatively, run a single test suite as below:
python -m pytest -s tests/test_popari_shared.py
  • To run tests in parallel, try
python -m pytest -n 4 --dist=loadfile

Building Documentation

Assuming you have CMake:

  1. Navigate to docs/.
cd docs/
  1. Install Sphinx requirements.
pip install -r requirements.txt
  1. Clean and build.
make clean
make html
  1. Push to GitHub, and documentation will automatically build.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

popari-1.3.4.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

popari-1.3.4-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file popari-1.3.4.tar.gz.

File metadata

  • Download URL: popari-1.3.4.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for popari-1.3.4.tar.gz
Algorithm Hash digest
SHA256 f8358ff4bd18e1fa5dcabda08bcbc5cb90fa17bb60049e6c8119a4aaf9d43551
MD5 0371b1dcf17584ebcdc5d2b7e400a5dd
BLAKE2b-256 56abb89b8b8e71666b28ba0c019f50b2f3ac79822b84985226ce019d18611b83

See more details on using hashes here.

File details

Details for the file popari-1.3.4-py3-none-any.whl.

File metadata

  • Download URL: popari-1.3.4-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for popari-1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6fb79d1523b834fd21a32ae6c1292af4fada29b60d51b3619e3a8627639b4db9
MD5 21a905997661a285e3ed51cb0acfb9be
BLAKE2b-256 be0b77941edd528d896a06094e29cd56f13734340a1cbacbed8f49d9c5563888

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page