Skip to content

Inputs

The BIDS (Brain Imaging Data Structure) input directory is a standardized way to organize and describe neuroimaging and behavioral data. The nf-pediatric pipeline expects the input data to be organized in the BIDS format. Good resources to convert your raw DICOMs files in a BIDS structure include dcm2bids and/or heudiconv. It is recommended that users validate their BIDS layout using the official bids-validator tool docker image or the web-based version.

The most basic BIDS directory should have a similar structure (note that sessions folder are optional but recommended):

  • Directorybids_directory
    • dataset_description.json
    • participants.tsv
    • Directorysub-01
      • Directoryses-01
        • Directoryanat
          • sub-01_ses-01_T1w.nii.gz
          • sub-01_ses-01_T1w.json
          • sub-01_ses-01_T2w.nii.gz
          • sub-01_ses-01_T2w.json
        • Directorydwi
          • sub-01_ses-01_dwi.nii.gz
          • sub-01_ses-01_dwi.json
          • sub-01_ses-01_dwi.bval
          • sub-01_ses-01_dwi.bvec
        • Directoryfmap
          • sub-01_ses-01_epi.nii.gz
          • sub-01_ses-01_epi.json
  • dataset_description.json: A JSON file describing the dataset.
  • participants.tsv: A TSV file listing the participants and their metadata. nf-pediatric requires the participants’ age to be supplied within this file, using age as the column name. If not available, the pipeline will return an error at runtime.
participant_idsession_idage
sub-test1ses-baseline42
sub-test1ses-time14
sub-test28
  • sub-<participant_id>/: A directory for each participant containing their data.
    • anat/: A directory containing anatomical MRI data (e.g., T1w, T2w). If both are available, the optimal one will be selected and both will be coregistered.
      • T1w is mandatory for participants >= 3 months old.
      • T2w is mandatory for participants < 3 months old (only for the segmentation profile, otherwise a T1w will also work).
    • dwi/: A directory containing diffusion-weighted imaging data (e.g., DWI, bval, bvec). Acquisition with both direction DWI data are also supported (e.g. AP/PA). Specify them according to the BIDS guidelines
    • fmap/: A directory containing field map data (optional but recommended for distortion correction).