name: title layout: true class: center --- layout: false count: false .section-mark.center[ # BIDS @ BrainHack 2026 ## The Brain Imaging Data Structure Chris Markiewicz <
markiewicz@stanford.edu
> ] ??? --- name: newsection layout: true .perma-sidebar[
BIDS @ BrainHack 2026
] --- layout: true template: newsection name: BIDS # BIDS: Brain Imaging Data Structure .left-column2.small[ .pad-left[
my_dataset/
.pad-left[
CHANGES]
.pad-left[
README]
.pad-left[
dataset_description.json]
.pad-left[
participants.json]
.pad-left[
participants.tsv]
.pad-left[
scans.json]
.pad-left[
sub-11]
.pad-left[.pad-left[
anat/]]
.pad-left[.pad-left[.pad-left[
sub-11_T2w.json]]]
.pad-left[.pad-left[.pad-left[
sub-11_T2w.nii.gz]]]
.pad-left[.pad-left[.pad-left[
sub-11_acq-denoised_T1w.json]]]
.pad-left[.pad-left[.pad-left[
sub-11_acq-denoised_T1w.nii.gz]]]
.pad-left[.pad-left[.pad-left[
sub-11_acq-mp2rage_T1w.json]]]
.pad-left[.pad-left[.pad-left[
sub-11_acq-mp2rage_T1w.nii.gz]]]
.pad-left[.pad-left[
fmap/]]
.pad-left[.pad-left[.pad-left[
sub-11_magnitude1.json]]]
.pad-left[.pad-left[.pad-left[
sub-11_magnitude1.nii.gz]]]
.pad-left[.pad-left[.pad-left[
sub-11_magnitude2.json]]]
.pad-left[.pad-left[.pad-left[
sub-11_magnitude2.nii.gz]]]
.pad-left[.pad-left[.pad-left[
sub-11_phasediff.json]]]
.pad-left[.pad-left[.pad-left[
sub-11_phasediff.nii.gz]]]
.pad-left[.pad-left[
func/]]
.pad-left[.pad-left[.pad-left[
sub-11_task-mixed_bold.json]]]
.pad-left[.pad-left[.pad-left[
sub-11_task-mixed_bold.nii.gz]]]
.pad-left[.pad-left[.pad-left[
sub-11_task-mixed_events.tsv]]]
.pad-left[.pad-left[.pad-left[
sub-11_task-rest_bold.json]]]
.pad-left[.pad-left[.pad-left[
sub-11_task-rest_bold.nii.gz]]]
.pad-left[.pad-left[
sub-11_scans.tsv]]
.pad-left[
sub-14]
.pad-left[
sub-15]
] ] --- .right-column2.larger[ * BIDS is a directory structure, based on common practices * Builds on existing standards (NIfTI, JSON, TSV) * Intended for human *and* machine legibility * The [BIDS Validator](https://bids-standard.github.io/bids-validator) makes compliance easy to verify * The [specification](https://bids-specification.readthedocs.io/en/stable/) is a searchable HTML document ] --- .right-column2[.no-bullet[* .larger[Basic metadata in the file names] * Subject, session, imaging modality, etc. * Generally just enough to assign unique names]] -- .right-column2[.no-bullet[* .larger[NIfTI headers and *JSON sidecars* contain detailed, image-related metadata]]] -- .right-column2[.no-bullet[* .larger[Study-level metadata] * Not necessarily associated with specific files * [`dataset_description.json`](https://bids-specification.readthedocs.io/en/stable/03-modality-agnostic-files.html#dataset_descriptionjson), [`participants.tsv`](https://bids-specification.readthedocs.io/en/stable/03-modality-agnostic-files.html#participants-file), [`sessions.tsv`](https://bids-specification.readthedocs.io/en/stable/05-longitudinal-and-multi-site-studies.html#sessions-file), and [`scans.tsv`](https://bids-specification.readthedocs.io/en/stable/03-modality-agnostic-files.html#scans-file) ]] --- template: newsection layout: true ---
.boxed-content[

] --- # Wide adoption
.boxed-content[

] --- count: false # Wide adoption
.boxed-content[ .pull-left[

Published OpenNeuro datasets / total subjects
] .pull-right[... Sorry, no updated MRIQC API image] ] --- # bids-specification.readthedocs.io .boxed-content[
] --- # bids.neuroimaging.io/getting_started .boxed-content[
] --- exclude: true # More reproducible research .boxed-content[ .no-bullet[ * .larger[
BIDS defines a clear interface] * Standardized through a large-community agreement * Human readable (as opposed to DICOM) * Machine readable (enabling tooling, see below) * Stable (e.g., backward compatibility principle), extensible, and predictable (*BIDS Schema*) * .larger[
Harnesses data-sharing and archival (sharing with self)] * Can be checked for correctness (*BIDS Validator*) * Establishes a solid *contract* on the organization of data between authors and reusers (or your future self) * Separates *data blobs* and metadata, facilitating agile management and understanding of the dataset, HPC operations (e.g., *datalad drop*), etc. * Enables open-sharing (e.g., *OpenNeuro*) * .larger[
Supports tooling] * Querying the dataset, filtering data, etc. (*PyBIDS*) * Conversion from other formats (mostly *DICOM*) * Interpreting unprocessed data (development of *BIDS Apps* such as *MRIQC* or *fMRIPrep*) * *BIDS Derivatives* enable concatenating *BIDS Apps* (e.g., *fMRIPrep* + *XCPD*, *brainlife.io*) * Data-management-friendly (*DataLad*) ] ] --- # BIDS Validator .boxed-content[ The machine-readable structure makes validation possible: ``` bash $ bids-validator my_dataset/ bids-validator@1.14.6 1: [WARN] The recommended file /README is very small. Please consider expanding it with additional information about the dataset. (code: 213 - README_FILE_SMALL) ./README Please visit https://neurostars.org/search?q=README_FILE_SMALL for existing conversations about this issue. Summary: Available Tasks: Available Modalities: 96 Files, 6.63GB Mixed-stimuli, positive-control task MRI 5 - Subjects Resting-state fMRI 1 - Session If you have any questions, please post on https://neurostars.org/tags/bids. ``` .center[ ## https://bids-standard.github.io/bids-validator/ ]] --- # BIDS Validator .boxed-content[ Once all warnings and errors are addressed: ``` bash $ bids-validator my_dataset/ bids-validator@1.14.6 This dataset appears to be BIDS compatible. Summary: Available Tasks: Available Modalities: 96 Files, 6.63GB Mixed-stimuli, positive-control task MRI 5 - Subjects Resting-state fMRI 1 - Session If you have any questions, please post on https://neurostars.org/tags/bids. ``` .center[ ## https://bids-standard.github.io/bids-validator/ ]] --- exclude: true # Sharing through OpenNeuro .boxed-content[ .center[[https://openneuro.org/datasets/ds005454/versions/1.0.0](https://openneuro.org/datasets/ds005454/versions/1.0.0)]
] --- layout: true template: newsection name: Apps # BIDS Applications --- A common specification of neuroimaging datasets affords queries for and adaptation to the available data. -- .boxed-content[ Queryable (meta)data allows a very simple protocol for a [BIDS App](https://bids-apps.neuroimaging.io/apps/): ```Bash bids-app /bids-directory /output-directory participant [OPTIONS] ``` .footnote[ \* Note that `participant` is an analysis level. Apps may also operate at the `run`, `session` or `group` levels. ]] -- .boxed-content[ ## Examples **MRIQC** ```Bash mriqc /data/bids/openneuro/ds000228 /data/processed/ds000228-mriqc group ``` ] -- .boxed-content[ **fMRIPrep** ```Bash fmriprep /data/bids/openneuro/ds000228 /data/processed/ds000228-fmriprep \ participant --participant-label pixar001 ``` ] --- .pull-left[ ### Many application types are possible ] .pull-right[ [](https://bids-apps.neuroimaging.io/apps/) ] --- count: false .pull-left[ ### Many application types are possible * Quality control ] .pull-right[ [](https://bids-apps.neuroimaging.io/apps/) ] --- count: false .pull-left[ ### Many application types are possible * Quality control * Anatomical pipelines ] .pull-right[ [](https://bids-apps.neuroimaging.io/apps/) ] --- count: false .pull-left[ ### Many application types are possible * Quality control * Anatomical pipelines * Functional pipelines ] .pull-right[ [](https://bids-apps.neuroimaging.io/apps/) ] --- count: false .pull-left[ ### Many application types are possible * Quality control * Anatomical pipelines * Functional pipelines * Diffusion pipelines ] .pull-right[ [](https://bids-apps.neuroimaging.io/apps/) ] --- count: false .pull-left[ ### Many application types are possible * Quality control * Anatomical pipelines * Functional pipelines * Diffusion pipelines ### Lowered friction encourages adoption * Researchers gain easy access to tools by formatting data in BIDS * Accepting BIDS datasets makes your tools easy to try ] .pull-right[ [](https://bids-apps.neuroimaging.io/apps/) ] --- template: newsection layout: true name: Derivatives # BIDS Derivatives --- BIDS Derivatives generally mirror the raw dataset. .small[ .pad-left[
fmriprep/
.pad-left[
README]
.pad-left[
dataset_description.json]
.pad-left[
sub-11]
.pad-left[.pad-left[
anat/]]
.pad-left[.pad-left[.pad-left[
sub-11_desc-preproc_T2w.nii.gz]]]
.pad-left[.pad-left[.pad-left[
sub-11_acq-denoised_desc-preproc_T1w.nii.gz]]]
.pad-left[.pad-left[.pad-left[
sub-11_acq-denoised_desc-brain_mask.nii.gz]]]
.pad-left[.pad-left[.pad-left[
sub-11_acq-denoised_from-T1w_to-MNI152NLin2009cAsym_mode-image_xfm.h5]]]
.pad-left[.pad-left[.pad-left[
...]]]
.pad-left[.pad-left[
fmap/]]
.pad-left[.pad-left[.pad-left[
sub-11_fmapid-auto00000_desc-coeff_fieldmap.nii.gz]]]
.pad-left[.pad-left[.pad-left[
sub-11_fmapid-auto00000_desc-magnitude_fieldmap.nii.gz]]]
.pad-left[.pad-left[.pad-left[
sub-11_fmapid-auto00000_desc-preproc_fieldmap.nii.gz]]]
.pad-left[.pad-left[
func/]]
.pad-left[.pad-left[.pad-left[
sub-11_task-mixed_desc-coreg_boldref.nii.gz]]]
.pad-left[.pad-left[.pad-left[
sub-11_task-mixed_desc-hmc_boldref.nii.gz]]]
.pad-left[.pad-left[.pad-left[
sub-11_task-mixed_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt]]]
.pad-left[.pad-left[.pad-left[
sub-11_task-mixed_from-boldref_to-auto00000_mode-image_desc-fmapreg_xfm.txt]]]
.pad-left[.pad-left[.pad-left[
sub-11_task-mixed_from-orig_to-boldref_mode-image_desc-hmc_xfm.txt]]]
.pad-left[.pad-left[.pad-left[
sub-11_task-mixed_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz]]]
.pad-left[.pad-left[.pad-left[
...]]]
.pad-left[
sub-14]
.pad-left[
sub-15]
] ] -- New file suffixes, extensions and entities are possible. --- template: newsection # BIDS @ BrainHack 2026 .boxed-content[ .larger[ Schedule (Provisional) * Thursday * 14:30 - 18:30: Meetings (open? closed?) * Friday * 10:00 - 12:00: Open door discussions * 13:30 - close: Workshop * 13:30 - 14:15: Getting started with BIDS * 14:20 - 15:05: Panel: How to get involved in BIDS development * 15:10 - 16:00: Hands-on demos / Helpdesk / Q&A * 17:30 - 19:00: Advanced topics / ad hoc groups * Saturday * 10:00 - pub: Open door discussions ] ] ??? --- template: newsection .boxed-content.center[ ## Steering group .distribute[
] ## Maintainers .distribute[
]] ??? --- layout: false count: false .section-mark.center[ # Thank you ]