Skip to main content

SegTraQ

PyPI version

⚠️ On July 28th, 2026, the history of this repository was rewritten to reduce its size. If you cloned the repo before this date and intend to contribute to this project, please create a fresh clone to avoid any conflicts!

⚠️ 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 Control) is a Python toolkit for quantitative and visual quality control of segmentation and transcript assignment in spatial omics 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:

scanpy
spatialdata
geopandas
rtree
rasterio
squidpy
anndata
ovrlpy

Release files for segtraq 0.0.6

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.6
File Size Uploaded
segtraq-0.0.6.tar.gz 95.5 kB Details

Built distribution (wheel)

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

Total release size: 197.5 kB

Release files / segtraq-0.0.6.tar.gz

Download URL segtraq-0.0.6.tar.gz
Size 95.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5c58d6390548a082e0d8cdf8368896245260d8441b21ef57a30ab28b71dc8415
BLAKE2b-256 checksum
How to use checksums
35f0340b3cffd082667d193c63a7df45621e388c074e1426a16a1c12e4b6d988
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

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

Download URL segtraq-0.0.6-py3-none-any.whl
Size 101.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b51a2632fb403ff2ce464404027acdacf6d947f1a2794b125478ce3f035fc104
BLAKE2b-256 checksum
How to use checksums
d3b999f1cd6e62e6bec2ab07cce3b1d7eac34cc43f5213469f58e6cb9c6315a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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