That does not apply to the recon-all command, only to mri_segment_hypothalamus_subunits

On 7/1/2021 12:23 PM, g.ton...@libero.it wrote:

        External Email - Use Caution

Hello FreeSurfer Developers,

Thank you for your work !
I successfully set up Freesurfer and ran a test on my computer, and I am now attempting to run recon-all on all subjects in a folder ("/home/users/s/saccaro/Groupe_0" in the example script below). I run the analysis on a HPC (SLURM system).

I found that, concerning the recon-all command, "If no name is given after --s, the code will be run on ALL subjects in $SUBJECTS_DIR <https://secure-web.cisco.com/1cAYZmFGVfas4DCf91-Y9WZa9anAVybKAgr13rFXfcD8BmuTPUSvDFohmKg6XCOHsIyMh3GxdvII3R4KsnUNvVgmkFYaXaLUrV6D4KS_FHQoG-jh3udJfVenKYjfGnQ52GhpYoVVrX0tBf7dYQrUolGWmFw6e6_WhYzueJZGR4-f7wZgN7ElCR8p-E0JP_iMzorzjxp4ZS3pmsDJZJvZJBPtOe4ViP3yDrkR8Q0-xSgssKu5gO4tvQffgOtxO6IJ39HSHMy99mPGWxaH3WxM5sg/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FHypothalamicSubunits>." but I do not find information on how this could work also for the previous step, mri_convert: is there a way to submit a job to segment all subjects in the folder "Groupe_0", and not just S001 (in the example below)? All folders are structured as follows: /S@@@/scans/struct/@@@@@@.nii .

I am new to Freesurfer and I apologize if my question is naive but I cannot find a solution in any of the online resources.

Thank you very much for your time!
Best,

Giorgio

*- Script, without SBATCH settings (I join the full version):*

module load FreeSurfer/6.0.0-centos6_x86_64
source /home/users/s/saccaro/SetUpFreeSurfer.sh
FSDIR="/home/users/s/saccaro/Groupe_0"

mksubjdris ${FSDIR}/S001;

mri_convert -i ${FSDIR}/S001/scans/struct/s44891-153636-00001-00192-1.nii -o ${FSDIR}/S001/scans/struct/s44891-153636-00001-00192-1.mgz

recon-all -all -s S001

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is 
addressed. If you believe this e-mail was sent to you in error and the e-mail 
contains patient information, please contact the Mass General Brigham 
Compliance HelpLine at http://www.massgeneralbrigham.org/complianceline . If 
the e-mail was sent to you in error but does not contain patient information, 
please contact the sender and properly dispose of the e-mail.
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

Reply via email to