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
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
Built Distribution
File details
Details for the file ctat-0.0.1.tar.gz
.
File metadata
- Download URL: ctat-0.0.1.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fc8e2c879c3fff98348498441ad6bf3e5e371187aa0e975fe8e1c73886ffc34 |
|
MD5 | 194e6927d3bf783669f0575a00d7aaa4 |
|
BLAKE2b-256 | 93c454cef6244b083d8f3c2875b3060e0978f17f00b202d12b3d16653450ea8f |
File details
Details for the file ctat-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: ctat-0.0.1-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19a9752a3ca215f37c55ccc4614abf939dd043fd995ffabdc60b11593a629948 |
|
MD5 | b06c92e1584c4c04195a19a9531cef43 |
|
BLAKE2b-256 | 14ef53b20a44ee646ad7f50a5e1ef39348ea08502c70f0740be24480a98e3870 |