Hi, Philipp-
I don't quite agree with the "bad" designation here. Again, to me the new.jpg looks pretty good. Also note that this deobliquing will not unrotate the dataset relative to its acquired image axes---this EPI appears to have been acquired with standard brain slices at an angle to the FOV bounds, and they will stay there.
And *actually,* since the anatomical does not appear to have any obliquity, I think you actually don't need to deoblique the EPI at all---during processing, the obliquity will be *applied* as the alignment starts. So, that should be fine, and perhaps even desired, given the relative angle of the EPI. Let afni_proc.py handle it, assuming that when the EPI obliquity is applied, the EPI-anatomical alignment is good---which could be verified by checking the output of this on the original EPI and anatomical:
@djunct_overlap_check \
-ulay DSET_ANATOMICAL \
-olay DSET_EPI \
-prefix img_epi_anat_olap
You should get 2 images out---one ignoring obliquity (which might show poor alignment in the image) and one applying all obliquity (which might/should show good alignment). As long as:
1) your anatomical does not have obliquity ("3dinfo -obliquity DSET_ANAT" is 0.00)
2) original EPI-anatomical overlap in the image that applies obliquity looks good
... then you would be good to go without doing those deobliquing steps.
--pt