AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
October 09, 2008 07:47PM
Hi,

Just this week I've started to try to use align_epi_anat.py to try to preprocess and talairach oblique epi data (with -tlrc_apar). I've run into trouble whenever using the default anat2epi option. Whereas the -epi2anat option works fine, the default -anat2epi option only creates an aligned anat file, but no epis. Looking at the __tt_* temp files (using -keep_rm_files), it seems to be the case the script dies at some point during the epi preprocessing; it seems to be when it tries to time-shift the child epi, for what that's worth. This is before either the base or the child epis are talairached.

However, as I said earlier, these very same epi files are preprocessed just fine if you align them to the anat instead of aligning the anat to the epis, so it doesn't seem like there's a general problem with my particular epi files.

Here's the script invocation -- it's totally generic:

align_epi_anat.py \
-anat anat+orig \
-epi epi_r1+orig \
-epi_base 0 \
-anat2epi \
-big_move \
-child_epi epi_r2+orig \
-tlrc_apar anat_at+tlrc

So to reiterate, this would bomb out eventually, whereas if I just replace -anat2epi with -epi2anat, the script works fine, albeit with the opposite direction of alignment.

I've tried this without the -big_move option, and also with the newer -giant_move option, but none of them work any better.

I was somewhat surprised that the script just seems to end happily without indicating that it failed in any way, even in it's most verbose mode... It creates the anat_al+orig file just fine, and that looks to be perfectly aligned with my oblique epis. So there's no failure to align due to the obliqueness of the epi. But then the script never makes it through the full epi preprocessing (slice-time correction, motion correction, talairaching). And then it proceeds to delete all of the temp files (including some potentially useful preprocessed epis).

Any thoughts? Is this script working just fine for everyone else? Could my problem be related to the one that Iris Yang recently reported?

Thanks,
Leigh
Subject Author Posted

align_epi_anat.py problem

Leigh Nystrom October 09, 2008 07:47PM

Re: align_epi_anat.py problem

Daniel Glen October 10, 2008 10:08AM

Re: align_epi_anat.py problem

Leigh Nystrom October 10, 2008 03:31PM

Re: align_epi_anat.py problem

Daniel Glen October 10, 2008 04:52PM

Re: align_epi_anat.py problem

Leigh Nystrom October 10, 2008 07:09PM

Re: align_epi_anat.py problem

Daniel Glen October 10, 2008 09:28PM

Re: align_epi_anat.py problem

Jen October 13, 2008 01:45PM

Re: align_epi_anat.py problem

Daniel Glen October 13, 2008 05:00PM

Re: align_epi_anat.py problem

Jen October 14, 2008 04:00PM

Re: align_epi_anat.py problem

Daniel Glen October 14, 2008 05:15PM