Apply Anatomical Transformation to File Create in Native Space

Hello Everyone!

When running fmriprep, the transformation parameters are saved in a text file in the ‘anat’ folder in the output subject directory, but not as a normal .xfm file or .mat file, but as a .txt file. For another analysis, we created some masks in Native space that we would like to transform into MNI space to align them with the T1 in MNI, and I was wondering what the best route would be to apply the transformation parameters in the .txt file to the Native space masks. I apologize if my phrasing is a bit confusing, but if there is anything I can clear up, please let me know. Thank you for reading.