MNI space to tlrc space

Hi all
I have many MNI coordinates. I know the whereami can report MNI to tlrc. However, I wonder how to get many tlrc coordinates by one script.

Lots of ways to go between MNI and Talairach space. Here is one way to convert from MNI to TT_N27

whereami -calc_chain MNI TT_N27 -xform_xyz_quiet 10 10 10

For multiple sets of coordinates, consider “-coord_file” to specify a text file with rows of coordinates. Trying this now it seems the first coordinate is printed twice in that case but otherwise does what you want.