Skip to content

NEMAR CLI

Command-line interface for NEMAR (Neuroelectromagnetic Data Archive and Tools Resource).

What is NEMAR?

NEMAR is a curated repository for neurophysiology data in Brain Imaging Data Structure (BIDS) format. This CLI provides tools for uploading, downloading, and managing datasets.

Features

  • Authentication: Secure API key-based authentication with admin approval workflow
  • BIDS Validation: Validate datasets locally using the official BIDS validator
  • Dataset Upload: Upload BIDS datasets with automatic git-annex and S3 integration
  • Dataset Download: Download datasets using DataLad for efficient large file handling
  • DOI Management: Create and manage DOIs through Zenodo integration

Quick Example

# Install the CLI
bun install -g nemar-cli

# Sign up for an account
nemar auth signup

# After approval, log in
nemar auth login

# Validate your dataset
nemar dataset validate ./my-dataset

# Upload to NEMAR
nemar dataset upload ./my-dataset --name "My EEG Dataset"

Getting Started

  1. Installation - Install the CLI and dependencies
  2. Quick Start - Get up and running in minutes
  3. Authentication - Set up your account

Support