Skip to main content

Package for the analysis of transcripts outside segmented cells in python

Project description

troutpy

Tests Documentation

Package for the analysis of unassigned RNA during segmentation in image-based spatial transcriptomics, in python.

alt text

Getting started

Please refer to the documentation, in particular, the API documentation.

Installation

You neeed to have Python 3.10 or newer installed on your system. If you don't have Python installed, we recommend installing Mambaforge.

There are several alternative options to install troutpy:

  1. Install the latest release of troutpy from PyPI:
pip install troutpy
  1. Install the latest development version:
pip install git+https://github.com/theislab/troutpy.git@main

Some functionality (spatial statistics, segmentation-free clustering, chord-diagram plots, morphological metrics, factor analysis, vendor-format readers) requires optional extras. Install everything with pip install "troutpy[all]", or pick individual extras (spatial-stats, segmentation-free, chord, morphology, factor-analysis, io, viz) as needed.

Usage

Please have a look at the Usage documentation and the tutorials.

import troutpy as tp

Reproducibility

Code, notebooks, and instructions to reproduce the results from the paper are available at the reproducibility repository. This repository also include diverse tutorials and compementary functions that are not core to Troutpy, but are required to reproduce the figures from Marco Salas et al. 2025.

Release notes

See the changelog.

Contact

For questions and help requests, you can reach out in the scverse discourse. If you found a bug, please use the issue tracker.

Citation

t.b.a

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

troutpy-0.1.1.tar.gz (16.5 MB view details)

Uploaded Source

Built Distribution

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

troutpy-0.1.1-py3-none-any.whl (109.9 kB view details)

Uploaded Python 3

File details

Details for the file troutpy-0.1.1.tar.gz.

File metadata

  • Download URL: troutpy-0.1.1.tar.gz
  • Upload date:
  • Size: 16.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for troutpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 50ab93014dd6f5fea5f8b31adb33e3e51bc08b47e65adc78c53e7cf0e929d15d
MD5 5845fc4c345d6bfa298a06be5ff7f859
BLAKE2b-256 41b49d137d98198f2ae59bb7bc5704efaad3f8c8ab2db8a3da1a8841a032fdca

See more details on using hashes here.

Provenance

The following attestation bundles were made for troutpy-0.1.1.tar.gz:

Publisher: release.yaml on theislab/troutpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file troutpy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: troutpy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 109.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for troutpy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d6b8031eb64f6f3d4f5cf7a35e586787fdc3e1d4d2ec4c567a4311f83ae6e736
MD5 cddef48c0ac46050e514df7b581ef3fb
BLAKE2b-256 240c7f014d6208f8b21e9c3335f7f3eecf20b092f46351a5d9ffd52a079c1e4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for troutpy-0.1.1-py3-none-any.whl:

Publisher: release.yaml on theislab/troutpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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