Hi,
Thanks Marcos for your reply. My problem is that asegstats2table does not output values for eTIV. I do not manage to figure out why.
But maybe your script could work. Anyone knows what is the corresponding FieldName Index for eTIV?? I checked a aseg.stats file and did not find it.
Thanks a lot
Dani
Message: 7 Date: Wed, 02 Oct 2013 10:32:51 -0300 From: Marcos Martins da Silva marcosm@hucff.ufrj.br Subject: Re: [Freesurfer] missing eTIV in asegstats2table To: Daniel Ferreira danifer@ull.es Cc: freesurfer@nmr.mgh.harvard.edu Message-ID: 1380720771.1845.9.camel@alien Content-Type: text/plain; charset="utf-8"
You can use in a loop with your subjects. It extracts the fields I want and some others including the etiv to a table named AsegVol. You may change the number of the fields to get what you need. The code I am sending you addresses hippocampus, putamen and caudate (both sides).
________________________________________________________________________ for i in $(ls -d suj*)
do
asegstats2table --segno 11 12 17 50 51 53 -s $i --tablefile AsegVol done
________________________________________________________________________ Notice that suj is the prefix of all my subjects in freesurfer/subjects folder I hope it helps you. Em Qua, 2013-10-02