Skip to content

bids-standard/bids2nda

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

BIDS2NDA

Extract NIMH Data Archive compatible metadata from Brain Imaging Data Structure (BIDS) 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

Notes:

Column 'experiment_id' must be manually filled in for now. This is based on experiment IDs received from NDA after setting the study up through the NDA website here.

About

A conversion tool for creating NDA compatible metadata representation from BIDS datasets.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages