Skip to main content

SegTraQ

PyPI version

⚠️ Note: SegTraQ is under active development. Features, interfaces, and functionality may change in upcoming releases. SegTraQ currently supports imaging-based spatial transcriptomics data only. Support for sequencing-based spatial transcriptomics is in development and will be included in a future release. To install the latest development version, run pip install git+https://github.com/LazDaria/SegTraQ.

SegTraQ (Segmentation and Transcript Assignment Quality Assessment) is a Python toolkit for quantitative and visual quality assessment of segmentation and transcript assignment in spatial omics data.

SegTraQ provides six modules that assess different aspects of segmentation quality in spatial transcriptomics data.

Getting Started

Please refer to the documentation for details on the API and tutorials.

Installation

To install SegTraQ, first create a python environment and install the package using

pip install segtraq

The installation of the package should take less than a minute.

Configuration

The number of CPU cores used by SegTraQ can be set globally via segtraq.settings.n_jobs or individually for each metric using the n_jobs parameter. By default, SegTraQ uses one core (n_jobs=1).

import segtraq as st

st.settings.n_jobs -1  # Use all available CPU cores

System Requirements

Hardware Requirements

SegTraQ requires only a standard computer with enough RAM to support the in-memory operations.

Software Requirements

SegTraQ depends on the following packages:

spatialdata
spatialdata-plot
anndata
scanpy
squidpy
ovrlpy
ome_zarr
geopandas
rtree
rasterio
tqdm
typer
joblib
ipywidgets
rctd-py (optional)

Metadata

Release files for segtraq 0.0.8

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

Source distribution (sdist)

Source distribution for segtraq 0.0.8
File Size Uploaded Provenance Actions
segtraq-0.0.8.tar.gz 3.5 MB Without provenance Details for segtraq-0.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for segtraq 0.0.8
File Interpreter ABI Platform Actions
segtraq-0.0.8-py3-none-any.whl Python 3 none any Details for segtraq-0.0.8-py3-none-any.whl

Total release size: 3.6 MB

Release files / segtraq-0.0.8.tar.gz

Download URL segtraq-0.0.8.tar.gz
Size 3.5 MB
Tags Source
SHA-256 checksum
How to use checksums
dabf925cbcdf83a319f9ab5b2fc573656720731cb9b380887f76905f4c347c3d
BLAKE2b-256 checksum
How to use checksums
b7cc0423d02627f8137dd7befcc9f4da0d81b6aadd9ddf0aad3937bd5739cac4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / segtraq-0.0.8-py3-none-any.whl

Download URL segtraq-0.0.8-py3-none-any.whl
Size 117.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91b9a266c903eddf9bf8336949d8a8829cfae04bcf574d7f65b16f8d180ab031
BLAKE2b-256 checksum
How to use checksums
1f73366439b02223ab9dd9b1fcc859c92b302f3414ac34a763de927a7ad267c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for segtraq 0.0.8

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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