BIDS: IP-Freely

Title

Free manipulation of BIDS datasets according to the Inheritance Principle

Leaders

Robert E. Smith; https://x.com/Lestropie

Collaborators

No response

Brainhack Global 2024 Event

Brainhack Aus

Project Description

The Inheritance Principle (“IP”) has been a feature of the Brain Imaging Data Structure (BIDS) since its inception. It describes how the metadata relevant to one specific data file may in fact originate from multiple metadata files. Encoding some common metadata field just once, and having it be deemed applicable to multiple metadata files, may both reduce redundancy and communicate the intrinsic hierarchical structure of the dataset. This however comes at considerable complexity to the specification itself and the software responsible for interfacing with such data. Indeed nearly a decade after its creation, many software APIs for parsing BIDS data still do not support the Inheritance Principle.

The future of the IP is at a crossroads, particularly as work progresses toward BIDS 2.0:

The goals of this project are twofold.

  1. There is a dearth of existing software tools for managing the IP. If a dataset that exploits the IP were provided as input to a BIDS App that is naive to the IP, that App could perform improper association of metadata. Existing datasets may contain substantial metadata redundancy, due to not currently having an easy way through which to exploit the IP. A tool to automate such data manipulations could therefore be useful in the BIDS ecosystem.

  2. Consequential decisions regarding the IP and related issues in BIDS 2.0 would be better informed if stakeholders could see the effects that proposed specifications would have on how compliant datasets appear.

https://github.com/Lestropie/IP-freely

Goals for Brainhack Global

Good first issues

For anyone not accustomed to open source projects, perhaps the most accessible entrypoint will be the construction of one or more exemplar datasets: https://github.com/Lestropie/IP-freely/issues/5

Communication channels

TBA

Skills

Onboarding documentation

Current status of the Inheritance Principle: https://bids-specification.readthedocs.io/en/stable/common-principles.html#the-inheritance-principle

Original context that motivated pursuit of augmentation of the Inheritance Principle: https://github.com/bids-standard/bids-bep016/issues/50

Previously proposed (but rejected) extension of the Inheritance Principle: https://github.com/bids-standard/bids-specification/pull/1003 (and other threads linked therein)

Existing repository that contains data-empty exemplar datasets for the purpose of validation: https://github.com/bids-standard/bids-examples

Discussion regarding potential modification of Inheritance Principle for BIDS 2.0: https://github.com/bids-standard/bids-2-devel/issues/65

What will participants learn?

Data to use

Proper evaluation of the proposed tool will necessitate construction of one or more novel datasets.

Some insight may be gained from executing the tool against any existing BIDS datasets, whether public or private. Of particular interest would be any datasets known to already be utilising the Inheritance Principle.

Number of collaborators

1

Credit to collaborators

Intend to set up the GitHub all-contributors bot for this new Project.

Depending on scope and eventual adoption, publication in the Journal of Open Source Science (JOSS) may be pursued.

Image

Leave this text if you don’t have an image yet.

Type

coding_methods, data_management

Development status

0_concept_no_content

Topic

reproducible_scientific_methods

Tools

BIDS

Programming language

Python

Modalities

behavioral, DWI, ECG, ECOG, EEG, eye_tracking, fMRI, fNIRS, MEG, MRI, PET, TDCS, TMS

Git skills

0_no_git_skills

Anything else?

No response

Things to do after the project is submitted and ready to review.


Date
Jan 1, 0001 12:00 AM