recon-all.cmd 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637
  1. mri_convert /data/in/sub-02/anat/sub-02_T1w.nii.gz /data/out/sub-02/mri/orig/001.mgz
  2. #--------------------------------------------
  3. #@# MotionCor Sat Jan 14 08:35:59 UTC 2017
  4. cp /data/out/sub-02/mri/orig/001.mgz /data/out/sub-02/mri/rawavg.mgz
  5. mri_convert /data/out/sub-02/mri/rawavg.mgz /data/out/sub-02/mri/orig.mgz --conform
  6. mri_add_xform_to_header -c /data/out/sub-02/mri/transforms/talairach.xfm /data/out/sub-02/mri/orig.mgz /data/out/sub-02/mri/orig.mgz
  7. #--------------------------------------------
  8. #@# Talairach Sat Jan 14 08:36:08 UTC 2017
  9. mri_nu_correct.mni --n 1 --proto-iters 1000 --distance 50 --no-rescale --i orig.mgz --o orig_nu.mgz
  10. talairach_avi --i orig_nu.mgz --xfm transforms/talairach.auto.xfm
  11. cp transforms/talairach.auto.xfm transforms/talairach.xfm
  12. #--------------------------------------------
  13. #@# Talairach Failure Detection Sat Jan 14 08:37:15 UTC 2017
  14. talairach_afd -T 0.005 -xfm transforms/talairach.xfm
  15. awk -f /opt/freesurfer/bin/extract_talairach_avi_QA.awk /data/out/sub-02/mri/transforms/talairach_avi.log
  16. tal_QC_AZS /data/out/sub-02/mri/transforms/talairach_avi.log
  17. #--------------------------------------------
  18. #@# Nu Intensity Correction Sat Jan 14 08:37:16 UTC 2017
  19. mri_nu_correct.mni --i orig.mgz --o nu.mgz --uchar transforms/talairach.xfm --n 2
  20. mri_add_xform_to_header -c /data/out/sub-02/mri/transforms/talairach.xfm nu.mgz nu.mgz
  21. #--------------------------------------------
  22. #@# Intensity Normalization Sat Jan 14 08:38:18 UTC 2017
  23. mri_normalize -g 1 nu.mgz T1.mgz
  24. #--------------------------------------------
  25. #@# Skull Stripping Sat Jan 14 08:39:56 UTC 2017
  26. mri_em_register -skull nu.mgz /opt/freesurfer/average/RB_all_withskull_2008-03-26.gca transforms/talairach_with_skull.lta
  27. mri_watershed -T1 -brain_atlas /opt/freesurfer/average/RB_all_withskull_2008-03-26.gca transforms/talairach_with_skull.lta T1.mgz brainmask.auto.mgz
  28. cp brainmask.auto.mgz brainmask.mgz
  29. #-------------------------------------
  30. #@# EM Registration Sat Jan 14 09:04:38 UTC 2017
  31. mri_em_register -uns 3 -mask brainmask.mgz nu.mgz /opt/freesurfer/average/RB_all_2008-03-26.gca transforms/talairach.lta
  32. #--------------------------------------
  33. #@# CA Normalize Sat Jan 14 09:23:36 UTC 2017
  34. mri_ca_normalize -c ctrl_pts.mgz -mask brainmask.mgz nu.mgz /opt/freesurfer/average/RB_all_2008-03-26.gca transforms/talairach.lta norm.mgz
  35. #--------------------------------------
  36. #@# CA Reg Sat Jan 14 09:24:59 UTC 2017
  37. mri_ca_register -nobigventricles -T transforms/talairach.lta -align-after -mask brainmask.mgz norm.mgz /opt/freesurfer/average/RB_all_2008-03-26.gca transforms/talairach.m3z
  38. #--------------------------------------
  39. #@# CA Reg Inv Sat Jan 14 11:57:34 UTC 2017
  40. mri_ca_register -invert-and-save transforms/talairach.m3z
  41. #--------------------------------------
  42. #@# Remove Neck Sat Jan 14 11:58:33 UTC 2017
  43. mri_remove_neck -radius 25 nu.mgz transforms/talairach.m3z /opt/freesurfer/average/RB_all_2008-03-26.gca nu_noneck.mgz
  44. #--------------------------------------
  45. #@# SkullLTA Sat Jan 14 11:59:36 UTC 2017
  46. mri_em_register -skull -t transforms/talairach.lta nu_noneck.mgz /opt/freesurfer/average/RB_all_withskull_2008-03-26.gca transforms/talairach_with_skull_2.lta
  47. #--------------------------------------
  48. #@# SubCort Seg Sat Jan 14 12:20:20 UTC 2017
  49. mri_ca_label -align norm.mgz transforms/talairach.m3z /opt/freesurfer/average/RB_all_2008-03-26.gca aseg.auto_noCCseg.mgz
  50. mri_cc -aseg aseg.auto_noCCseg.mgz -o aseg.auto.mgz -lta /data/out/sub-02/mri/transforms/cc_up.lta sub-02
  51. #--------------------------------------
  52. #@# Merge ASeg Sat Jan 14 12:37:57 UTC 2017
  53. cp aseg.auto.mgz aseg.mgz
  54. #--------------------------------------------
  55. #@# Intensity Normalization2 Sat Jan 14 12:37:57 UTC 2017
  56. mri_normalize -aseg aseg.mgz -mask brainmask.mgz norm.mgz brain.mgz
  57. #--------------------------------------------
  58. #@# Mask BFS Sat Jan 14 12:40:46 UTC 2017
  59. mri_mask -T 5 brain.mgz brainmask.mgz brain.finalsurfs.mgz
  60. #--------------------------------------------
  61. #@# WM Segmentation Sat Jan 14 12:40:48 UTC 2017
  62. mri_segment brain.mgz wm.seg.mgz
  63. mri_edit_wm_with_aseg -keep-in wm.seg.mgz brain.mgz aseg.mgz wm.asegedit.mgz
  64. mri_pretess wm.asegedit.mgz wm norm.mgz wm.mgz
  65. #--------------------------------------------
  66. #@# Fill Sat Jan 14 12:42:25 UTC 2017
  67. mri_fill -a ../scripts/ponscc.cut.log -xform transforms/talairach.lta -segmentation aseg.auto_noCCseg.mgz wm.mgz filled.mgz
  68. #--------------------------------------------
  69. #@# Tessellate lh Sat Jan 14 12:43:03 UTC 2017
  70. mri_pretess ../mri/filled.mgz 255 ../mri/norm.mgz ../mri/filled-pretess255.mgz
  71. mri_tessellate ../mri/filled-pretess255.mgz 255 ../surf/lh.orig.nofix
  72. rm -f ../mri/filled-pretess255.mgz
  73. mris_extract_main_component ../surf/lh.orig.nofix ../surf/lh.orig.nofix
  74. #--------------------------------------------
  75. #@# Smooth1 lh Sat Jan 14 12:43:08 UTC 2017
  76. mris_smooth -nw -seed 1234 ../surf/lh.orig.nofix ../surf/lh.smoothwm.nofix
  77. #--------------------------------------------
  78. #@# Inflation1 lh Sat Jan 14 12:43:10 UTC 2017
  79. mris_inflate -no-save-sulc ../surf/lh.smoothwm.nofix ../surf/lh.inflated.nofix
  80. #--------------------------------------------
  81. #@# QSphere lh Sat Jan 14 12:43:30 UTC 2017
  82. mris_sphere -q -seed 1234 ../surf/lh.inflated.nofix ../surf/lh.qsphere.nofix
  83. #--------------------------------------------
  84. #@# Fix Topology lh Sat Jan 14 12:46:21 UTC 2017
  85. cp ../surf/lh.orig.nofix ../surf/lh.orig
  86. cp ../surf/lh.inflated.nofix ../surf/lh.inflated
  87. mris_fix_topology -mgz -sphere qsphere.nofix -ga -seed 1234 sub-02 lh
  88. mris_euler_number ../surf/lh.orig
  89. mris_remove_intersection ../surf/lh.orig ../surf/lh.orig
  90. rm ../surf/lh.inflated
  91. #--------------------------------------------
  92. #@# Make White Surf lh Sat Jan 14 12:59:01 UTC 2017
  93. mris_make_surfaces -noaparc -whiteonly -mgz -T1 brain.finalsurfs sub-02 lh
  94. #--------------------------------------------
  95. #@# Smooth2 lh Sat Jan 14 13:02:29 UTC 2017
  96. mris_smooth -n 3 -nw -seed 1234 ../surf/lh.white ../surf/lh.smoothwm
  97. #--------------------------------------------
  98. #@# Inflation2 lh Sat Jan 14 13:02:32 UTC 2017
  99. mris_inflate ../surf/lh.smoothwm ../surf/lh.inflated
  100. mris_curvature -thresh .999 -n -a 5 -w -distances 10 10 ../surf/lh.inflated
  101. #-----------------------------------------
  102. #@# Curvature Stats lh Sat Jan 14 13:03:48 UTC 2017
  103. mris_curvature_stats -m --writeCurvatureFiles -G -o ../stats/lh.curv.stats -F smoothwm sub-02 lh curv sulc
  104. #--------------------------------------------
  105. #@# Sphere lh Sat Jan 14 13:03:51 UTC 2017
  106. mris_sphere -seed 1234 ../surf/lh.inflated ../surf/lh.sphere
  107. #--------------------------------------------
  108. #@# Surf Reg lh Sat Jan 14 13:30:11 UTC 2017
  109. mris_register -curv ../surf/lh.sphere /opt/freesurfer/average/lh.average.curvature.filled.buckner40.tif ../surf/lh.sphere.reg
  110. #--------------------------------------------
  111. #@# Jacobian white lh Sat Jan 14 13:44:00 UTC 2017
  112. mris_jacobian ../surf/lh.white ../surf/lh.sphere.reg ../surf/lh.jacobian_white
  113. #--------------------------------------------
  114. #@# AvgCurv lh Sat Jan 14 13:44:02 UTC 2017
  115. mrisp_paint -a 5 /opt/freesurfer/average/lh.average.curvature.filled.buckner40.tif#6 ../surf/lh.sphere.reg ../surf/lh.avg_curv
  116. #-----------------------------------------
  117. #@# Cortical Parc lh Sat Jan 14 13:44:03 UTC 2017
  118. mris_ca_label -l ../label/lh.cortex.label -aseg ../mri/aseg.mgz -seed 1234 sub-02 lh ../surf/lh.sphere.reg /opt/freesurfer/average/lh.curvature.buckner40.filled.desikan_killiany.2010-03-25.gcs ../label/lh.aparc.annot
  119. #--------------------------------------------
  120. #@# Make Pial Surf lh Sat Jan 14 13:44:33 UTC 2017
  121. mris_make_surfaces -white NOWRITE -mgz -T1 brain.finalsurfs sub-02 lh
  122. #--------------------------------------------
  123. #@# Surf Volume lh Sat Jan 14 13:51:02 UTC 2017
  124. mris_calc -o lh.area.mid lh.area add lh.area.pial
  125. mris_calc -o lh.area.mid lh.area.mid div 2
  126. mris_calc -o lh.volume lh.area.mid mul lh.thickness
  127. #-----------------------------------------
  128. #@# WM/GM Contrast lh Sat Jan 14 13:51:03 UTC 2017
  129. pctsurfcon --s sub-02 --lh-only
  130. #-----------------------------------------
  131. #@# Parcellation Stats lh Sat Jan 14 13:51:07 UTC 2017
  132. mris_anatomical_stats -mgz -cortex ../label/lh.cortex.label -f ../stats/lh.aparc.stats -b -a ../label/lh.aparc.annot -c ../label/aparc.annot.ctab sub-02 lh white
  133. #-----------------------------------------
  134. #@# Cortical Parc 2 lh Sat Jan 14 13:51:15 UTC 2017
  135. mris_ca_label -l ../label/lh.cortex.label -aseg ../mri/aseg.mgz -seed 1234 sub-02 lh ../surf/lh.sphere.reg /opt/freesurfer/average/lh.destrieux.simple.2009-07-29.gcs ../label/lh.aparc.a2009s.annot
  136. #-----------------------------------------
  137. #@# Parcellation Stats 2 lh Sat Jan 14 13:51:53 UTC 2017
  138. mris_anatomical_stats -mgz -cortex ../label/lh.cortex.label -f ../stats/lh.aparc.a2009s.stats -b -a ../label/lh.aparc.a2009s.annot -c ../label/aparc.annot.a2009s.ctab sub-02 lh white
  139. #-----------------------------------------
  140. #@# Cortical Parc 3 lh Sat Jan 14 13:52:01 UTC 2017
  141. mris_ca_label -l ../label/lh.cortex.label -aseg ../mri/aseg.mgz -seed 1234 sub-02 lh ../surf/lh.sphere.reg /opt/freesurfer/average/lh.DKTatlas40.gcs ../label/lh.aparc.DKTatlas40.annot
  142. #-----------------------------------------
  143. #@# Parcellation Stats 3 lh Sat Jan 14 13:52:30 UTC 2017
  144. mris_anatomical_stats -mgz -cortex ../label/lh.cortex.label -f ../stats/lh.aparc.DKTatlas40.stats -b -a ../label/lh.aparc.DKTatlas40.annot -c ../label/aparc.annot.DKTatlas40.ctab sub-02 lh white
  145. #--------------------------------------------
  146. #@# Tessellate rh Sat Jan 14 13:52:38 UTC 2017
  147. mri_pretess ../mri/filled.mgz 127 ../mri/norm.mgz ../mri/filled-pretess127.mgz
  148. mri_tessellate ../mri/filled-pretess127.mgz 127 ../surf/rh.orig.nofix
  149. rm -f ../mri/filled-pretess127.mgz
  150. mris_extract_main_component ../surf/rh.orig.nofix ../surf/rh.orig.nofix
  151. #--------------------------------------------
  152. #@# Smooth1 rh Sat Jan 14 13:52:42 UTC 2017
  153. mris_smooth -nw -seed 1234 ../surf/rh.orig.nofix ../surf/rh.smoothwm.nofix
  154. #--------------------------------------------
  155. #@# Inflation1 rh Sat Jan 14 13:52:45 UTC 2017
  156. mris_inflate -no-save-sulc ../surf/rh.smoothwm.nofix ../surf/rh.inflated.nofix
  157. #--------------------------------------------
  158. #@# QSphere rh Sat Jan 14 13:53:04 UTC 2017
  159. mris_sphere -q -seed 1234 ../surf/rh.inflated.nofix ../surf/rh.qsphere.nofix
  160. #--------------------------------------------
  161. #@# Fix Topology rh Sat Jan 14 13:55:27 UTC 2017
  162. cp ../surf/rh.orig.nofix ../surf/rh.orig
  163. cp ../surf/rh.inflated.nofix ../surf/rh.inflated
  164. mris_fix_topology -mgz -sphere qsphere.nofix -ga -seed 1234 sub-02 rh
  165. mris_euler_number ../surf/rh.orig
  166. mris_remove_intersection ../surf/rh.orig ../surf/rh.orig
  167. rm ../surf/rh.inflated
  168. #--------------------------------------------
  169. #@# Make White Surf rh Sat Jan 14 14:09:18 UTC 2017
  170. mris_make_surfaces -noaparc -whiteonly -mgz -T1 brain.finalsurfs sub-02 rh
  171. #--------------------------------------------
  172. #@# Smooth2 rh Sat Jan 14 14:12:18 UTC 2017
  173. mris_smooth -n 3 -nw -seed 1234 ../surf/rh.white ../surf/rh.smoothwm
  174. #--------------------------------------------
  175. #@# Inflation2 rh Sat Jan 14 14:12:20 UTC 2017
  176. mris_inflate ../surf/rh.smoothwm ../surf/rh.inflated
  177. mris_curvature -thresh .999 -n -a 5 -w -distances 10 10 ../surf/rh.inflated
  178. #-----------------------------------------
  179. #@# Curvature Stats rh Sat Jan 14 14:13:26 UTC 2017
  180. mris_curvature_stats -m --writeCurvatureFiles -G -o ../stats/rh.curv.stats -F smoothwm sub-02 rh curv sulc
  181. #--------------------------------------------
  182. #@# Sphere rh Sat Jan 14 14:13:29 UTC 2017
  183. mris_sphere -seed 1234 ../surf/rh.inflated ../surf/rh.sphere
  184. #--------------------------------------------
  185. #@# Surf Reg rh Sat Jan 14 14:28:17 UTC 2017
  186. mris_register -curv ../surf/rh.sphere /opt/freesurfer/average/rh.average.curvature.filled.buckner40.tif ../surf/rh.sphere.reg
  187. #--------------------------------------------
  188. #@# Jacobian white rh Sat Jan 14 14:41:19 UTC 2017
  189. mris_jacobian ../surf/rh.white ../surf/rh.sphere.reg ../surf/rh.jacobian_white
  190. #--------------------------------------------
  191. #@# AvgCurv rh Sat Jan 14 14:41:21 UTC 2017
  192. mrisp_paint -a 5 /opt/freesurfer/average/rh.average.curvature.filled.buckner40.tif#6 ../surf/rh.sphere.reg ../surf/rh.avg_curv
  193. #-----------------------------------------
  194. #@# Cortical Parc rh Sat Jan 14 14:41:22 UTC 2017
  195. mris_ca_label -l ../label/rh.cortex.label -aseg ../mri/aseg.mgz -seed 1234 sub-02 rh ../surf/rh.sphere.reg /opt/freesurfer/average/rh.curvature.buckner40.filled.desikan_killiany.2010-03-25.gcs ../label/rh.aparc.annot
  196. #--------------------------------------------
  197. #@# Make Pial Surf rh Sat Jan 14 14:41:51 UTC 2017
  198. mris_make_surfaces -white NOWRITE -mgz -T1 brain.finalsurfs sub-02 rh
  199. #--------------------------------------------
  200. #@# Surf Volume rh Sat Jan 14 14:47:58 UTC 2017
  201. mris_calc -o rh.area.mid rh.area add rh.area.pial
  202. mris_calc -o rh.area.mid rh.area.mid div 2
  203. mris_calc -o rh.volume rh.area.mid mul rh.thickness
  204. #-----------------------------------------
  205. #@# WM/GM Contrast rh Sat Jan 14 14:47:59 UTC 2017
  206. pctsurfcon --s sub-02 --rh-only
  207. #-----------------------------------------
  208. #@# Parcellation Stats rh Sat Jan 14 14:48:03 UTC 2017
  209. mris_anatomical_stats -mgz -cortex ../label/rh.cortex.label -f ../stats/rh.aparc.stats -b -a ../label/rh.aparc.annot -c ../label/aparc.annot.ctab sub-02 rh white
  210. #-----------------------------------------
  211. #@# Cortical Parc 2 rh Sat Jan 14 14:48:10 UTC 2017
  212. mris_ca_label -l ../label/rh.cortex.label -aseg ../mri/aseg.mgz -seed 1234 sub-02 rh ../surf/rh.sphere.reg /opt/freesurfer/average/rh.destrieux.simple.2009-07-29.gcs ../label/rh.aparc.a2009s.annot
  213. #-----------------------------------------
  214. #@# Parcellation Stats 2 rh Sat Jan 14 14:48:47 UTC 2017
  215. mris_anatomical_stats -mgz -cortex ../label/rh.cortex.label -f ../stats/rh.aparc.a2009s.stats -b -a ../label/rh.aparc.a2009s.annot -c ../label/aparc.annot.a2009s.ctab sub-02 rh white
  216. #-----------------------------------------
  217. #@# Cortical Parc 3 rh Sat Jan 14 14:48:55 UTC 2017
  218. mris_ca_label -l ../label/rh.cortex.label -aseg ../mri/aseg.mgz -seed 1234 sub-02 rh ../surf/rh.sphere.reg /opt/freesurfer/average/rh.DKTatlas40.gcs ../label/rh.aparc.DKTatlas40.annot
  219. #-----------------------------------------
  220. #@# Parcellation Stats 3 rh Sat Jan 14 14:49:24 UTC 2017
  221. mris_anatomical_stats -mgz -cortex ../label/rh.cortex.label -f ../stats/rh.aparc.DKTatlas40.stats -b -a ../label/rh.aparc.DKTatlas40.annot -c ../label/aparc.annot.DKTatlas40.ctab sub-02 rh white
  222. #--------------------------------------------
  223. #@# Cortical ribbon mask Sat Jan 14 14:49:31 UTC 2017
  224. mris_volmask --label_left_white 2 --label_left_ribbon 3 --label_right_white 41 --label_right_ribbon 42 --save_ribbon sub-02
  225. #--------------------------------------------
  226. #@# ASeg Stats Sat Jan 14 14:54:33 UTC 2017
  227. mri_segstats --seg mri/aseg.mgz --sum stats/aseg.stats --pv mri/norm.mgz --empty --brainmask mri/brainmask.mgz --brain-vol-from-seg --excludeid 0 --excl-ctxgmwm --supratent --subcortgray --in mri/norm.mgz --in-intensity-name norm --in-intensity-units MR --etiv --surf-wm-vol --surf-ctx-vol --totalgray --euler --ctab /opt/freesurfer/ASegStatsLUT.txt --subject sub-02
  228. #-----------------------------------------
  229. #@# AParc-to-ASeg Sat Jan 14 14:56:30 UTC 2017
  230. mri_aparc2aseg --s sub-02 --volmask
  231. mri_aparc2aseg --s sub-02 --volmask --a2009s
  232. #-----------------------------------------
  233. #@# WMParc Sat Jan 14 14:57:52 UTC 2017
  234. mri_aparc2aseg --s sub-02 --labelwm --hypo-as-wm --rip-unknown --volmask --o mri/wmparc.mgz --ctxseg aparc+aseg.mgz
  235. mri_segstats --seg mri/wmparc.mgz --sum stats/wmparc.stats --pv mri/norm.mgz --excludeid 0 --brainmask mri/brainmask.mgz --in mri/norm.mgz --in-intensity-name norm --in-intensity-units MR --subject sub-02 --surf-wm-vol --ctab /opt/freesurfer/WMParcStatsLUT.txt --etiv
  236. #--------------------------------------------
  237. #@# BA Labels lh Sat Jan 14 15:04:52 UTC 2017
  238. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA1.label --trgsubject sub-02 --trglabel ./lh.BA1.label --hemi lh --regmethod surface
  239. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA2.label --trgsubject sub-02 --trglabel ./lh.BA2.label --hemi lh --regmethod surface
  240. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA3a.label --trgsubject sub-02 --trglabel ./lh.BA3a.label --hemi lh --regmethod surface
  241. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA3b.label --trgsubject sub-02 --trglabel ./lh.BA3b.label --hemi lh --regmethod surface
  242. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA4a.label --trgsubject sub-02 --trglabel ./lh.BA4a.label --hemi lh --regmethod surface
  243. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA4p.label --trgsubject sub-02 --trglabel ./lh.BA4p.label --hemi lh --regmethod surface
  244. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA6.label --trgsubject sub-02 --trglabel ./lh.BA6.label --hemi lh --regmethod surface
  245. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA44.label --trgsubject sub-02 --trglabel ./lh.BA44.label --hemi lh --regmethod surface
  246. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA45.label --trgsubject sub-02 --trglabel ./lh.BA45.label --hemi lh --regmethod surface
  247. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.V1.label --trgsubject sub-02 --trglabel ./lh.V1.label --hemi lh --regmethod surface
  248. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.V2.label --trgsubject sub-02 --trglabel ./lh.V2.label --hemi lh --regmethod surface
  249. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.MT.label --trgsubject sub-02 --trglabel ./lh.MT.label --hemi lh --regmethod surface
  250. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.perirhinal.label --trgsubject sub-02 --trglabel ./lh.perirhinal.label --hemi lh --regmethod surface
  251. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA1.thresh.label --trgsubject sub-02 --trglabel ./lh.BA1.thresh.label --hemi lh --regmethod surface
  252. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA2.thresh.label --trgsubject sub-02 --trglabel ./lh.BA2.thresh.label --hemi lh --regmethod surface
  253. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA3a.thresh.label --trgsubject sub-02 --trglabel ./lh.BA3a.thresh.label --hemi lh --regmethod surface
  254. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA3b.thresh.label --trgsubject sub-02 --trglabel ./lh.BA3b.thresh.label --hemi lh --regmethod surface
  255. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA4a.thresh.label --trgsubject sub-02 --trglabel ./lh.BA4a.thresh.label --hemi lh --regmethod surface
  256. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA4p.thresh.label --trgsubject sub-02 --trglabel ./lh.BA4p.thresh.label --hemi lh --regmethod surface
  257. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA6.thresh.label --trgsubject sub-02 --trglabel ./lh.BA6.thresh.label --hemi lh --regmethod surface
  258. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA44.thresh.label --trgsubject sub-02 --trglabel ./lh.BA44.thresh.label --hemi lh --regmethod surface
  259. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.BA45.thresh.label --trgsubject sub-02 --trglabel ./lh.BA45.thresh.label --hemi lh --regmethod surface
  260. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.V1.thresh.label --trgsubject sub-02 --trglabel ./lh.V1.thresh.label --hemi lh --regmethod surface
  261. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.V2.thresh.label --trgsubject sub-02 --trglabel ./lh.V2.thresh.label --hemi lh --regmethod surface
  262. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/lh.MT.thresh.label --trgsubject sub-02 --trglabel ./lh.MT.thresh.label --hemi lh --regmethod surface
  263. mris_label2annot --s sub-02 --hemi lh --ctab /opt/freesurfer/average/colortable_BA.txt --l lh.BA1.label --l lh.BA2.label --l lh.BA3a.label --l lh.BA3b.label --l lh.BA4a.label --l lh.BA4p.label --l lh.BA6.label --l lh.BA44.label --l lh.BA45.label --l lh.V1.label --l lh.V2.label --l lh.MT.label --l lh.perirhinal.label --a BA --maxstatwinner --noverbose
  264. mris_label2annot --s sub-02 --hemi lh --ctab /opt/freesurfer/average/colortable_BA.txt --l lh.BA1.thresh.label --l lh.BA2.thresh.label --l lh.BA3a.thresh.label --l lh.BA3b.thresh.label --l lh.BA4a.thresh.label --l lh.BA4p.thresh.label --l lh.BA6.thresh.label --l lh.BA44.thresh.label --l lh.BA45.thresh.label --l lh.V1.thresh.label --l lh.V2.thresh.label --l lh.MT.thresh.label --a BA.thresh --maxstatwinner --noverbose
  265. mris_anatomical_stats -mgz -f ../stats/lh.BA.stats -b -a ./lh.BA.annot -c ./BA.ctab sub-02 lh white
  266. mris_anatomical_stats -mgz -f ../stats/lh.BA.thresh.stats -b -a ./lh.BA.thresh.annot -c ./BA.thresh.ctab sub-02 lh white
  267. #--------------------------------------------
  268. #@# BA Labels rh Sat Jan 14 15:07:16 UTC 2017
  269. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA1.label --trgsubject sub-02 --trglabel ./rh.BA1.label --hemi rh --regmethod surface
  270. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA2.label --trgsubject sub-02 --trglabel ./rh.BA2.label --hemi rh --regmethod surface
  271. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA3a.label --trgsubject sub-02 --trglabel ./rh.BA3a.label --hemi rh --regmethod surface
  272. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA3b.label --trgsubject sub-02 --trglabel ./rh.BA3b.label --hemi rh --regmethod surface
  273. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA4a.label --trgsubject sub-02 --trglabel ./rh.BA4a.label --hemi rh --regmethod surface
  274. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA4p.label --trgsubject sub-02 --trglabel ./rh.BA4p.label --hemi rh --regmethod surface
  275. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA6.label --trgsubject sub-02 --trglabel ./rh.BA6.label --hemi rh --regmethod surface
  276. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA44.label --trgsubject sub-02 --trglabel ./rh.BA44.label --hemi rh --regmethod surface
  277. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA45.label --trgsubject sub-02 --trglabel ./rh.BA45.label --hemi rh --regmethod surface
  278. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.V1.label --trgsubject sub-02 --trglabel ./rh.V1.label --hemi rh --regmethod surface
  279. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.V2.label --trgsubject sub-02 --trglabel ./rh.V2.label --hemi rh --regmethod surface
  280. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.MT.label --trgsubject sub-02 --trglabel ./rh.MT.label --hemi rh --regmethod surface
  281. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.perirhinal.label --trgsubject sub-02 --trglabel ./rh.perirhinal.label --hemi rh --regmethod surface
  282. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA1.thresh.label --trgsubject sub-02 --trglabel ./rh.BA1.thresh.label --hemi rh --regmethod surface
  283. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA2.thresh.label --trgsubject sub-02 --trglabel ./rh.BA2.thresh.label --hemi rh --regmethod surface
  284. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA3a.thresh.label --trgsubject sub-02 --trglabel ./rh.BA3a.thresh.label --hemi rh --regmethod surface
  285. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA3b.thresh.label --trgsubject sub-02 --trglabel ./rh.BA3b.thresh.label --hemi rh --regmethod surface
  286. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA4a.thresh.label --trgsubject sub-02 --trglabel ./rh.BA4a.thresh.label --hemi rh --regmethod surface
  287. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA4p.thresh.label --trgsubject sub-02 --trglabel ./rh.BA4p.thresh.label --hemi rh --regmethod surface
  288. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA6.thresh.label --trgsubject sub-02 --trglabel ./rh.BA6.thresh.label --hemi rh --regmethod surface
  289. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA44.thresh.label --trgsubject sub-02 --trglabel ./rh.BA44.thresh.label --hemi rh --regmethod surface
  290. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.BA45.thresh.label --trgsubject sub-02 --trglabel ./rh.BA45.thresh.label --hemi rh --regmethod surface
  291. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.V1.thresh.label --trgsubject sub-02 --trglabel ./rh.V1.thresh.label --hemi rh --regmethod surface
  292. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.V2.thresh.label --trgsubject sub-02 --trglabel ./rh.V2.thresh.label --hemi rh --regmethod surface
  293. mri_label2label --srcsubject fsaverage --srclabel /data/out/fsaverage/label/rh.MT.thresh.label --trgsubject sub-02 --trglabel ./rh.MT.thresh.label --hemi rh --regmethod surface
  294. mris_label2annot --s sub-02 --hemi rh --ctab /opt/freesurfer/average/colortable_BA.txt --l rh.BA1.label --l rh.BA2.label --l rh.BA3a.label --l rh.BA3b.label --l rh.BA4a.label --l rh.BA4p.label --l rh.BA6.label --l rh.BA44.label --l rh.BA45.label --l rh.V1.label --l rh.V2.label --l rh.MT.label --l rh.perirhinal.label --a BA --maxstatwinner --noverbose
  295. mris_label2annot --s sub-02 --hemi rh --ctab /opt/freesurfer/average/colortable_BA.txt --l rh.BA1.thresh.label --l rh.BA2.thresh.label --l rh.BA3a.thresh.label --l rh.BA3b.thresh.label --l rh.BA4a.thresh.label --l rh.BA4p.thresh.label --l rh.BA6.thresh.label --l rh.BA44.thresh.label --l rh.BA45.thresh.label --l rh.V1.thresh.label --l rh.V2.thresh.label --l rh.MT.thresh.label --a BA.thresh --maxstatwinner --noverbose
  296. mris_anatomical_stats -mgz -f ../stats/rh.BA.stats -b -a ./rh.BA.annot -c ./BA.ctab sub-02 rh white
  297. mris_anatomical_stats -mgz -f ../stats/rh.BA.thresh.stats -b -a ./rh.BA.thresh.annot -c ./BA.thresh.ctab sub-02 rh white
  298. #--------------------------------------------
  299. #@# Ex-vivo Entorhinal Cortex Label lh Sat Jan 14 15:09:37 UTC 2017
  300. mris_spherical_average -erode 1 -orig white -t 0.4 -o sub-02 label lh.entorhinal lh sphere.reg lh.EC_average lh.entorhinal_exvivo.label
  301. mris_anatomical_stats -mgz -f ../stats/lh.entorhinal_exvivo.stats -b -l ./lh.entorhinal_exvivo.label sub-02 lh white
  302. #--------------------------------------------
  303. #@# Ex-vivo Entorhinal Cortex Label rh Sat Jan 14 15:09:47 UTC 2017
  304. mris_spherical_average -erode 1 -orig white -t 0.4 -o sub-02 label rh.entorhinal rh sphere.reg rh.EC_average rh.entorhinal_exvivo.label
  305. mris_anatomical_stats -mgz -f ../stats/rh.entorhinal_exvivo.stats -b -l ./rh.entorhinal_exvivo.label sub-02 rh white