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:

scanpy
spatialdata
geopandas
rtree
rasterio
squidpy
anndata
ovrlpy

Metadata

Release files for segtraq 0.0.7

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.7
File Size Uploaded
segtraq-0.0.7.tar.gz 107.0 kB Details

Built distribution (wheel)

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

Total release size: 221.7 kB

Release files / segtraq-0.0.7.tar.gz

Download URL segtraq-0.0.7.tar.gz
Size 107.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c837a211a3b051cf6a1d173e04358d91ddcf85c3519015d983bd5d7aa6f6ffd5
BLAKE2b-256 checksum
How to use checksums
1a86662f174d668e3875337a5447275773c219c9556059a291c43382becd7cf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL segtraq-0.0.7-py3-none-any.whl
Size 114.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd4a427f67a665a47cb341cf805438e7d28b5bf74d423f1184de35783a2ec6b0
BLAKE2b-256 checksum
How to use checksums
344bca0373499f21bce697a2070b701417dd79c26903d835c37d14f115638fdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

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