!cp -p rois/*.{label,annot} $SUBJECTS_DIR/fsaverage/label/ %%bash rois="ifs amfg pmfg fpc ifg ains psfs" for roi in $rois do make_masks.py -s subjects.txt -roi yeo17_$roi -label yeo17_$roi -sample graymid -save_native done %%bash rois="ips otc" for roi in $rois do make_masks.py -s subjects.txt -roi yeo17_$roi -label yeo17_$roi -sample graymid -save_native done %%bash for hemi in lh rh do make_masks.py -s subjects.txt -roi $hemi.yeo17_ifs -label yeo17_ifs -sample graymid -hemi $hemi done %%bash for roi in aifs pifs do make_masks.py -s subjects.txt -roi yeo17_$roi -label yeo17_$roi -sample graymid -save_native done %%bash for hemi in lh rh do mri_mergelabels -i rois/$hemi.yeo17_ifs.label -i rois/$hemi.yeo17_amfg.label -i rois/$hemi.yeo17_pmfg.label \ -i rois/$hemi.yeo17_fpc.label -i rois/$hemi.yeo17_ifg.label -i rois/$hemi.yeo17_psfs.label \ -i rois/$hemi.yeo17_ains.label -o rois/$hemi.dksort_all_pfc.label cp rois/$hemi.dksort_all_pfc.label $SUBJECTS_DIR/fsaverage/label/ done %%bash make_masks.py -s subjects.txt -roi dksort_all_pfc -label dksort_all_pfc -sample graymid -save_native