Skip to main content

Cellarium Cell Annotation Service client tool

Reason this release was yanked:

test version

Project description

Cellarium Cell Annotation Service (CAS) Client

This codebase contains the Python client library for using Cellarium Cell Annotation Service (CAS).

Installation

$ pip install cellarium-cas

Usage

To use Cellarium CAS, create a client instance with your API token:

from cellarium.cas import CASClient

api_token = "a_very_long_string_with_some_symbols"
cas = CASClient(
  api_token=api_token,
  api_url="<optional url to connect to a non-standard CAS server>"
)

Annotation

You can annotate 10x Cell Ranger h5 matrices from local disk:

response = cas.annotate_10x_h5_file(filepath="your_path_to_local_h5_file.h5")

or an anndata file from local disk:

response = cas.annotate_anndata_file(filepath="your_path_to_local_h5_file.h5ad")

or a previously loaded (unnormalized) anndata object:

import anndata


adata = anndata.read("you_anndata_file.h5ad")
response = cas.annotate_anndata(adata)

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

cellarium-cas-0.0.3.tar.gz (117.2 kB view hashes)

Uploaded Source

Built Distribution

cellarium_cas-0.0.3-py3-none-any.whl (124.6 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