Installation¶
Docker Container¶
$ git clone https://github.com/nipy/dmriprep
$ cd dmriprep
$ make docker
If you don’t want to log into the docker image:
$ docker run -ti -v $BIDS_INPUT_DIR:/inputs -v $OUTPUT_DIR:/outputs dmriprep:prod dmriprep /inputs /outputs
If you want to log into the image:
$ docker run -ti -v $BIDS_INPUT_DIR:/inputs -v $OUTPUT_DIR:/outputs dmriprep:prod
Run this inside the docker image:
$ dmriprep /inputs /output --participant-label 01
Singularity Container¶
Preparing a Singularity image (Singularity version < 2.5)¶
Running a Singularity Image¶
Manually Prepared Environment (Python 3.5+)¶
To install dmriprep, run this command in your terminal:
$ pip install dmriprep
This is the preferred method to install dmriprep, as it will always install the most recent stable release.
If you don’t have pip installed, this Python installation guide can guide you through the process.
From sources¶
The sources for dmriprep can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/nipy/dmriprep
Or download the tarball:
$ curl -OL https://github.com/nipy/dmriprep/tarball/master
Once you have a copy of the source, you can install it with:
$ python setup.py install