External Email - Use Caution Hi folks,
Our subject identifiers that we push through Freesurfer are internal-only. We have a public-facing set of IDs, and we'd like to include anonymized Freesurfer data in the BIDS that we share. So: we need to take the stuff we have in $SUBJECT_DIR and transform it. Unfortunately, this isn't as simple as just renaming the directories, as many of the outputs and logs include "# subjectname sub-XXXX" comments and cmdlines that include the subject name. 1. Is there an extant method to rename subject directories? I've searched around on Github and on this list's archives; came up blank. 2. Would it be enough to walk the directories and replace all instances of e.g. "sub-1234" with "sub-30000"? Or do subject numbers get embedded in binary headers/metadata, as well? The extra-fun touch is that we are not actually allowed to SEE the mapping from internal IDs to public-facing IDs, so any tool we provide for this translation needs to be useable by someone who is unfamiliar with Freesurfer. (Don't ask.) Then we will also need to de-face all the images, of course. Any tips or leads appreciated; otherwise, I'll build a thing and eventually post about it here. Dan Fitch Research Engineer University of Wisconsin-Madison Institute on Aging
_______________________________________________ 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 Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.