The Brain Imaging Data Structure: a standard for organizing and describing outputs of neuroimaging experiments

Krzysztof J. Gorgolewski, Tibor Auer, Vince D. Calhoun, R. Cameron Craddock, Samir Das, Eugene Duff, Guillaume Flandin, Satrajit Ghosh, Tristan Glatard, Yaroslav O. Halchenko, Daniel A. Handwerker, Michael Hanke, David B. Keator, Xiangrui Li, Zachary Michael, Camille Maumet, B. Nolan Nichols, Thomas E. Nichols, Jean‐Baptiste Poline, Ariel Rokem, Gunnar Schaefer, Vanessa Sochat, William Triplett, Jessica A. Turner, Gaël Varoquaux, Russell A. PoldrackbioRxiv 2015 · DOI

TL;DR

Neuroimaging research generates vast amounts of complex data, but a lack of standardization makes sharing and analysis difficult. This paper introduces the Brain Imaging Data Structure (BIDS), a new format for organizing and describing neuroimaging data that unifies common practices and captures essential metadata. BIDS aims to improve data accessibility, reproducibility, and the development of automated analysis tools.

What Problem Does This Paper Address?

Modern neuroimaging, particularly using MRI, has revolutionized our understanding of the brain. However, the sheer volume and complexity of data generated by these studies pose significant challenges. Each study can involve multiple imaging protocols and groups of subjects, resulting in numerous files in various formats. Without a standardized way to organize and describe this data, researchers face difficulties in sharing, reusing, and combining datasets, even within the same lab. This lack of standardization leads to wasted time rearranging data, rewriting analysis scripts, and increases the potential for errors. Existing data management systems are often complex and may not integrate well with common analysis software, which typically requires direct file system access.

Methods

The Brain Imaging Data Structure (BIDS) is a protocol designed to standardize the organization and description of neuroimaging data. It leverages existing, widely recognized file formats like NIfTI for imaging data and JSON for metadata. The core of BIDS lies in its strict file naming conventions and folder structure.

Key methodological aspects include:

  • Hierarchical Folder Structure: Data is organized into a clear hierarchy, typically starting with a dataset root, then sub-<subject_id>, and further subfolders like anat (anatomical), dwi (diffusion), and func (functional).
  • Key-Value Filenames: Filenames are constructed using a series of key-value pairs (e.g., sub-01_task-rest_bold.nii.gz), where keys are predefined (e.g., sub, task) and values are user-defined. This makes file content immediately understandable without needing to consult external files.
  • Sidecar JSON Files: Crucial metadata that is not easily captured by NIfTI headers (e.g., slice timing, phase encoding direction) is stored in companion JSON files with the same base name as the imaging file.
  • Inheritance Principle: Metadata can be defined at different levels (dataset, subject, session, run), with values inherited by lower levels unless explicitly overridden. This reduces redundancy.
  • Tabular Files: Metadata best represented as arrays, such as participant demographics or event timings, are stored in TSV (tab-separated value) files.
  • Validator Tool: A BIDS validator is provided to check for missing required or recommended metadata, ensuring compliance with the standard.

Datasets

The paper describes the creation of a BIDS-compatible dataset using data acquired at UCLA by Jessica Cohen. This dataset includes anatomical, diffusion, and task fMRI data and is available in the OpenfMRI repository under accession number ds000009. The development of BIDS itself was informed by existing datasets and public feedback.

Key Insights and Ideas

  • Standardization is Crucial for Reproducibility and Collaboration: The paper strongly emphasizes that a common standard is essential for making neuroimaging data accessible, reusable, and for facilitating collaboration between labs and across large multi-center studies.
  • Leveraging Existing Tools and Formats: BIDS doesn't reinvent the wheel. By building upon widely supported formats like NIfTI and JSON, it ensures compatibility with existing neuroimaging software and reduces the barrier to adoption.
  • File Naming as a Primary Information Source: The use of descriptive filenames with key-value pairs is a clever way to embed essential information directly, making data organization intuitive and analysis script development more straightforward.
  • Metadata Inheritance Simplifies Organization: The inheritance principle significantly reduces redundancy, especially for metadata that applies to multiple subjects or sessions.
  • Focus on Minimal Required Metadata: BIDS requires only the essential metadata needed for basic analyses, making it less daunting for researchers to adopt, while still recommending additional fields for more advanced use cases.

Key Results

The paper introduces the BIDS standard itself, which is the primary "result." It outlines the structure, naming conventions, and metadata requirements. The paper also highlights the development of a BIDS validator tool that can check dataset compliance. The adoption of BIDS by the OpenfMRI repository and several software packages (SciTran, MRIQC, etc.) demonstrates its growing impact and utility.

Limitations and Future Work

  • Current Version Limitations: The current release (1.0.0) does not cover all data types, such as eye-tracking data, EEG, or MEG. Extensions for these are planned for future releases.
  • Derivative Data Organization: While BIDS specifies how to organize raw data, recommendations for organizing derived data (e.g., statistical maps, masks) are still evolving, with a suggestion to use a "derivatives" folder.
  • File Format Flexibility: While NIfTI is chosen for its broad support, the paper acknowledges that other formats (like MINC or NRRD) are used by specific communities, and future "flavors" of BIDS might accommodate these.
  • Metadata Storage: The paper notes that storing metadata in separate JSON files, while accessible, can be error-prone as data and metadata are not in the same file. Future revisions may explore storing metadata as a JSON text extension within NIfTI headers.
  • Extending the Ecosystem: A major focus for future work is on extending the software ecosystem that supports BIDS, including more data organizers, analysis toolboxes, and database integrations, to further incentivize its use.
  • Data Papers and BIDS: The authors suggest that incorporating BIDS into data papers can increase the value of datasets by making them easier to assess for completeness and internal validity, thus promoting data sharing.

Summary updated

Abstract

Abstract The development of magnetic resonance imaging (MRI) techniques has defined modern neuroimaging. Since its inception, tens of thousands of studies using techniques such as functional MRI and diffusion weighted imaging have allowed for the non-invasive study of the brain. Despite the fact that MRI is routinely used to obtain data for neuroscience research, there has been no widely adopted standard for organizing and describing the data collected in an imaging experiment. This renders sharing and reusing data (within or between labs) difficult if not impossible and unnecessarily complicates the application of automatic pipelines and quality assurance protocols. To solve this problem, we have developed the Brain Imaging Data Structure (BIDS), a standard for organizing and describing MRI datasets. The BIDS standard uses file formats compatible with existing software, unifies the majority of practices already common in the field, and captures the metadata necessary for most common data processing operations.
BibTeX
@misc{gorgolewski2015brain,
  author = {Krzysztof J. Gorgolewski and Tibor Auer and Vince D. Calhoun and R. Cameron Craddock and Samir Das and Eugene Duff and Guillaume Flandin and Satrajit Ghosh and Tristan Glatard and Yaroslav O. Halchenko and Daniel A. Handwerker and Michael Hanke and David B. Keator and Xiangrui Li and Zachary Michael and Camille Maumet and B. Nolan Nichols and Thomas E. Nichols and Jean‐Baptiste Poline and Ariel Rokem and Gunnar Schaefer and Vanessa Sochat and William Triplett and Jessica A. Turner and Gaël Varoquaux and Russell A. Poldrack},
  title = {{The Brain Imaging Data Structure: a standard for organizing and describing outputs of neuroimaging experiments}},
  year = {2015},
  doi = {10.1101/034561},
  howpublished = {bioRxiv},
}

Loading related content...

Figure