recon-all.cmd 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. #---------------------------------
  2. # New invocation of recon-all Sun Oct 22 20:25:40 CEST 2017
  3. mri_convert /pasteur/projets/policy01/cinq/rto/data/abide/_orig/raw_nii/UM_1/0050309/session_1/anat_1/mprage.nii.gz /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/mri/orig/001.mgz
  4. #--------------------------------------------
  5. #@# MotionCor Sun Oct 22 20:25:45 CEST 2017
  6. cp /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/mri/orig/001.mgz /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/mri/rawavg.mgz
  7. mri_convert /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/mri/rawavg.mgz /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/mri/orig.mgz --conform
  8. mri_add_xform_to_header -c /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/mri/transforms/talairach.xfm /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/mri/orig.mgz /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/mri/orig.mgz
  9. #--------------------------------------------
  10. #@# Talairach Sun Oct 22 20:25:55 CEST 2017
  11. mri_nu_correct.mni --no-rescale --i orig.mgz --o orig_nu.mgz --n 1 --proto-iters 1000 --distance 50
  12. talairach_avi --i orig_nu.mgz --xfm transforms/talairach.auto.xfm
  13. talairach_avi log file is transforms/talairach_avi.log...
  14. cp transforms/talairach.auto.xfm transforms/talairach.xfm
  15. #--------------------------------------------
  16. #@# Talairach Failure Detection Sun Oct 22 20:27:59 CEST 2017
  17. talairach_afd -T 0.005 -xfm transforms/talairach.xfm
  18. awk -f /pasteur/homes/ntraut/bin/freesurfer-6.0.0/bin/extract_talairach_avi_QA.awk /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/mri/transforms/talairach_avi.log
  19. tal_QC_AZS /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/mri/transforms/talairach_avi.log
  20. #--------------------------------------------
  21. #@# Nu Intensity Correction Sun Oct 22 20:27:59 CEST 2017
  22. mri_nu_correct.mni --i orig.mgz --o nu.mgz --uchar transforms/talairach.xfm --n 2
  23. mri_add_xform_to_header -c /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/mri/transforms/talairach.xfm nu.mgz nu.mgz
  24. #--------------------------------------------
  25. #@# Intensity Normalization Sun Oct 22 20:30:15 CEST 2017
  26. mri_normalize -g 1 -mprage nu.mgz T1.mgz
  27. #--------------------------------------------
  28. #@# Skull Stripping Sun Oct 22 20:32:40 CEST 2017
  29. mri_em_register -rusage /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/touch/rusage.mri_em_register.skull.dat -skull nu.mgz /pasteur/homes/ntraut/bin/freesurfer-6.0.0/average/RB_all_withskull_2016-05-10.vc700.gca transforms/talairach_with_skull.lta
  30. mri_watershed -rusage /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/touch/rusage.mri_watershed.dat -T1 -brain_atlas /pasteur/homes/ntraut/bin/freesurfer-6.0.0/average/RB_all_withskull_2016-05-10.vc700.gca transforms/talairach_with_skull.lta T1.mgz brainmask.auto.mgz
  31. cp brainmask.auto.mgz brainmask.mgz
  32. #-------------------------------------
  33. #@# EM Registration Sun Oct 22 20:55:56 CEST 2017
  34. mri_em_register -rusage /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/touch/rusage.mri_em_register.dat -uns 3 -mask brainmask.mgz nu.mgz /pasteur/homes/ntraut/bin/freesurfer-6.0.0/average/RB_all_2016-05-10.vc700.gca transforms/talairach.lta
  35. #--------------------------------------
  36. #@# CA Normalize Sun Oct 22 21:14:11 CEST 2017
  37. mri_ca_normalize -c ctrl_pts.mgz -mask brainmask.mgz nu.mgz /pasteur/homes/ntraut/bin/freesurfer-6.0.0/average/RB_all_2016-05-10.vc700.gca transforms/talairach.lta norm.mgz
  38. #--------------------------------------
  39. #@# CA Reg Sun Oct 22 21:16:00 CEST 2017
  40. mri_ca_register -rusage /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/touch/rusage.mri_ca_register.dat -nobigventricles -T transforms/talairach.lta -align-after -mask brainmask.mgz norm.mgz /pasteur/homes/ntraut/bin/freesurfer-6.0.0/average/RB_all_2016-05-10.vc700.gca transforms/talairach.m3z
  41. #--------------------------------------
  42. #@# SubCort Seg Mon Oct 23 00:50:41 CEST 2017
  43. mri_ca_label -relabel_unlikely 9 .3 -prior 0.5 -align norm.mgz transforms/talairach.m3z /pasteur/homes/ntraut/bin/freesurfer-6.0.0/average/RB_all_2016-05-10.vc700.gca aseg.auto_noCCseg.mgz
  44. mri_cc -aseg aseg.auto_noCCseg.mgz -o aseg.auto.mgz -lta /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/mri/transforms/cc_up.lta 0050309
  45. #--------------------------------------
  46. #@# Merge ASeg Mon Oct 23 01:57:23 CEST 2017
  47. cp aseg.auto.mgz aseg.presurf.mgz
  48. #--------------------------------------------
  49. #@# Intensity Normalization2 Mon Oct 23 01:57:24 CEST 2017
  50. mri_normalize -mprage -aseg aseg.presurf.mgz -mask brainmask.mgz norm.mgz brain.mgz
  51. #--------------------------------------------
  52. #@# Mask BFS Mon Oct 23 02:01:19 CEST 2017
  53. mri_mask -T 5 brain.mgz brainmask.mgz brain.finalsurfs.mgz
  54. #--------------------------------------------
  55. #@# WM Segmentation Mon Oct 23 02:01:21 CEST 2017
  56. mri_segment -mprage brain.mgz wm.seg.mgz
  57. mri_edit_wm_with_aseg -keep-in wm.seg.mgz brain.mgz aseg.presurf.mgz wm.asegedit.mgz
  58. mri_pretess wm.asegedit.mgz wm norm.mgz wm.mgz
  59. #--------------------------------------------
  60. #@# Fill Mon Oct 23 02:05:49 CEST 2017
  61. mri_fill -a ../scripts/ponscc.cut.log -xform transforms/talairach.lta -segmentation aseg.auto_noCCseg.mgz wm.mgz filled.mgz
  62. #--------------------------------------------
  63. #@# Tessellate lh Mon Oct 23 02:06:38 CEST 2017
  64. mri_pretess ../mri/filled.mgz 255 ../mri/norm.mgz ../mri/filled-pretess255.mgz
  65. mri_tessellate ../mri/filled-pretess255.mgz 255 ../surf/lh.orig.nofix
  66. rm -f ../mri/filled-pretess255.mgz
  67. mris_extract_main_component ../surf/lh.orig.nofix ../surf/lh.orig.nofix
  68. #--------------------------------------------
  69. #@# Tessellate rh Mon Oct 23 02:06:43 CEST 2017
  70. mri_pretess ../mri/filled.mgz 127 ../mri/norm.mgz ../mri/filled-pretess127.mgz
  71. mri_tessellate ../mri/filled-pretess127.mgz 127 ../surf/rh.orig.nofix
  72. rm -f ../mri/filled-pretess127.mgz
  73. mris_extract_main_component ../surf/rh.orig.nofix ../surf/rh.orig.nofix
  74. #--------------------------------------------
  75. #@# Smooth1 lh Mon Oct 23 02:06:49 CEST 2017
  76. mris_smooth -nw -seed 1234 ../surf/lh.orig.nofix ../surf/lh.smoothwm.nofix
  77. #--------------------------------------------
  78. #@# Smooth1 rh Mon Oct 23 02:06:49 CEST 2017
  79. mris_smooth -nw -seed 1234 ../surf/rh.orig.nofix ../surf/rh.smoothwm.nofix
  80. #--------------------------------------------
  81. #@# Inflation1 lh Mon Oct 23 02:07:00 CEST 2017
  82. mris_inflate -no-save-sulc ../surf/lh.smoothwm.nofix ../surf/lh.inflated.nofix
  83. #--------------------------------------------
  84. #@# Inflation1 rh Mon Oct 23 02:07:00 CEST 2017
  85. mris_inflate -no-save-sulc ../surf/rh.smoothwm.nofix ../surf/rh.inflated.nofix
  86. #--------------------------------------------
  87. #@# QSphere lh Mon Oct 23 02:08:33 CEST 2017
  88. mris_sphere -q -seed 1234 ../surf/lh.inflated.nofix ../surf/lh.qsphere.nofix
  89. #--------------------------------------------
  90. #@# QSphere rh Mon Oct 23 02:08:33 CEST 2017
  91. mris_sphere -q -seed 1234 ../surf/rh.inflated.nofix ../surf/rh.qsphere.nofix
  92. #--------------------------------------------
  93. #@# Fix Topology Copy lh Mon Oct 23 02:18:13 CEST 2017
  94. cp ../surf/lh.orig.nofix ../surf/lh.orig
  95. cp ../surf/lh.inflated.nofix ../surf/lh.inflated
  96. #--------------------------------------------
  97. #@# Fix Topology Copy rh Mon Oct 23 02:18:13 CEST 2017
  98. cp ../surf/rh.orig.nofix ../surf/rh.orig
  99. cp ../surf/rh.inflated.nofix ../surf/rh.inflated
  100. #@# Fix Topology lh Mon Oct 23 02:18:13 CEST 2017
  101. mris_fix_topology -rusage /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/touch/rusage.mris_fix_topology.lh.dat -mgz -sphere qsphere.nofix -ga -seed 1234 0050309 lh
  102. #@# Fix Topology rh Mon Oct 23 02:18:13 CEST 2017
  103. mris_fix_topology -rusage /pasteur/projets/policy01/cinq/rto/data/abide/fs-6.0.0/0050309/touch/rusage.mris_fix_topology.rh.dat -mgz -sphere qsphere.nofix -ga -seed 1234 0050309 rh
  104. #---------------------------------
  105. # New invocation of recon-all Tue May 29 16:19:41 CEST 2018
  106. #---------------------------------
  107. # New invocation of recon-all Tue May 29 16:25:19 CEST 2018
  108. #---------------------------------
  109. # New invocation of recon-all Tue May 29 16:56:44 CEST 2018
  110. #--------------------------------------------
  111. #@# Qdec Cache preproc lh w-g.pct.00.mgh fsaverage Tue May 29 16:56:46 CEST 2018
  112. mris_preproc --s 0050309 --hemi lh --meas w-g.pct.00.mgh --target fsaverage --out lh.w-g.pct.00.mgh.fsaverage.mgh
  113. #---------------------------------
  114. # New invocation of recon-all Wed May 30 14:45:30 CEST 2018
  115. #--------------------------------------------
  116. #@# Qdec Cache preproc lh w-g.pct.mgh fsaverage Wed May 30 14:45:36 CEST 2018
  117. mris_preproc --s 0050309 --hemi lh --meas w-g.pct.mgh --target fsaverage --out lh.w-g.pct.mgh.fsaverage.mgh
  118. #---------------------------------
  119. # New invocation of recon-all Thu Jul 12 13:52:33 CEST 2018
  120. #--------------------------------------------
  121. #@# Qdec Cache preproc lh thickness fsaverage Thu Jul 12 13:52:37 CEST 2018
  122. mris_preproc --s 0050309 --hemi lh --meas thickness --target fsaverage --out lh.thickness.fsaverage.mgh
  123. #---------------------------------
  124. # New invocation of recon-all Thu Oct 17 17:47:29 CEST 2019
  125. #--------------------------------------------
  126. #@# Qdec Cache preproc lh thickness fsaverage4 Thu Oct 17 17:47:41 CEST 2019
  127. mris_preproc --s 0050309 --hemi lh --meas thickness --target fsaverage4 --out lh.thickness.fsaverage4.mgh