On 08/07/2015 03:11 PM, Nate Vack wrote:
> Thanks. Any other file types I should look for tags in?
I think the surfaces have the subject name imbedded in them.
>
> Out of curiosity, how do .mgz and nifti files differ?
>
mgz files have a lot more header info
> Best,
> -Nate
>
> On Thu, Aug 6, 2015 at 9:28 AM Douglas N Greve 
> <gr...@nmr.mgh.harvard.edu <mailto:gr...@nmr.mgh.harvard.edu>> wrote:
>
>     We don't have tools to explicitly change those strings. You can read
>     them into matlab as Bruce suggests. You can also convert them to nifti
>     and then back to mgz.
>
>     On 08/05/2015 05:07 PM, Nate Vack wrote:
>     > Thanks!
>     >
>     > One complication I'm seeing is that when I uncompress, say, an .mgz
>     > file, the old subject number is still embedded in some text near the
>     > end of the file*. Since we want to change these ID numbers for
>     > de-identification purposes, we'd need to change them there, too.
>     >
>     > Is there a way to either strip those things or edit them?
>     >
>     > Thanks!
>     > -Nate
>     >
>     > * For example:
>     >
>     >
>     
> P/studies/STUDY/DATA/mri/processed/freesurfer/IDENTIFIER/mri/transforms/talairach.xfm
>     > UNKNOWN
>     > @AutoAlign   0.000000   0.000000   0.000000   0.000000 0.000000
>     > 0.000000   0.000000   0.000000   0.000000 0.000000  0.000000
>     > 0.000000   0.000000   0.000000 0.000000   0.000000
>     > mri_convert
>     > /studies/STUDY/DATA/mri/processed/IDENTIFIER/anat/T1High_native1.nii
>     >
>     /studies/STUDY/DATA/mri/processed/freesurfer/IDENTIFIER/mri/orig/001.mgz
>     > ProgramVersion: $Name: stable5 $  TimeStamp: 2014/08/25-21:51:59-GMT
>     >  BuildTimeStamp: May 13 2013 16:24:28  CVS: $Id: mri_convert.c,v
>     > 1.179.2.7 2012/09/05 21:55:16 mreuter Exp $  User: USER Machine:
>     > MACHINE  Platform: Linux  PlatformVersion:
>     2.6.32-431.20.3.el6.x86_64
>     >  CompilerName: GCC  CompilerVersion: 40400
>     > mri_convert
>     >
>     /studies/STUDY/DATA/mri/processed/freesurfer/IDENTIFIER/mri/rawavg.mgz
>     > /studies/STUDY/DATA/mri/processed/freesurfer/IDENTIFIER/mri/orig.mgz
>     > --conform ProgramVersion: $Name: stable5 $  TimeStamp:
>     > 2014/08/25-21:54:39-GMT  BuildTimeStamp: May 13 2013 16:24:28  CVS:
>     > $Id: mri_convert.c,v 1.179.2.7 2012/09/05 21:55:16 mreuter Exp $
>     >  User: USER  Machine: MACHINE  Platform: Linux PlatformVersion:
>     > 2.6.32-431.20.3.el6.x86_64  CompilerName: GCC CompilerVersion: 40400
>     >
>     > On Mon, Aug 3, 2015 at 12:03 PM Douglas N Greve
>     > <gr...@nmr.mgh.harvard.edu <mailto:gr...@nmr.mgh.harvard.edu>
>     <mailto:gr...@nmr.mgh.harvard.edu
>     <mailto:gr...@nmr.mgh.harvard.edu>>> wrote:
>     >
>     >     I think that should work without problem.
>     >
>     >     On 08/03/2015 12:51 PM, Nate Vack wrote:
>     >     > Hi all,
>     >     >
>     >     > We're looking to change the ID system we're using for some
>     >     freesurfer
>     >     > data. Will doing do be as simple as renaming our
>     single-subject data
>     >     > directories and restarting analysis from that point, or
>     would we
>     >     need
>     >     > to do something more complicated?
>     >     >
>     >     > Many thanks,
>     >     > -Nate
>     >     >
>     >     >
>     >     > _______________________________________________
>     >     > Freesurfer mailing list
>     >     > Freesurfer@nmr.mgh.harvard.edu
>     <mailto:Freesurfer@nmr.mgh.harvard.edu>
>     >     <mailto:Freesurfer@nmr.mgh.harvard.edu
>     <mailto:Freesurfer@nmr.mgh.harvard.edu>>
>     >     > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>     >
>     >     --
>     >     Douglas N. Greve, Ph.D.
>     >     MGH-NMR Center
>     > gr...@nmr.mgh.harvard.edu <mailto:gr...@nmr.mgh.harvard.edu>
>     <mailto:gr...@nmr.mgh.harvard.edu <mailto:gr...@nmr.mgh.harvard.edu>>
>     >     Phone Number: 617-724-2358
>     >     Fax: 617-726-7422
>     >
>     >     Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
>     <http://surfer.nmr.mgh.harvard.edu/fswiki/BugReporting>
>     >     <http://surfer.nmr.mgh.harvard.edu/fswiki/BugReporting>
>     >     FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
>     > www.nmr.mgh.harvard.edu/facility/filedrop/index.html
>     <http://www.nmr.mgh.harvard.edu/facility/filedrop/index.html>
>     >     <http://www.nmr.mgh.harvard.edu/facility/filedrop/index.html>
>     >     Outgoing:
>     > ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/
>     >
>     >     _______________________________________________
>     >     Freesurfer mailing list
>     > Freesurfer@nmr.mgh.harvard.edu
>     <mailto:Freesurfer@nmr.mgh.harvard.edu>
>     <mailto:Freesurfer@nmr.mgh.harvard.edu
>     <mailto: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.
>     >
>     >
>     >
>     > _______________________________________________
>     > Freesurfer mailing list
>     > Freesurfer@nmr.mgh.harvard.edu
>     <mailto:Freesurfer@nmr.mgh.harvard.edu>
>     > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>     --
>     Douglas N. Greve, Ph.D.
>     MGH-NMR Center
>     gr...@nmr.mgh.harvard.edu <mailto:gr...@nmr.mgh.harvard.edu>
>     Phone Number: 617-724-2358
>     Fax: 617-726-7422
>
>     Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
>     <http://surfer.nmr.mgh.harvard.edu/fswiki/BugReporting>
>     FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
>     www.nmr.mgh.harvard.edu/facility/filedrop/index.html
>     <http://www.nmr.mgh.harvard.edu/facility/filedrop/index.html>
>     Outgoing:
>     ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/
>
>     _______________________________________________
>     Freesurfer mailing list
>     Freesurfer@nmr.mgh.harvard.edu <mailto: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

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

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

Reply via email to