• Stars
    star
    166
  • Rank 227,748 (Top 5 %)
  • Language
    MATLAB
  • Created about 9 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A set of BIDS compatible datasets with empty raw data files that can be used for writing lightweight software tests.

GitHub Actions

The content of this repository can also be viewed here:

https://bids-standard.github.io/bids-examples/

bids-examples

This repository contains a set of BIDS-compatible datasets with empty raw data files. These datasets can be useful to:

  1. write lightweight software tests
  2. serve as an example on how a BIDS dataset can be structured

ALL RAW DATA FILES IN THIS REPOSITORY ARE EMPTY!

However for some of the data, the headers containing the metadata are still intact. (For example the NIfTI headers for .nii files, the BrainVision data headers for .vhdr files, or the OME-XML headers for .ome.tif files.)

Headers are intact for the following datasets:

  • synthetic
  • Most EEG or iEEG data in BrainVision format (e.g., eeg_matchingpennies)

Validating BIDS examples

The next three sections mention a few details on how the bids-examples can be validated using bids-validator.

For general information on the bids-validator, including installation and usage, see the bids-validator README file.

Validating individual examples

Since all raw data files in this repository are empty, the bids-validator must to be configured to not report empty data files as errors. (See more on bids-validator configuration in the bids-validator README.)

Just run the validator as follows (using the eeg_matchingpennies dataset as an example, and assuming you are in a command line at the root of the bids-examples repository):

bids-validator eeg_matchingpennies --config.ignore=99

The --config.ignore=99 "flag" tells the bids-validator to ignore empty data files rather than to report the "empty file" error .

For datasets that contain NIfTI .nii files, you also need to add the ignoreNiftiHeaders flag to the bids-validator call, to suppress the issue that NIfTI headers are not found.

For example:

bids-validator ds003 --config.ignore=99 --ignoreNiftiHeaders

Validating all examples

If you want to validate all examples in one go, you can use the run_tests.sh script that is provided in this repository. This script makes use of the bidsconfig.json configuration file for the bids-validator, and appropriately handles some special case examples (see Validator Exceptions).

Simply run bash run_tests.sh in a command line from the root of the bids-examples repository.

Validator exceptions

Some datasets may include a custom .bids-validator-config.json to ignore errors generated from idiosyncrasies of the datasets as they existed on creation.

name errors ignored
genetics_ukbb SliceTiming values for tasks is larger than given TR, EchoTime1 and EchoTime2 are not provided for any of the phasediff files.

Other datasets may include a .SKIP_VALIDATION file, to skip the validation with the continuous integration service. This is useful for datasets that cannot pass at the moment due to lack of coverage in the bids-validator.

Note however, that the .SKIP_VALIDATION file only impacts the continuous integration service, or validation when run with the run_tests.sh script (see Validating all examples). This file does not have any effect when running bids-validator from custom scripts, the web-based validator, docker, or from the command line.

name why skipped
ds000001-fmriprep lack of coverage for "derivatives" in bids-validator

Contributing

We are happy to receive contributions in the form of:

  • updates to existing examples, or the dataset index
  • new examples
    • only if they cover aspects that are currently not covered by existing examples
    • only if a maintainer can be found for this dataset
  • suggestions on how to improve the bids-examples repository

For more information, please see our CONTRIBUTING.md file or open a new GitHub Issue and ask us directly.

Dataset index

ASL

name description datatypes suffixes link to full data maintained by
asl001 T1w, asl (GE, PCASL, 3D_SPIRAL), m0scan within timeseries anat, perf T1w, asl, aslcontext, asllabeling link @patsycle
asl002 T1w, asl (Philips, PCASL, 2D_EPI), m0scan as separate scan anat, perf T1w, asl, aslcontext, asllabeling, m0scan link @patsycle
asl003 T1w, asl (Siemens, PASL, multiTI), M0scan as separate scan anat, perf T1w, asl, aslcontext, asllabeling, m0scan link @patsycle
asl004 T1w, asl (Siemens, PCASL, multiPLD with pepolar), m0scan separate scans with pepolar appraoch anat, fmap, perf T1w, asl, aslcontext, asllabeling, m0scan link @patsycle
asl005 T1w, asl (Siemens, PCASL, singleTI, 3D_GRASE), m0scan as separate scan anat, perf T1w, asl, aslcontext, asllabeling, m0scan link @patsycle

EEG

