Home

Awesome

XNAT2BIDS

We are not the authors of converting software we use in our script - all credit goes to Rordenlab: dcm2niix by Rordenlab

Simple xnat pipeline to convert DICOM scans to BIDS-compatible output (nii+json).

Prerequisities

Just make sure you have zip tool installed on your machine.

Installing

Import it like a regular pipeline:

/your/path/to/pipeline/catalog/bids2

Usage

Pipeline needs to run for each session individually.

It lets the user choose series that should be included in bids package or specify custom subject label. Leaving the last field empty sets the subject label sam as in XNAT. The sub-label_ses-session_run-run_mod are generated automatically from protocol name and other information stored in XNAT DB. Since task-labels aren't stored in DICOM headers by default, we encourage to check the data and fill this field properly.

After creating proper directory hierarchy it zips data and sends it to subject resources. If there were any scans that aren't recognized they will be placed in unassigned folder inside of the bids package.

Authors

Created during 2nd Coding Sprint at Stanford Center for Reproducible Neuroscience, September 2017.

Learn more

picture altpicture alt

picture alt