A conversion tool for creating NDA compatible metadata representation from BIDS datasets.
Switch branches/tags
Nothing to show
Clone or download
chrisfilo Merge pull request #17 from leej3/add_flash_scantype
add FLASH to possible scantypes
Latest commit bd3fb46 Jul 24, 2018
Permalink
Failed to load latest commit information.
bids2nda
examples add bvecfile bvalfile Jun 15, 2016
.gitignore
LICENSE
MANIFEST.in
README.md
setup.py added GUID mapping support Jun 14, 2016

README.md

BIDS2NDA

Extract NIHM Data Archive compatible metadata from Brain Imaging Data Structure compatible datasets

Installation

pip install https://github.com/INCF/BIDS2NDA/archive/master.zip

Usage

usage: bids2nda [-h] [-v] BIDS_DIRECTORY GUID_MAPPING OUTPUT_DIRECTORY

BIDS to NDA converter.

positional arguments:
  BIDS_DIRECTORY    Location of the root of your BIDS compatible directory
  GUID_MAPPING      Path to a text file with participant_id to GUID mapping.
                    You will need to use the GUID Tool
                    (https://ndar.nih.gov/contribute.html) to generate GUIDs
                    for your participants.
  OUTPUT_DIRECTORY  Directory where NDA files will be stored

optional arguments:
  -h, --help        show this help message and exit

GUID_MAPPING file format

The is the file format produced by the GUID Tool: one line per subject in the format

<participant_id> - <GUID>

Example outputs

See /examples