# Cell Type Annotation Tools
This repository provides schema of the cell type annotation and related data standardization operations.
## Installation
Install the latest [pypi package](https://pypi.org/project/ctat/) 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](src/schema/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](src/test/test_data/test_config.yaml). After applying this config to [the user data](src/test/test_data/AIT115_annotation_sheet.tsv), sample output file can be found at [test_result.json](src/test/test_data/test_result.json).
Raw data
{
"_id": null,
"home_page": "https://github.com/hkir-dev/cell-type-annotation-tools",
"name": "ctat",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/93/c4/54cef6244b083d8f3c2875b3060e0978f17f00b202d12b3d16653450ea8f/ctat-0.0.1.tar.gz",
"platform": null,
"description": "# Cell Type Annotation Tools\n\nThis repository provides schema of the cell type annotation and related data standardization operations.\n\n## Installation\n\nInstall the latest [pypi package](https://pypi.org/project/ctat/) through following the instructions in the pypi page.\n\n## Configuration Spec\n\nConfiguration spec defines schema for the CTA data conversion config files. Latest schema is located at: [ctat_schema.yaml](src/schema/ctat_schema.yaml)\n\n## Operations\n\nCell Type Annotation Tool provides the following operations:\n\n### Validate\n\nThe provided YAML/YML configuration file is validated against the Cell Type Annotation Schema.\n\n```\nctat validate -i /path/to/my_config.yaml\n```\n\nIf config is valid, program exits with system code 0, otherwise logs the issues and exits with a non-zero code.\n\n### Format\n\nFormats the given data into standard cell type annotation data structure using the given configuration. Output is persisted as a json file.\n\n```\nctat format -i /path/to/my_data.tsv -c /path/to/my_config.yaml -o /path/to/output.json\n```\n\nFields that are not mapped in the config file are stored as `userAnnotations`.\n\nA sample configuration file can be found at [test_config.yaml](src/test/test_data/test_config.yaml). After applying this config to [the user data](src/test/test_data/AIT115_annotation_sheet.tsv), sample output file can be found at [test_result.json](src/test/test_data/test_result.json).\n\n",
"bugtrack_url": null,
"license": "Apache-2.0 license",
"summary": "The aim of this project is to specify the Cell Type Annotation schema and related data standardization operations.",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/hkir-dev/cell-type-annotation-tools"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "14ef53b20a44ee646ad7f50a5e1ef39348ea08502c70f0740be24480a98e3870",
"md5": "b06c92e1584c4c04195a19a9531cef43",
"sha256": "19a9752a3ca215f37c55ccc4614abf939dd043fd995ffabdc60b11593a629948"
},
"downloads": -1,
"filename": "ctat-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b06c92e1584c4c04195a19a9531cef43",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 17053,
"upload_time": "2023-11-15T10:57:04",
"upload_time_iso_8601": "2023-11-15T10:57:04.213604Z",
"url": "https://files.pythonhosted.org/packages/14/ef/53b20a44ee646ad7f50a5e1ef39348ea08502c70f0740be24480a98e3870/ctat-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "93c454cef6244b083d8f3c2875b3060e0978f17f00b202d12b3d16653450ea8f",
"md5": "194e6927d3bf783669f0575a00d7aaa4",
"sha256": "1fc8e2c879c3fff98348498441ad6bf3e5e371187aa0e975fe8e1c73886ffc34"
},
"downloads": -1,
"filename": "ctat-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "194e6927d3bf783669f0575a00d7aaa4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15913,
"upload_time": "2023-11-15T10:57:05",
"upload_time_iso_8601": "2023-11-15T10:57:05.910865Z",
"url": "https://files.pythonhosted.org/packages/93/c4/54cef6244b083d8f3c2875b3060e0978f17f00b202d12b3d16653450ea8f/ctat-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-15 10:57:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hkir-dev",
"github_project": "cell-type-annotation-tools",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "ruamel.yaml",
"specs": []
},
{
"name": "jsonschema",
"specs": []
},
{
"name": "dataclasses_json",
"specs": []
},
{
"name": "pandas",
"specs": []
},
{
"name": "requests",
"specs": []
}
],
"lcname": "ctat"
}