https://github.com/ViCCo-Group/THINGS-data
Raw File
Tip revision: 2d95c15d3a2cc5984ffd4a9a2c4ad3496847ca9d authored by Oliver Contier on 28 February 2023, 15:15:53 UTC
fixed howtocite
Tip revision: 2d95c15
run_fmriprep.sh
#!/usr/bin/env bash

subject=$1
nprocs=$2
maxmem=15 # 400

rawdatadir="$(pwd)/../../../rawdata"
derivsdir="$(pwd)/../../../../test_fprep_upsampling/derivatives"
workdir="$(pwd)/../../../../fmriprep_wdir"

docker run -ti --rm \
  --memory="$maxmem""g" \
  -v "$rawdatadir":/data:ro \
  -v "$derivsdir":/out \
  -v "$workdir":/work \
  -v "$(pwd)":/licensedir \
  poldracklab/fmriprep:20.2.0 \
  --participant-label "$subject" \
  --t nsd --fs-no-reconall \
  --output-spaces T1w func \
  --bold2t1w-dof 9 \
  --nprocs "$nprocs" --mem "$maxmem""GB" \
  --fs-license-file /licensedir/license.txt \
  --bids-filter-file /licensedir/filtercfg.json \
  -w /work /data /out participant
back to top