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.

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

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.0.5.tar.gz (46.1 kB view hashes)

Uploaded Source

Built Distribution

cas_tools-1.0.5-py3-none-any.whl (57.9 kB view hashes)

Uploaded Python 3

Supported by

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