Skip to main content

deTACH: Detaching spatial Trascriptomics into Annotated Cells with High confidence

Project description

deTACH - Detaching spatial Trascriptomics into Annotated Cells with High confidence

A pre-release of DeTACH is called pytacs and is also available in pypi. No major difference currently.

MIT License

Copyright (c) 2025 X. Liu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

A tool for assembling sub-cellular spots in subcellular-resolution spatial transcriptomics into pseudo-single-cell spots and cell-type mapping leveraging paired scRNA-seq, without reliance on imaging information.

Installation

Executable

An executable is available in Release.

PyPI module

It could be simply installed by pip install pydetach (Python version: 3.12).

For conda users,

conda create -n detach python=3.12 -y
conda activate detach
pip install pydetach

For python3 users, first make sure your python is of version 3.12, and then in your working directory,

python -m venv detach
source detach/bin/activate
python -m pip install pydetach

To use it for downstream analysis in combination with Squidpy, it is recommended to use a seperate virtual environment to install Squidpy.

Usage

deTACH now is packed as a commandline module:

See help:

$ detach -h

if you've downloaded the executable, or

$ python -m pydetach -h

if you've installed the Python module.

If you are interested in using pydetach as a python package, we recommend using pydetach.recipe module. See docstring therein.

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

pydetach-1.0.6.post1.tar.gz (38.0 kB view details)

Uploaded Source

Built Distribution

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

pydetach-1.0.6.post1-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

Details for the file pydetach-1.0.6.post1.tar.gz.

File metadata

  • Download URL: pydetach-1.0.6.post1.tar.gz
  • Upload date:
  • Size: 38.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.8 Linux/5.4.0-216-generic

File hashes

Hashes for pydetach-1.0.6.post1.tar.gz
Algorithm Hash digest
SHA256 6e3ba80af047552e6505ee67f6ee180eadd3d7d381a0f9759abf13c39c32c490
MD5 aea6bd22ab67f468b3e66fb6394802aa
BLAKE2b-256 65e1c51e68be513a92dfca471fedea330a1df5bc57931bd052ed1acc83784364

See more details on using hashes here.

File details

Details for the file pydetach-1.0.6.post1-py3-none-any.whl.

File metadata

  • Download URL: pydetach-1.0.6.post1-py3-none-any.whl
  • Upload date:
  • Size: 41.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.8 Linux/5.4.0-216-generic

File hashes

Hashes for pydetach-1.0.6.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 590d4930eb2ff862161dbec9aa8e09119f0bec0eb1e520ef0aa5a362d2671b00
MD5 d134a08a92e687ce3d84f100b2f1897b
BLAKE2b-256 320d38edabd09a53a96794930a3c854797dbe9c9ff9a07816bb5f8417712a9ed

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