-
Notifications
You must be signed in to change notification settings - Fork 189
BEP-038: Atlases #1714
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
base: master
Are you sure you want to change the base?
BEP-038: Atlases #1714
Conversation
I made a first draft of the atlas BEP based on the Google doc
Added atlas content
All the content of the BEP038 Google document has been ported to the atlas.md file. Additionally atlas and a definition of what of means was added as an entity. There are still smaller things to fix as some links, references and the tables still need to be inserted.
Fixed details such as linking to entities and suffixes as well as clarified some of the example text. The tables need still to be fixed.
[BEP038] Style and similar cleanups
|
@erdalkaraca @tsalo this has passed the review period now, can this be checked and merged? thx |
|
I'm working on a review. Please hold on. |
|
I also have not finished my review/proposed changes. I am unlikely to get to it before the meeting next week as I am traveling for another meeting this week. |
|
This BEP currently needs:
I'm converting this to draft to reflect this status. I'm going to temporarily restrict comments, pending synchronous discussion. |
[BEP038] Schema refactor
| "anat": { | ||
| "atlas-Diedrichsen2009_description.json": "", | ||
| "tpl-SUIT_T1w.nii.gz": "", | ||
| "tpl-SUIT_dseg.json": "", | ||
| "tpl-SUIT_dseg.label.gii": "", | ||
| "tpl-SUIT_dseg.nii.gz": "", | ||
| "tpl-SUIT_dseg.tsv": "", | ||
| "tpl-SUIT_probseg.nii.gz": "", | ||
| "tpl-SUIT_flat.surf.gii": "", | ||
| "tpl-SUIT_sulc.shape.gii": "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "anat": { | |
| "atlas-Diedrichsen2009_description.json": "", | |
| "tpl-SUIT_T1w.nii.gz": "", | |
| "tpl-SUIT_dseg.json": "", | |
| "tpl-SUIT_dseg.label.gii": "", | |
| "tpl-SUIT_dseg.nii.gz": "", | |
| "tpl-SUIT_dseg.tsv": "", | |
| "tpl-SUIT_probseg.nii.gz": "", | |
| "tpl-SUIT_flat.surf.gii": "", | |
| "tpl-SUIT_sulc.shape.gii": "", | |
| "atlas-Diedrichsen2009_description.json": "", | |
| "anat": { | |
| "tpl-SUIT_T1w.nii.gz": "", | |
| "tpl-SUIT_atlas-Diedrichsen2009_dseg.json": "", | |
| "tpl-SUIT_atlas-Diedrichsen2009_dseg.label.gii": "", | |
| "tpl-SUIT_atlas-Diedrichsen2009_dseg.nii.gz": "", | |
| "tpl-SUIT_atlas-Diedrichsen2009_dseg.tsv": "", | |
| "tpl-SUIT_atlas-Diedrichsen2009_probseg.nii.gz": "", | |
| "tpl-SUIT_flat.surf.gii": "", | |
| "tpl-SUIT_sulc.shape.gii": "", |
| "tpl-SUIT_atlas-Buckner2011_seg-17n_dseg.label.gii": "", | ||
| "tpl-SUIT_atlas-Buckner2011_seg-17n_dseg.nii.gz": "", | ||
| "tpl-SUIT_atlas-Buckner2011_seg-17n_dseg.tsv": "", | ||
| "tpl-SUIT_atlas-Buckner2011_seg-17n_stat-confidence_probseg.nii.gz": "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The stat-<label> entity is used throughout but isn't defined in the schema.
| "anat": { | ||
| "atlas-Buckner2011_description.json": "", | ||
| "atlas-Diedrichsen2009_description.json": "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "anat": { | |
| "atlas-Buckner2011_description.json": "", | |
| "atlas-Diedrichsen2009_description.json": "", | |
| "atlas-Buckner2011_description.json": "", | |
| "atlas-Diedrichsen2009_description.json": "", | |
| "anat": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually the location of the atlas description file isn't consistent throughout the BEP, and the entities in use mean that the inheritance principle doesn't apply AFAICT.
| atlas-<label>_description.json | ||
| [cohort-<label>/] | ||
| [<datatype>/] | ||
| tpl-<label>_[cohort-<label>][_space-<label>][_atlas-<label>][seg-<label>][_scale-<label>][_res-<label>][_den-<label>][_desc-<label>]_<suffix>.<extension> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| tpl-<label>_[cohort-<label>][_space-<label>][_atlas-<label>][seg-<label>][_scale-<label>][_res-<label>][_den-<label>][_desc-<label>]_<suffix>.<extension> | |
| tpl-<label>[_cohort-<label>][_space-<label>][_atlas-<label>][_seg-<label>][_scale-<label>][_res-<label>][_den-<label>][_desc-<label>]_<suffix>.<extension> |
| tpl-<label>/ | ||
| [cohort-<label>/] | ||
| [<datatype>/] | ||
| tpl-<label>_[cohort-<label>][_space-<label>][_atlas-<label>][seg-<label>][_scale-<label>][_res-<label>][_den-<label>][_desc-<label>]_<suffix>.<extension> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| tpl-<label>_[cohort-<label>][_space-<label>][_atlas-<label>][seg-<label>][_scale-<label>][_res-<label>][_den-<label>][_desc-<label>]_<suffix>.<extension> | |
| tpl-<label>[_cohort-<label>][_space-<label>][_atlas-<label>][_seg-<label>][_scale-<label>][_res-<label>][_den-<label>][_desc-<label>]_<suffix>.<extension> |
| segmentation: optional | ||
| scale: optional | ||
|
|
||
| probseg: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't tsv be an allowed extension for probsegs?
| $ref: rules.files.deriv.imaging.anat_discrete_surface | ||
| entities: | ||
| $ref: | ||
| - meta.templates.deriv.volumetric.entities |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - meta.templates.deriv.volumetric.entities | |
| - meta.templates.atlas.base.entities |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current entities rules don't allow template.
This PR proposes the inclusion of BEP-038 into the BIDS specification.
The BEP is hosted on its own branch in the main repository, and BEP leads have been given write permissions to the branch. If you are a BEP lead and having issues writing to the branch, please let a maintainer know and we can make sure you have access.
At present this is a starting point, and I anticipate significant rewriting and reorganization before final merge. There is extensive discussion in #1281 that needs to be turned into concrete proposals. I would suggest keeping the discussion on this PR minimal so that newcomers can follow the thread. When opening PRs against this branch, please include a reference to this PR (
#1714) so that it shows up in the thread.Rendered draft
https://bids-specification--1714.org.readthedocs.build/en/1714/derivatives/atlas.html
Related discussions
Associated PRs