name description datatypes suffixes link to full data maintained by
eeg_cbm Rest EEG. European Data Format (.edf) eeg channels, eeg, events, scans n/a @cpernet
eeg_ds003645s_hed Shows usage of Hierarchical Event Descriptor (HED) in events files eeg channels, eeg, events link @VisLab
eeg_ds003645s_hed_inheritance HED annotation with multiple inherited sidecars eeg channels, eeg, events link @VisLab
eeg_ds003645s_hed_library HED annotation using HED library vocabularies (schema). eeg channels, eeg, events link @VisLab
eeg_ds003645s_hed_longform HED annotation using tags in long form. eeg channels, eeg, events link @VisLab
eeg_face13 Deconstructing the early visual electrocortical response to face and house stimuli. EDF format eeg channels, coordsystem, eeg, electrodes, events n/a @andesha
eeg_matchingpennies Offline data of BCI experiment decoding left vs. right hand movement. BrainVision data format (.eeg, .vhdr, .vmrk) eeg channels, eeg, events link @sappelhoff
eeg_rishikesh Mind wandering experiment. EEG data in Biosemi (.bdf) format eeg channels, eeg, events link @arnodelorme

iEEG

name description datatypes suffixes link to full data maintained by
ieeg_epilepsyNWB multiple sessions, tutorial — derivative dataset of ieeg_epilepsy showcasing the NWB file format alternative anat, ieeg T1w, channels, coordsystem, electrodes, events, ieeg, scans link @TheChymera
ieeg_epilepsy multiple sessions, tutorial anat, ieeg T1w, channels, coordsystem, electrodes, events, ieeg, scans link @ftadel
ieeg_epilepsy_ecog multiple sessions, tutorial anat, ieeg T1w, channels, coordsystem, electrodes, events, ieeg, photo, scans link @ftadel
ieeg_filtered_speech recordings of three seizures ieeg channels, coordsystem, electrodes, events, ieeg, photo n/a @choldgraf
ieeg_motorMiller2007 Cue-based hand & tongue movement data ieeg channels, coordsystem, electrodes, events, ieeg n/a @dorahermes
ieeg_visual Stimulus dependence of gamma oscillations in human visual cortex anat, ieeg T1w, channels, coordsystem, electrodes, events, ieeg n/a @dorahermes
ieeg_visual_multimodal n/a anat, fmap, func, ieeg T1w, bold, channels, coordsystem, electrodes, epi, events, ieeg, sbref n/a @irisgroen

MEG

name description datatypes suffixes link to full data maintained by
ds000117 A multi-subject, multi-modal human neuroimaging dataset of 19 subjects on a MEG visual task anat, beh, dwi, fmap, func, meg T1w, beh, bold, channels, coordsystem, dwi, events, headshape, magnitude1, magnitude2, meg, phasediff, scans link @RikHenson
ds000246 Auditory dataset used for Brainstorm’s general online tutorial anat, meg ChannelGroupSet, ClassFile, MarkerFile, T1w, channels, coordsystem, default, headshape, meg, params, photo, processing, scans link @guiomar
ds000247 Five minutes, eyes-open, resting-state MEG data from 5 subjects. This is a sample from The Open MEG Archive (OMEGA). anat, meg ClassFile, T1w, bad, channels, coordsystem, default, headshape, meg, params, processing, scans link @guiomar
ds000248 MNE sample data: Data with visual and auditory stimuli anat, meg FLASH, T1w, channels, coordsystem, events, meg, scans link @agramfort

Microscopy

name description datatypes suffixes link to full data maintained by
micr_SEM Example SEM dataset in PNG format with 1 sample imaged over 2 sessions micr SEM, photo, samples, sessions link @jcohenadad
micr_SEMzarr Example SEM dataset in PNG and OME-ZARR format with 1 sample imaged over 2 sessions micr SEM, samples, sessions n/a @TheChymera
micr_SPIM Example SPIM dataset in OME-TIFF format with 2 samples from the same subject with 4 chunks each micr SPIM, photo, samples link @jcohenadad

Motion

name description datatypes suffixes link to full data maintained by
motion_dualtask older and younger participants walking while performing discrimination task eeg, motion channels, eeg, events, motion, scans n/a @sjeung
motion_spotrotation participants rotated heading using full-body motion or joystick eeg, motion channels, coordsystem, eeg, electrodes, events, motion, scans link @sjeung
motion_systemvalidation Example dataset of two different motion captured system recorded almost simultaneously, but no brain data motion channels, motion, scans link @JuliusWelzel

