Skip to main content

Python Boilerplate contains all the boilerplate you need to create a Python package.

Project description

TMA de-arraying for spatial transcriptomics

STile helps segment tissue microarray (TMA) cores from single-cell spatial transcriptomics data and prepare platform-specific outputs for downstream analysis.

What it does

  • Detects tissue cores by clustering cell centroids with HDBSCAN and refining core labels for Vizgen, Xenium, and CosMx outputs.

Main entry points

  • stile identify_tissue_cores: Load a .h5ad, cluster cells, assign cores, and save core plots.
  • stile prepare_data: Convert Vizgen/Xenium/CosMx output directories into an .h5ad plus cell_id, x_centroid, y_centroid CSV for further processing.

Quickstart

# Build AnnData and centroid CSV from a platform run directory
stile prepare_data xenium path/to/xenium/output path/to/save
stile run

Project details


Download files

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

Source Distribution

stile-0.0.1.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

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

stile-0.0.1-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

Details for the file stile-0.0.1.tar.gz.

File metadata

  • Download URL: stile-0.0.1.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for stile-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9e780d84e0278b81c9b3a7ee907a9f5f7ec57105947f9c0a35516bdfbee13553
MD5 f2d426a8bda2c79c184cf0260a5b30bc
BLAKE2b-256 9a6d7c49dc8c8d0a1affc83524b6597b143893b195d3c596556ef2bed1af3a5d

See more details on using hashes here.

File details

Details for the file stile-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: stile-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 32.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for stile-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 71daf8147531b075a9b0d4a790ad74574b71ce3c2c9405cbcf39d4fad769ca15
MD5 e3d0f574f2180ee1f81f571569e7a3cf
BLAKE2b-256 134a085a0206bd9519efd5be8b64748b89114aec6531e90713bd8985b2119f37

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