https://github.com/ViCCo-Group/THINGS-data
Tip revision: cfa23acb74757f28f6e5eed5f6b581be5399d582 authored by Oliver Contier on 12 December 2022, 15:18:54 UTC
ignore .vscode directory
ignore .vscode directory
Tip revision: cfa23ac
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