NeuroJ
Browse, query, and convert neuroimaging datasets from NeuroJSON.io
🌐 What is NeuroJ?
NeuroJ is a lightweight shell-based toolkit that provides simple utilities to browse, query, and download thousands of neuroimaging datasets from NeuroJSON.io, and convert arbitrary datasets (including BIDS) to JSON format ready for upload to NoSQL databases.
It bridges traditional neuroimaging data formats with modern document-store databases (MongoDB, CouchDB, Redis) enabling scalable, searchable, and reusable data sharing.
🏆 NeuroJSON Project
NeuroJ is the command-line client for NeuroJSON.io, funded by US NIH grant U24-NS124027. It provides essential tools for dataset conversion, querying, and interaction with the NeuroJSON data repository.
🔄 Data Conversion Strategy
NeuroJ separates datasets into searchable and non-searchable components for optimal NoSQL database performance:
| Data Structure | CouchDB/NoSQL Object | Examples |
|---|---|---|
| Dataset Collection | CouchDB Database | openneuro, dandi, openfnirs |
| Single Dataset | CouchDB Document | ds000001, ds000002 |
| Subject Files/Folders | JSON Keys in Document | sub-01, sub-01/anat/scan.tsv |
| Small Binary (readable) | Document Attachment | .png, .jpg, .pdf files |
| Large Binary (raw data) | _DataLink_ External Link | .nii.gz, .snirf data files |
⚡ Key Capabilities
- Browse & Query: List and search thousands of datasets on NeuroJSON.io
- RESTful API: Full access to CouchDB REST API for advanced queries
- BIDS Support: Convert BIDS datasets to JSON automatically
- Parallel Conversion: Multi-threaded processing for large collections
- Format Support: .json, .tsv, .csv, .nii.gz, .snirf, and more
- Data Linking: External binary data linked via _DataLink_ annotations
- Upload/Download: Push datasets to and pull from NeuroJSON.io
- NoSQL Ready: JSON output ready for MongoDB, CouchDB, Redis
![[Home]](upload/neurojson_banner_plain.png)