Category: Affective Neuroscience

Resolve Bedpostx issue

If one previously established SGE engine environment for some other job, bedpostx_gpu will display error and stop.

exit: 412: Illegal number: -1
You will get an email at the end of the post-processing stage.

Of course the mail will never arrive.

Simple resolution. The error is due to inappropriate FSLPARALLEL setting.

unset SGE_ROOT
unset FSLPARALLEL

Than run bedpostx_gpu.

Again and always, thanks so much, Moises.

Merging anatomical regions

Preparation

1. Download the program for extract annotation table to LUT file.

GWFSAnnotToLUT

2. Extract the annotation file and save it as editable format.

  WFSAnnotToLUT annot_file_path output_file_path

For example,

  GWFSAnnotToLUT /iPsych/freesurfer/subjects/001/label/lh.aparc.annot  /iPsych/freesurfer/subjects/001/label/lh.annot.txt

*replace the subject directory and subject numberings.

Create new lookup table

1. Follow the guides below.