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.5.tar.gz (37.9 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.5-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

Details for the file pydetach-1.0.5.tar.gz.

File metadata

  • Download URL: pydetach-1.0.5.tar.gz
  • Upload date:
  • Size: 37.9 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.5.tar.gz
Algorithm Hash digest
SHA256 cf7261c14d767eafb06493c2fa5e2b198369a51cecd16c61d50293033e9a8167
MD5 7dd2688fe55e3f236cb2ac6160854c23
BLAKE2b-256 c846a82de109e5aa1b8ecdb86d87d04fddf14134a39fd5c00e059e2699d436ac

See more details on using hashes here.

File details

Details for the file pydetach-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: pydetach-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 41.3 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c04df5fd4fb2f6c90e87512523f2e213f1a6399842f57610bd5e047e14705d00
MD5 e2473b94fa0a74da3044bf061c310fdd
BLAKE2b-256 07dd47fef127d7e2a763374d584b2f34a977ddf8168483c551b00ede21f76b71

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