You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace atlas-<label>_description.json with atlases.tsv pattern
This change makes BEP038's atlas metadata approach consistent with
existing BIDS conventions for entity-specific TSV files (like
participants.tsv, sessions.tsv, descriptions.tsv).
Changes:
- Replace atlas-<label>_description.json with atlases.tsv
- Add templates.tsv for template metadata
- Add tpl-<label>_cohorts.tsv for cohort metadata within templates
- Support tpl-<label>_atlases.tsv for template-level atlas metadata
The atlases.tsv includes columns derived from the original JSON fields:
- atlas_id, name, license (REQUIRED)
- description, authors (RECOMMENDED)
- curators, funding, references_and_links, species, sample_size,
derived_from, level_type, rrid (OPTIONAL)
Array fields (authors, curators, funding, references_and_links) use
JSON-encoded strings in TSV cells.
Schema changes:
- Added column definitions for all atlas/template/cohort TSV columns
- Added suffix definitions for atlases, templates, cohorts
- Added tabular_data rules for column validation
- Added file rules supporting both root-level and template-level naming
- Removed old atlas_description JSON-based rules and associations
This addresses the inconsistency noted in:
- Issue #2285: atlas-<label>_description.json pattern introduced by BEP038
- Issue #2283: Proposal to formalize {entities_plural}.tsv pattern
This is a follow-up to PR #1714 (BEP038: Templates and atlases).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>
For columns that represent arrays (such as `authors`, `curators`, `funding`,
320
+
and `references_and_links`), the value MUST be a JSON-encoded array of strings.
321
+
For example: `["Jane Doe", "John Doe"]`.
322
+
323
+
!!! tip "Recommendation"
324
+
325
+
The selected `<label>` in the `atlases.tsv` file is RECOMMENDED
326
+
for the [`atlas-<label>` entity](../appendices/entities.md#atlas)
327
+
in downstream derivatives from this particular atlas (see previous section
328
+
[Derivatives from atlases](imaging.md#derivatives-from-atlases)).
329
+
330
+
`atlases.tsv` example:
331
+
332
+
```tsv
333
+
atlas_id name license description authors species sample_size references_and_links
334
+
atlas-Diedrichsen2009 A probabilistic MR atlas of the human cerebellum LICENSE file Probabilistic atlas of the human cerebellum ["Jörn Diedrichsen", "Joshua H Balsters", "Jonathan Flavell", "Emma Cussans", "Narender Ramnani"] human 20 ["https://doi.org/10.1016/j.neuroimage.2009.01.045"]
335
+
atlas-Buckner2011 Atlas of the human cerebellum estimated by intrinsic functional connectivity LICENSE file Cerebellar atlas estimated by intrinsic functional connectivity ["Randy L Buckner", "Fenna M Krienen", "Angela Castellanos", "Julio C Diaz", "B T Thomas Yeo"] human 1000 ["https://doi.org/10.1152/jn.00339.2011"]
336
+
```
337
+
338
+
It is RECOMMENDED to accompany each `atlases.tsv` file with a sidecar
339
+
`atlases.json` file to describe the TSV column names and properties of their values
340
+
(see also the [section on tabular files](../common-principles.md#tabular-files)).
341
+
342
+
`atlases.json` example:
225
343
226
344
```JSON
227
345
{
228
-
"Name": "A new atlas of the human brain",
229
-
"Authors": [
230
-
"Jane Doe",
231
-
"John Doe"
232
-
],
233
-
"License": "CC0",
234
-
"RRID": "SCR_002823",
235
-
"Species": "Human"
346
+
"atlas_id": {
347
+
"Description": "Atlas identifier matching the atlas-<label> entity"
348
+
},
349
+
"name": {
350
+
"Description": "Name of the atlas"
351
+
},
352
+
"license": {
353
+
"Description": "License for the atlas"
354
+
},
355
+
"description": {
356
+
"Description": "Brief description of the atlas"
357
+
},
358
+
"authors": {
359
+
"Description": "JSON-encoded array of authors who created the atlas"
360
+
},
361
+
"species": {
362
+
"Description": "Species from which the atlas was derived"
363
+
},
364
+
"sample_size": {
365
+
"Description": "Number of participants used to create the atlas"
366
+
},
367
+
"references_and_links": {
368
+
"Description": "JSON-encoded array of references and links"
369
+
}
236
370
}
237
371
```
238
372
@@ -269,6 +403,7 @@ A guide for using macros can be found at
269
403
-->
270
404
{{ MACROS___make_filetree_example({
271
405
"suit-pipeline": {
406
+
"templates.tsv": "",
272
407
"tpl-SUIT": {
273
408
"anat": {
274
409
"tpl-SUIT_T1w.nii.gz": "",
@@ -296,7 +431,8 @@ A guide for using macros can be found at
296
431
-->
297
432
{{ MACROS___make_filetree_example({
298
433
"suit-pipeline": {
299
-
"atlas-Diedrichsen2009_description.json": "",
434
+
"atlases.tsv": "",
435
+
"templates.tsv": "",
300
436
"tpl-SUIT": {
301
437
"anat": {
302
438
"tpl-SUIT_T1w.nii.gz": "",
@@ -310,26 +446,11 @@ A guide for using macros can be found at
310
446
})
311
447
}}
312
448
313
-
where `atlas-Diedrichsen2009_description.json` could contain:
449
+
where `atlases.tsv` could contain:
314
450
315
-
```JSON
316
-
{
317
-
"Name": "A probabilistic MR atlas of the human cerebellum",
atlas_id name license description authors species sample_size references_and_links
453
+
atlas-Diedrichsen2009 A probabilistic MR atlas of the human cerebellum LICENSE file Probabilistic atlas of the human cerebellum ["Jörn Diedrichsen", "Joshua H Balsters", "Jonathan Flavell", "Emma Cussans", "Narender Ramnani"] human 20 ["https://doi.org/10.1016/j.neuroimage.2009.01.045"]
333
454
```
334
455
335
456
Later, in 2011 a second atlas was developed integrating new segmentations,
@@ -341,8 +462,8 @@ A guide for using macros can be found at
341
462
-->
342
463
{{ MACROS___make_filetree_example({
343
464
"suit-pipeline": {
344
-
"atlas-Buckner2011_description.json": "",
345
-
"atlas-Diedrichsen2009_description.json": "",
465
+
"atlases.tsv": "",
466
+
"templates.tsv": "",
346
467
"tpl-SUIT": {
347
468
"anat": {
348
469
"tpl-SUIT_T1w.nii.gz": "",
@@ -363,27 +484,12 @@ A guide for using macros can be found at
363
484
})
364
485
}}
365
486
366
-
where `atlas-Diedrichsen2009_description.json` remains as above,
367
-
and `atlas-Buckner2011_description.json` could contain:
487
+
where `atlases.tsv` now contains both atlases:
368
488
369
-
```JSON
370
-
{
371
-
"Name": "Atlas of the human cerebellum estimated by intrinsic functional connectivity",
372
-
"Authors": [
373
-
"Randy L Buckner",
374
-
"Fenna M Krienen",
375
-
"Angela Castellanos",
376
-
"Julio C Diaz",
377
-
"B T Thomas Yeo"
378
-
],
379
-
"SampleSize": 1000,
380
-
"License": "LICENSE file",
381
-
"ReferencesAndLinks": [
382
-
"https://doi.org/10.1152/jn.00339.2011",
383
-
"https://github.com/jdiedrichsen/suit"
384
-
],
385
-
"Species": "Human"
386
-
}
489
+
```tsv
490
+
atlas_id name license description authors species sample_size references_and_links
491
+
atlas-Buckner2011 Atlas of the human cerebellum estimated by intrinsic functional connectivity LICENSE file Cerebellar atlas estimated by intrinsic functional connectivity ["Randy L Buckner", "Fenna M Krienen", "Angela Castellanos", "Julio C Diaz", "B T Thomas Yeo"] human 1000 ["https://doi.org/10.1152/jn.00339.2011"]
492
+
atlas-Diedrichsen2009 A probabilistic MR atlas of the human cerebellum LICENSE file Probabilistic atlas of the human cerebellum ["Jörn Diedrichsen", "Joshua H Balsters", "Jonathan Flavell", "Emma Cussans", "Narender Ramnani"] human 20 ["https://doi.org/10.1016/j.neuroimage.2009.01.045"]
387
493
```
388
494
389
495
### Example: Deriving a new atlas referenced in an existing template
@@ -398,7 +504,8 @@ A guide for using macros can be found at
0 commit comments