Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author fields on annotaion; BICAN ext no additional props #109

Merged
merged 3 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions BICAN_extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
}
},
"Annotation": {
"additionalProperties": false,
"properties": {
"cell_set_accession": {
"type": "string",
Expand Down
13 changes: 5 additions & 8 deletions examples/BICAN_schema_specific_examples/Yao_ABC_labelset.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,21 @@
{
"labelset": "Cluster",
"cell_label": "1_MSN",
"accession": "CCN20230822_1",
"parent_cell_set_accessions": [
"CCN20230822_204",
"CCN20230822_304"
]
"cell_set_accession": "CCN20230822_1",
"parent_cell_set_accession": "CCN20230822_204"
},
{
"labelset": "Subclass",
"cell_label": "D1 matrix",
"accession": "CCN20230822_204",
"cell_set_accession": "CCN20230822_204",
"cell_ontology_term": "matrix D1 medium spiny neuron",
"cell_ontology_term_id": "CL:4030043"
},
{
"labelset": "NT",
"cell_label": "GABA",
"accession": "CCN20230822_304",
"marker_evidence": [
"cell_set_accession": "CCN20230822_304",
"marker_gene_evidence": [
"SLC6-A2"
]
}
Expand Down
6 changes: 5 additions & 1 deletion general_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
},
"Annotation": {
"type": "object",
"description": "A collection of fields recording a cell type/class/state annotation on some set os cells, supporting evidence and provenance. As this is intended as a general schema, compulsory fields are kept to a minimum. However, tools using this schema are encouarged to specify a larger set of compulsory fields for publication. \n\nNote: This schema deliberately allows for additional fields in order to support ad hoc user fields, new formal schema extensions and project/tool specific metadata.",
"description": "A collection of fields recording a cell type/class/state annotation on some set of cells, supporting evidence and provenance. As this is intended as a general schema, compulsory fields are kept to a minimum. However, tools using this schema are encouarged to specify a larger set of compulsory fields for publication. \n\nNote: This schema deliberately allows for additional fields in order to support ad hoc user fields, new formal schema extensions and project/tool specific metadata.",
"required": [
"labelset",
"cell_label"
Expand Down Expand Up @@ -129,6 +129,10 @@
"type": "string",
"description": "List of synonyms"
}
},
"author_annotation_fields": {
"type": "object",
"description": "A dictionary of author defined key value pairs annotating the cell set. The names and aims of these fields MUST not clash with official annotation fields."
}
}
}
Expand Down
Loading