Skip to main content

Cell Annotation Schema tools.

Project description

CAS Tools

CAS-Tools is a comprehensive utility package designed to facilitate the effective use and manipulation of the Cell Annotation Schema (CAS) in single-cell transcriptomics data analysis. CAS supports recording the rationale and evidence for single cell annotation, including gene expression evidence and details of automated annotation transfer. The standard can be saved as a separate JSON file with a resolvable link to a martix (AnnData) file containing annotated data, or embedded in the annotated AnnData file. Further details are available at https://cellannotation.github.io/cas-tools/.

Installation

You can install CAS-Tools pypi package using pip:

pip install cas-tools

Overview

CAS-Tools simplifies the use of CAS by offering a set of programmatically accessible operations including:

  • Validate Annotations: Validate annotations against the CAS standard to ensure compliance and consistency.
  • Validation of markers against linked AnnData file
  • Merge to Anndata - updating annotations in the AnnData file and saving JSON to the AnnData header.
  • Reporting: Generation of dataframe reports of CAS content from JSON.
  • Export to CAP-Anndata format: Merges into AnnData file following a derived, flattened representation of CAS, used by the Cell Annotation Platform (CAP) (CAP-Anndata).
  • Import from Allen Brain Cell Atlas (ABC) format DataFrames:

Getting Started

CAS-tools functionality can be accessed via imported object in python or via a command line tool. For CLI tool function details please see:

Project details


Release history Release notifications | RSS feed

This version

1.1.7

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cas_tools-1.1.7.tar.gz (54.4 kB view details)

Uploaded Source

Built Distribution

cas_tools-1.1.7-py3-none-any.whl (70.0 kB view details)

Uploaded Python 3

File details

Details for the file cas_tools-1.1.7.tar.gz.

File metadata

  • Download URL: cas_tools-1.1.7.tar.gz
  • Upload date:
  • Size: 54.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cas_tools-1.1.7.tar.gz
Algorithm Hash digest
SHA256 ed634b6b48381e74283e6d25537f6457438fb84efa5ff9839c8f6345eec20cb3
MD5 c0517d2df81580add1deec1da91a0303
BLAKE2b-256 06f1d44ac63c2d98894b0767d438ea539c7bba61a1b6e2b8cb0c38beafd80e0b

See more details on using hashes here.

File details

Details for the file cas_tools-1.1.7-py3-none-any.whl.

File metadata

  • Download URL: cas_tools-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 70.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cas_tools-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fda60b98b2c9447bcc877298ece6c33c4faaac7af1b039cf1b88a4d18695677d
MD5 4699f017c4d89c688bb39ee7fb1ab62a
BLAKE2b-256 8f46edcde7cdd43caf0fc2e1b6a6c90a7c7800decd795c4fed426649f774a74b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page