MRI

name description datatypes suffixes link to full data maintained by
7t_trt n/a anat, fmap, func T1map, T1w, bold, magnitude1, magnitude2, phasediff, physio, scans, sessions link n/a
ds000117 A multi-subject, multi-modal human neuroimaging dataset of 19 subjects on a MEG visual task anat, beh, dwi, fmap, func, meg T1w, beh, bold, channels, coordsystem, dwi, events, headshape, magnitude1, magnitude2, meg, phasediff, scans link @RikHenson
ds001 single task, multiple runs anat, func T1w, bold, events, inplaneT2 link n/a
ds002 multiple tasks, multiple runs anat, func T1w, bold, events, inplaneT2 link n/a
ds003 single task, single run anat, func T1w, bold, events, inplaneT2 link n/a
ds005 single task, multiple runs anat, func T1w, bold, events, inplaneT2 link n/a
ds006 single task, multiple sessions, multiple runs anat, func T1w, bold, events, inplaneT2 link n/a
ds007 single task, multiple runs anat, func T1w, bold, events, inplaneT2 link n/a
ds008 multiple tasks, multiple runs anat, func T1w, bold, events, inplaneT2 link n/a
ds009 multiple tasks, multiple runs anat, func T1w, bold, events, inplaneT2, scans link n/a
ds011 multiple tasks, multiple runs anat, func T1w, bold, events, inplaneT2 link n/a
ds051 multiple tasks, multiple runs anat, func T1w, bold, events, inplaneT2 link n/a
ds052 multiple tasks, multiple runs anat, func T1w, bold, events, inplaneT2 link n/a
ds101 single task, multiple runs anat, func T1w, bold, events link n/a
ds102 single task, multiple runs anat, func T1w, bold, events link n/a
ds105 single task, multiple runs anat, func T1w, bold, events link n/a
ds107 single task, multiple runs anat, func T1w, bold, events link n/a
ds108 single task, multiple runs anat, func T1w, bold, events link n/a
ds109 multiple tasks, multiple runs anat, func T1w, bold, events link n/a
ds110 single task, multiple runs anat, func T1w, bold, events, inplaneT2 link n/a
ds113b forrest gump watching, multiple sessions, multiple runs func bold, events link n/a
ds114 multiple tasks, multiple runs anat, dwi, func T1w, bold, dwi, events link n/a
ds116 multiple tasks, multiple runs anat, func T1w, bold, events, inplaneT2 link n/a
ds210 multiple tasks, multiple runs func bold, physio link n/a
eeg_rest_fmri Resting state with simultaneous fMRI. BrainVision data format (.eeg, .vhdr, .vmrk) anat, dwi, eeg, func T1w, bold, dwi, eeg n/a @cpernet
genetics_ukbb multiple tasks, T1w, DTI, BOLD, genetic info anat, dwi, fmap, func FLAIR, T1w, bold, dwi, events, info, magnitude1, phasediff n/a @cpernet
ieeg_visual_multimodal n/a anat, fmap, func, ieeg T1w, bold, channels, coordsystem, electrodes, epi, events, ieeg, sbref n/a @irisgroen
synthetic A synthetic dataset anat, beh, func T1w, beh, bold, events, physio, scans, sessions, stim n/a @effigies

NIRS

name description datatypes suffixes link to full data maintained by
fnirs_automaticity 24 subjects performing (non-)automatic finger tapping and foot stepping nirs channels, coordsystem, events, nirs, optodes, practicelogbook, scans link @robertoostenveld
fnirs_tapping Example fNIRS measurement with three conditions from five subjects nirs channels, coordsystem, events, nirs, optodes, scans link @rob_luke

PET

name description datatypes suffixes link to full data maintained by
pet001 T1w, PET, blood anat, pet T1w, blood, pet n/a @mnoergaard
pet002 T1w, PET anat, pet T1w, pet link @mnoergaard
pet003 T1w, PET, blood anat, pet T1w, blood, pet n/a @mnoergaard
pet004 PET, blood pet blood, pet n/a @mnoergaard
pet005 T1w, PET anat, pet T1w, events, pet n/a @mnoergaard

qMRI

