Maybe to avoid problems with strange subdirs (like fsaverage), use

|asegstats2table --subjects ??? \ --segno 11 17 18 \ --tablefile aseg.vol.table|

if all subjects ids are three digits.

Best, Martin


On 01/22/2016 10:38 AM, Douglas Greve wrote:
It should take wild cards

On 1/21/16 8:16 PM, Luis Fernado Silva Castro de Araújo wrote:

Hi Freesurfer experts,

I wonder if there is a way of extracting the stats for all patients in my last run at the same time. I have around 120 observations and the asegstats2table syntax works in such a way that all the patients names should be listed:

|asegstats2table --subjects 004 021 040 067 080 092 \ --segno 11 17 18 \ --tablefile aseg.vol.table |

I hope I am wrong, but it seems that the —subjects argument does not accept substitution with wildcards, like |*| or |*.*|

Is there a way to make the command run the extraction of the statistics in all subjects within the $SUBJECTS_DIR in order to avoid typing all the 120 folder names? A bash script would do too.

Thanks,

luis

​


_______________________________________________
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

--
Martin Reuter, PhD
Assistant Professor of Radiology, Harvard Medical School
Assistant Professor of Neurology, Harvard Medical School
A.A.Martinos Center for Biomedical Imaging
Massachusetts General Hospital
Research Affiliate, CSAIL, MIT
Phone: +1-617-724-5652
Web  : http://reuter.mit.edu

_______________________________________________
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 Partners Compliance HelpLine at
http://www.partners.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.

Reply via email to