{"id":48879436,"url":"https://github.com/obophenotype/brain_data_standards_ontologies","last_synced_at":"2026-04-16T02:04:51.847Z","repository":{"id":40267422,"uuid":"299404353","full_name":"obophenotype/brain_data_standards_ontologies","owner":"obophenotype","description":"A repository for co-ordinating work on ontologies for the Brain Data Standards Project","archived":false,"fork":false,"pushed_at":"2025-07-04T20:54:18.000Z","size":314792,"stargazers_count":11,"open_issues_count":32,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-04T21:31:05.044Z","etag":null,"topics":["anatomy-ontology","brain","brain-data","cell-types","metadata","neuroanatomy","neuron","obofoundry","ontology"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/obophenotype.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-09-28T18:57:54.000Z","updated_at":"2025-07-04T20:54:15.000Z","dependencies_parsed_at":"2025-07-04T21:35:20.292Z","dependency_job_id":null,"html_url":"https://github.com/obophenotype/brain_data_standards_ontologies","commit_stats":{"total_commits":595,"total_committers":7,"mean_commits":85.0,"dds":"0.39831932773109247","last_synced_commit":"9f90d55fefa2050a50684e13556b96487dca4926"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/obophenotype/brain_data_standards_ontologies","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obophenotype%2Fbrain_data_standards_ontologies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obophenotype%2Fbrain_data_standards_ontologies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obophenotype%2Fbrain_data_standards_ontologies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obophenotype%2Fbrain_data_standards_ontologies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obophenotype","download_url":"https://codeload.github.com/obophenotype/brain_data_standards_ontologies/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obophenotype%2Fbrain_data_standards_ontologies/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31867716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anatomy-ontology","brain","brain-data","cell-types","metadata","neuroanatomy","neuron","obofoundry","ontology"],"created_at":"2026-04-16T02:04:39.437Z","updated_at":"2026-04-16T02:04:51.835Z","avatar_url":"https://github.com/obophenotype.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Brain Data Standards Ontologies ![Build Status](https://github.com/obophenotype/brain_data_standards_ontologies/workflows/CI/badge.svg)\n\n\nA repository for building ontologies for the Brain Data Standards Project.\n\nStatus: Draft\n\n### Cite:\n[BioRxiv Preprint](https://www.biorxiv.org/content/10.1101/2021.10.10.463703)\n\n### Overview:\n\nThe main purpose of this repo is to automate data driven cell-type ontology development for the Brain Data Standards initiative.  The main inputs are:\n\n1. Dendrograms (JSON) format, provided by the Allen, encoding data driven classification of brain cell types. These files also include a nomenclature standard (and mapping system) developed by the Allen: https://arxiv.org/abs/2006.05406.  See [dendrogram spec](https://github.com/obophenotype/brain_data_standards_ontologies/blob/master/doc/dendrogram_spec.md) for details. \n2. CSV files identifying and summarising dendograms - including species \u0026 anatomical region\n2. CSV mapping files that combine dendogram nodes into groupings tht do not correspond to any single dendrogram node, but do correspond to known cell types.\n3. Marker files (robot templates) that map marker combinations with high predictive capacity for dendrogram nodes (generated by NS-Forest) onto those nodes\n4. Automatically seeded, manually curated robot templates mapping nodes to classes in CL and to various properties (e.g. soma location)\n\n***Figure 1: Build overview***\n\n![image](https://user-images.githubusercontent.com/112839/103354330-2ffa7580-4aa3-11eb-8444-81b73e09adf4.png)\n\nThe Build system is an extended version of the [Ontology Development Kit](https://github.com/INCATools/ontology-development-kit) - an automated ontology build system using [ROBOT](http://robot.obolibrary.org/) and MakeFiles. As well as managing the build from input files, this also automatically generated modules from referenced ontologies and integrates these into the build. \n\n### Schema\n\n[Schema doc](https://github.com/obophenotype/brain_data_standards_ontologies/blob/master/doc/ontology_schema.md)\n\n### Building \n\nYou will need Docker installed.  Running a build will pull the required containers with all required dependencies.\n\nTo build \n\n```sh\ncd src/ontology\nsh ./run.sh make prepare_release\n```\n\nThis dynamically updates imports as well as building reasoned release files.  The slowest part of the build is mirroring (downloading and reserialising) external ontologies.  If you've run a build recently, mirrored versions will already be stored in the src/ontology/mirror.  To run a build without mirroring:\n\n```sh\ncd src/ontology\nsh ./run.sh make prepare_release MIR=false\n```\n\nTo extend the ontologies imported from.  Edit [bdscratch-odk.yaml](https://github.com/obophenotype/brain_data_standards_ontologies/blob/master/src/ontology/bdscratch-odk.yaml) to add the required ontology to import_group.products, then run:\n\n```\nsh ./run.sh make update_repo\n```\n\nThe update the import statements in src/ontology/bdscratch-edit.owl.\n\n### Extensions to the standard ODK MakeFile build\n\nExtensions to the build are specified (as per ODK standard) in [bdscratch.Makefile](https://github.com/obophenotype/brain_data_standards_ontologies/blob/master/src/ontology/bdscratch.Makefile). \n\n\n#### Building robot templates from Dendrograms\n\nDendrograms live in [/src/dendrograms/](https://github.com/obophenotype/brain_data_standards_ontologies/blob/master/src/dendrograms/).  They are named according to their Allen Dendrogram ID, e.g. CCN201908210.json\n\nWe expect dendrograms to remain stable for relatively long periods of time and at least some generated Robot templates are intended to be manually edited to map to CL classes / property driven classification.  For these reasons, we store generated templates on the repo and build them as needed using a separate MakeFile - [src/dendrograms/Makefile](https://github.com/obophenotype/brain_data_standards_ontologies/blob/master/src/dendrograms/Makefile).  \n\nTo build (be careful you don't wipe out curation!): \n\n```sh\ncd src/dendrograms\n# Build all\nsh ./run.sh make\n# Build specific template\nsh ./run.sh make \u003ctemplate_filename\u003e\n# Build a specific set of tempaltes\nsh ./run.sh make JOBS=\u003cdendrogram_id\u003e\n```\n\nTempaltes are build from dendrograms using python scripts in [src/scripts](https://github.com/obophenotype/brain_data_standards_ontologies/tree/master/src/scripts)\n\nExtended information about groupings of taxonomy nodes that are candidates for curation are stored in additional tsv files (accession.tsv)\nSupport for incorporating this informtion into templates is TBA.\n\n\n### Robot templates\n\nRobot templates live in  [/src/tempaltes/](https://github.com/obophenotype/brain_data_standards_ontologies/blob/master/src/templates/). \n\n\nfilename | e.g. | Description\n-- | -- | --\n{accession}.tsv | CCN201810310.tsv | Template for generating taxonomy as OWL individuals\n{accession}\\_class.tsv | CCN201810310_class.tsv | Templates for generating classes corresponding to OWL individuals in taxonomy. Includes slots for curating cell type \u0026 properties\n{accession}\\_markers.tsv | CCN201810310_markers.tsv | Templates for adding markers.  Referenced markers must be present in gene reference files.\nensmusg.tsv | {ensembl_gene_file}.tsv | Robot template listing all genes (all possible markers) for analysis/dendrogams of some specific species.\n\nensembl_gene_file name follows standard ensembl ID prefixes but in lowercase e.g. ensmusg.tsv (ensembl mouse gene) has genes with IDs of the form: ENSMUSG{numeric_accession}\n\n#### Markers\n\nMarkers are referenced by enembl ID using an [identifiers.org URL scheme](https://registry.identifiers.org/registry/ensembl)\n\nensembl gene file templates are used to generate mirror files, which act as source files for import generation, so that only referenced markers end up in the release files.\n\n### Reference Gene Files\n\nGTF files used as reference for BDSO can be found in this [google drive folder](https://drive.google.com/drive/folders/1rOYwiIxGgEolWsO3a-7g6rxUefsXIcKB)\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobophenotype%2Fbrain_data_standards_ontologies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobophenotype%2Fbrain_data_standards_ontologies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobophenotype%2Fbrain_data_standards_ontologies/lists"}