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