OpenNeuroΒΆ

OverviewΒΆ

OpenNeuro is a free and open platform for sharing MRI, MEG, EEG, iEEG, ECoG, ASL, and PET data. Below, we describe how to integrate OpenNeuro data with DataLad and AWS.

DataLadΒΆ

InstallationΒΆ

Install datalad using conda :

source miniconda3/etc/profile.d/conda.sh

# TO DO ONLY ONCE: 

conda create -y -n venv3.7 python=3.7

# TO ACTIVATE:

conda activate venv3.7

pip install datalad

su 
apt-get install git-annex

Install datalad using conda :

source miniconda3/etc/profile.d/conda.sh

# TO DO ONLY ONCE: 

conda create -y -n venv3.7 python=3.7

# TO ACTIVATE:

conda activate venv3.7

pip install datalad

# first, install brew: https://brew.sh/
brew install git-annex

UsageΒΆ

Install dataset from OpenNeuro:

datalad install https://github.com/OpenNeuroDatasets/ds001919.git

Get one subject:

datalad get sub-unf01

Get all subjects:

datalad get . 

Update dataset:

datalad update -r β€”merge

AWSΒΆ

Download OpenNeuro DatasetΒΆ

Download dataset from openneuro by running this command:

/usr/local/bin/aws  s3 sync --no-sign-request s3://openneuro.org/ds001919 ds001919-dwld/