Guest User

Untitled

a guest
Oct 22nd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. for d in /path/to/folder/S{001..012}; do num=${d##*S} &&
  2. docker run -it --cpuset-cpus="10-39" --rm -v /path/to/folder:/bids -v
  3. /path/to/out:/out -v
  4. /license.txt:/opt/freesurfer/license.txt --
  5. entrypoint=/opt/freesurfer/bin/recon-all poldracklab/fmriprep:latest -i
  6. /bids/S"${num}"/anat/S"${num}"_T1w.nii.gz -subjid P"${num}" -sd
  7. /out -all; done
Add Comment
Please, Sign In to add comment