DSST Lunch & Learn ยท October 6, 2026

From XNAT MRI and physio to BIDS to visual file analysis

by {{author}}

xnat-bids-cli

โ€‹& sqlite-browser

01Broad overviews

TODAY

02Canned xnat-bids-cli demo
03Live sqlite-browser demo
04Questions

โ€œ

I have MRI data in XNAT.

I have physio data files.

I want curated BIDS data.

- The xnat-bids-cli use case

{{##}} / {{total}}

Operations in your control

  • Include & exclude
  • Renaming
  • Quality control
  • Mapping

Tables

Command-line interface:
"Where the magic happens"

  • login
  • query
  • download
  • mriconfig
  • mriconvert
  • physiconvert
  • bidsmap
  • cubids

The CLI part

Uses open source software

Canneddemos

navigate down
in the slides

A short video of a fresh installation with "pip install"

Installation

A short video of the XNAT query command

query

01

MANUAL STEP 1

Between query & download

{{##}} / {{total}}

A short video of the XNAT download command

download

02

MANUAL STEP 2

Between download & mriconvert

{{##}} / {{total}}

A short video of the mriconfig command which runs dcm2bids-helper

mriconfig

A short video of the mriconvert command which runs dcm2bids

mriconvert

03

MANUAL STEP 3

Between mriconvert & physioconvert

{{##}} / {{total}}

A short video of the physioconvert command which runs phys2bids

physioconvert

04

MANUAL STEP 4

Between physioconvert & bidsmap

{{##}} / {{total}}

A short video of the bidsmap command used to produce a bidsmap file

bidsmap (part 1)

A short video of the bidsmap command used to map a dataset

bidsmap (part 2)

I made a BIDS!

Now what?

{{##}} / {{total}}

โ€œ

I have lots of BIDS studies.

I want to see what's there.

- The sqlite-browser use case

{{##}} / {{total}}

bids2table

to the rescue!

Why SQLite?

Why browse?

{{##}} / {{total}}

A way to:

  • Allow questions to be asked and iterated upon
  • Look at your (meta)data

Concatenated tables from bids2table:

  • Relational databases
  • Queries can be faster
  • BIDS info is all there

Access all the BIDS:

  • File names
  • Entities
  • Sidecar JSONs
  • ... and more!

Live demo

navigate down
in the slides
for the setup

A short video of a fresh installation of bids2table and sqlite-browser

Installation

A short video of setting up to run the sqlite-browser app

Setup

01Jen Evans

SPECIAL THANKS

02Dustin Moraczewski
03Catherine Walsh
04All of you! For trying it out, right?
01xnat-bids-cli (docs & GitHub)

RESOURCES

02sqlite-browser* (docs & GitHub)
03bids2table (docs & GitHub)
04These slides (link, asciinema)

* sqlite-browser name subject to change