Skip to main content

The aim of this project is to specify the Cell Type Annotation schema and related data standardization operations.

Project description

Cell Type Annotation Tools

This repository provides schema of the cell type annotation and related data standardization operations.

Installation

Install the latest pypi package through following the instructions in the pypi page.

Configuration Spec

Configuration spec defines schema for the CTA data conversion config files. Latest schema is located at: ctat_schema.yaml

Operations

Cell Type Annotation Tool provides the following operations:

Validate

The provided YAML/YML configuration file is validated against the Cell Type Annotation Schema.

ctat validate -i /path/to/my_config.yaml

If config is valid, program exits with system code 0, otherwise logs the issues and exits with a non-zero code.

Format

Formats the given data into standard cell type annotation data structure using the given configuration. Output is persisted as a json file.

ctat format -i /path/to/my_data.tsv -c /path/to/my_config.yaml -o /path/to/output.json

Fields that are not mapped in the config file are stored as userAnnotations.

A sample configuration file can be found at test_config.yaml. After applying this config to the user data, sample output file can be found at test_result.json.

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

ctat-0.0.1.tar.gz (15.9 kB view hashes)

Uploaded Source

Built Distribution

ctat-0.0.1-py3-none-any.whl (17.1 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