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