{"id":20956476,"url":"https://github.com/bluebrain/bbp-atlas-web-exporter","last_synced_at":"2026-02-23T08:34:29.838Z","repository":{"id":255732329,"uuid":"851621859","full_name":"BlueBrain/bbp-atlas-web-exporter","owner":"BlueBrain","description":"Export the Blue Brain Atlas Pipeline to be consumed by the Atlas web app","archived":false,"fork":false,"pushed_at":"2024-11-14T10:25:29.000Z","size":55335,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-27T14:14:19.871Z","etag":null,"topics":["atlas","database"],"latest_commit_sha":null,"homepage":"","language":"C","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/BlueBrain.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.txt","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-03T12:36:06.000Z","updated_at":"2024-11-14T10:25:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9a70bb3-02f2-41be-81fe-9f041ec49ca7","html_url":"https://github.com/BlueBrain/bbp-atlas-web-exporter","commit_stats":null,"previous_names":["bluebrain/bbp-atlas-web-exporter"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/BlueBrain/bbp-atlas-web-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueBrain%2Fbbp-atlas-web-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueBrain%2Fbbp-atlas-web-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueBrain%2Fbbp-atlas-web-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueBrain%2Fbbp-atlas-web-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlueBrain","download_url":"https://codeload.github.com/BlueBrain/bbp-atlas-web-exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueBrain%2Fbbp-atlas-web-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29740026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["atlas","database"],"created_at":"2024-11-19T01:26:10.345Z","updated_at":"2026-02-23T08:34:29.788Z","avatar_url":"https://github.com/BlueBrain.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BlueBrainAtlas WebExporter\n\nThe web exporter is a suite of tools to facilitate the conversion and export of the Blue Brain Atlas pipeline to web-friendly datasets to be consumed by the Atlas web app.  \n\nOnce installed, this package exposes two CLIs:\n- `cellexport`\n- `parcellationexport`\n\n# Installation\n`pip install \"blue-brain-atlas-web-exporter\"`\n\nThis will automatically install the CLIs listed below and make them available in your `PATH`.\n\n# Examples\n## cellexport\nThe CLI `cellexport` converts a cell-position SONATA file into a set of RandomAccessBuffer files (RAB) as well as a JSON metadata file containing a few computed metrics.  \nHere is the list of arguments:\n- `--help` displays the help menu\n- `--version` displays the version number\n- `--hierarchy \u003cFILE PATH\u003e` input path to the brain region hierarchy file (commonly called *1.json*) — **mandatory**\n- `--sonata \u003cFILE PATH\u003e` input path to the SONATA file containing cell positions/orientation/brain-regions/celltypes — **mandatory**\n- `--downsampling-factor \u003cNUMBER\u003e` factor to downsample the data — **optional** (default: `1`, no downsampling. Example: a factor of 100 will keep only one value every 100)\n- `--out-postion \u003cFILE PATH\u003e` output path to the RAB file that contains the cell positions — **mandatory**\n- `--out-cell-type \u003cFILE PATH\u003e` output path to the RAB file that contains the cell types — **mandatory**\n- `--out-orientation \u003cFILE PATH\u003e` output path to the RAB file that contains the cell orientations — **mandatory**\n- `--out-region \u003cFILE PATH\u003e` output path to the RAB file that contains the cell region IDs — **mandatory**\n- `--out-metadata \u003cFILE PATH\u003e` output path the JSON file that contains the metadata — **mandatory**\n\n\n## parcellationexport\nThe CLI `parcellationexport` computes all the meshes (`.OBJ` files) as well as the binary masks (`.nrrd` files) for all the regions available in both the hierarchy file (input) and the annotation volume (input). Many intermediate regions from the hierarchy file do not have any voxel representation and instead are composed of voxels from their child region, thus, this CLI computes all the aggregations necessary to recreate binary masks for those regions. This CLI also output a JSON metadata file with metrics regarding the volume and volume ration for all the regions.  \n\nFor each region, this CLI also generates a list of neighbour regions (`adjacentTo`) and the list of neighbour region that are on the same layer, when applicable (`continuousWith`). Note that `continuousWith` is a subset of `adjacentTo` and while `adjacentTo` entirely relies on volumetric data, `continuousWith` leverages the region hierarchy and in particular the regions' acronyms. Those metadata are part of the main JSON payload, alongside with the region volumes.\n\nHere is the list of arguments:  \n- `--help` displays the help menu\n- `--version` displays the version number\n- `--hierarchy \u003cFILE PATH\u003e` input path to the brain region hierarchy file (commonly called *1.json*) — **mandatory**\n- `--parcellation-volume \u003cFILE PATH\u003e` input path to the parcellation file format (*.nrrd*) — **mandatory**\n- `--out-mesh-dir \u003cDIR PATH\u003e` output path for the directory where the region/parcellation mesh files (*.obj*) will be written. Each file will have the name corresponding to the ID of the region (example: `997.obj` for the whole brain) — **mandatory**\n- `--out-mask-dir \u003cDIR PATH\u003e` output path for the directory where the region/parcellation binary mask volumes (*.nrrd*). Each file will have the name corresponding to the ID of the region (example: `997.nrrd` for the whole brain) — **mandatory**\n- `--out-metadata \u003cFILE PATH\u003e` output path to the JSON file that contains the metadata - **mandatory**\n\n# Funding \u0026 Acknowledgment \nThe development of this software was supported by funding to the Blue Brain Project, a \nresearch center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss \ngovernment's ETH Board of the Swiss Federal Institutes of Technology.\n \nCopyright © 2015-2022 Blue Brain Project/EPFL\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluebrain%2Fbbp-atlas-web-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluebrain%2Fbbp-atlas-web-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluebrain%2Fbbp-atlas-web-exporter/lists"}