name description datatypes suffixes link to full data maintained by
qmri_irt1 Inversion Recovery T1 mapping anat IRT1 not publicly availabe @agahkarakuzu
qmri_megre Multi-Echo Gradient-Echo for T2star mapping. anat MEGRE not publicly availabe @agahkarakuzu
qmri_mese Multi-Echo Spin-Echo for T2 or Myelin Water Fraction (MWF) mapping. anat MESE not publicly availabe @agahkarakuzu
qmri_mp2rage MP2RAGE for T1 mapping anat MP2RAGE, defacemask link @Gilles86
qmri_mp2rageme Multi-echo MP2RAGE anat, fmap MP2RAGE, TB1map link @Gilles86
qmri_mpm Multi-parametric mapping for R1, R2star, MTsat and PD mapping anat, fmap MPM, RB1COR, TB1EPI, magnitude1, magnitude2, phasediff link @ChristophePhillips
qmri_mtsat Example dataset for T1 and MTsat mapping. Includes a double-angle B1+ mapping example. anat, fmap MTS, TB1DAM link @agahkarakuzu
qmri_qsm Chimap using fast QSM anat T1w not publicly availabe @agahkarakuzu
qmri_sa2rage Fast B1+ mapping using SA2RAGE fmap TB1SRGE not publicly availabe @agahkarakuzu
qmri_tb1tfl B1+ mapping with TurboFLASH readout. fmap TB1TFL not publicly availabe @agahkarakuzu
qmri_vfa Variable Flip Angle T1 mapping. Includes an Actual Flip Angle (AFI) B1+ mapping example. anat, fmap TB1AFI, VFA link @agahkarakuzu

More Repositories

1

bids-specification

Brain Imaging Data Structure (BIDS) Specification
Python
276
star
2

bids-starter-kit

Collection of tutorials, wikis, and templates to get you started with creating BIDS compliant datasets
MATLAB
259
star
3

pybids

Python tools for querying and manipulating BIDS datasets.
Python
221
star
4

bids-validator

Validator for the Brain Imaging Data Structure
JavaScript
184
star
5

bids-matlab

MATLAB / Octave tools for BIDS datasets
MATLAB
50
star
6

bids-website

Website for the Brain Imaging Data Structure standard. NEW WEBSITE PREVIEW: https://bids-website.readthedocs.io/en/latest/
HTML
28
star
7

pybv

A lightweight I/O utility for the BrainVision data format, written in Python.
Python
21
star
8

bids2nda

A conversion tool for creating NDA compatible metadata representation from BIDS datasets.
Python
15
star
9

pyedf

Python package to read from and write EEG data to European Data Format files.
Python
15
star
10

bids-2-devel

Discussions and suggestions of backwards incompatible changes to BIDS
11
star
11

bep001

Project management repository (primarily issues) for BIDS Extension Proposal 001
8
star
12

openfmri2bids

Convert OpenfMRI dataset to BIDS.
Python
8
star
13

awesome-bids

A curated list of awesome BIDS projects, proposals, apps and resources
Python
7
star
14

bids-bep016

BEP016: diffusion derivatives
Python
6
star
15

eye2bids

Convert eyetracking data to a BIDS compatible format (BEP20)
Python
6
star
16

bep021

Organizing and coordinating the BIDS Extension Proposal 21: Common Electrophysiology Derivatives
Jupyter Notebook
5
star
17

BEP028_BIDSprov

Organizing and coordinating BIDS extension proposal 28 : BIDS Provenance
Python
4
star
18

bids-stats-model-schema

JavaScript
3
star
19

bids-schema

Prospective repository to contain (including historical) versions of BIDS schema
Shell
3
star
20

bids2isatab

Extract ISA-Tab compatible metadata from Brain Imaging Data Structure compatible datasets
Python
2
star
21

model-zoo

Zoo of BIDS Stats Models
TeX
2
star
22

maintenance-tools

Miscellaneous maintenance tools for the broader BIDS ecosystem.
Python
2
star
23

stats-models

BIDS Stats Models Specification
Python
2
star
24

bidsutils

Utility functions for working with BIDS compatible datasets
Shell
2
star
25

pybids-extension-template

A template repository for PyBIDS extensions
Python
1
star
26

bids-methods

Repository for templates to generate methods section descriptions of BIDS datasets
Mustache
1
star
27

pybids-reports

A subpackage of pyBIDS, implementing automatic report generation from BIDS datasets.
Python
1
star
28

bids-extensions

BIDS Extension Proposal Docs
1
star
29

pybids-light

A prospective light-weight tool for querying BIDS datasets using the specification schema. May be integrated into pybids in the future.
1
star
30

bids-starter-kit-wiki

"Secret" repository to allow us to track contributions to the BIDS Starter Kit wiki
1
star