Hi David,
This turned out to be pretty straightforward.
First, note that there is originator (location of origin)
information in the ANALYZE datasets. That was apparently
used in the conversion from ANALYZE to NIfTI. If you tell
AFNI to do the same thing, then the NIfTI files are not
needed.
To make the ANALYZE images come out "correctly" as AFNI
datasets, I did:
setenv AFNI_ANALYZE_ORIGINATOR YES
setenv AFNI_ANALYZE_VIEW orig
3dcopy EPI.hdr new.epi
3dcopy highres_anatomical.hdr new.anat.highres
3dcopy inplane_anatomical.hdr new.anat.inplane
Note that while the orientation in the DICOM images is RAI,
the orientation in the ANALYZE (and NIfTI) images is RPS.
Also, the images were shifted in space (when converted from
DICOM to ANALYZE format), but apparently not aligned to
any template.
Hope that helps.
- rick