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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydetach-1.0.7.tar.gz
  • Upload date:
  • Size: 38.5 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.7.tar.gz
Algorithm Hash digest
SHA256 82d03d1c82af2f1bf081bfab590b7107865f0f6f78935a20a546d323d7c07bc4
MD5 6c19e1dd88dd339b5f1b9b6cdd9cd388
BLAKE2b-256 a8c3c0668b24302287658ba9dfc750ca5877e1ffdfbb62dd27845b7d6a8cd493

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pydetach-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 42.0 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 feb355f2da6420d5909f0eee487dbb8819c727cbb8754ab34d350cd3f9c6d8bb
MD5 c36b56748f7a6e3cbcdc297e9b9c2c97
BLAKE2b-256 fba0e53656d54bbb91bdea88610f57ea5118ba8d1138f300c1b3229c70cbe20e

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