Skip to main content

TACCO: Transfer of Annotations to Cells and their COmbinations

TACCO is a python framework for working with categorical and compositional annotations for high-dimensional observations, in particular for transferring annotations from single cell to spatial transcriptomics data. TACCO comes with an extensive ever expanding documentation and a set of example notebooks. If TACCO is useful for your research, you can cite Nat Biotechnol (2023).

How to install TACCO

Conda

The simplest way to install TACCO is to create a clean environment with conda create using the environment.yml file from the TACCO repository:

conda create -n TACCO_env -c conda-forge tacco

To install TACCO in an already existing environment, use conda install:

conda install -c conda-forge tacco

Pip

It is also possible to install from pypi via pip:

pip install tacco

This is however not recommended. Unlike conda, pip cannot treat python itself as a package, so if you start with the wrong python version, you will run into errors with dependencies.

Github

To access the most recent pre-release versions it is also possible to pip-install directly from github:

pip install tacco@git+https://github.com/simonwm/tacco.git

Obviously, this is not recomended for production environments.

How to use TACCO

TACCO features a fast and straightforward API for the compositional annotation of one dataset, given as an anndata object adata, with a categorically annotated second dataset, given as an anndata object reference. The annotation is wrapped in a single function call

import tacco as tc
tc.tl.annotate(adata, reference, annotation_key='my_categorical_annotation', result_key='my_compositional_annotation')

where 'my_categorical_annotation' is the name of the categorical .obs annotation in reference and 'my_compositional_annotation' is the name of the new compositional .obsm annotation to be created in adata. There are many options for customizing this function to call e.g. external annotation tools, which are described in the documentation of the annotate function.

As the TACCO framework contains much more than a compositional annotation method (single-molecule annotation, object-splitting, spatial co-occurrence analysis, enrichments, visualization, ...), its documentation does not fit into a README.

Metadata

Release files for tacco 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tacco 0.5.0
File Size Uploaded Provenance Actions
tacco-0.5.0.tar.gz 577.6 kB Without provenance Details for tacco-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 771.4 kB

Release files / tacco-0.5.0.tar.gz

Download URL tacco-0.5.0.tar.gz
Size 577.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e192509c9182b36e1ca9d0e7baa00df90abdff3b6eba896ea3135f8cb8154eee
BLAKE2b-256 checksum
How to use checksums
bd4ea0b79fffc6405d29ba90c45e9318ea34686a8af2cb996b48273e11065742
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / tacco-0.5.0-py3-none-any.whl

Download URL tacco-0.5.0-py3-none-any.whl
Size 193.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a545ed43732440bbb6ea3c2bf1c17543b59e412d064714ac72e5174dbbf9b64
BLAKE2b-256 checksum
How to use checksums
d9236e31002d78b7c848c4eb3ef07ac2411e68719cb1eeed3f498df517555112
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for tacco 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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