Hello AFNI beginner here,
I have been trying to use uber_subject.py to create an afni_proc.py script to analyze resting state fMRI data of an ADNI subject and received the following error:
[7m** FATAL ERROR:e[0m 3dAllineate fails :: base image has 0 nonzero voxels (< 100)
And here are my 3dinfo of the dataset:
3dinfo ADNI_127_S_1427_MR_Accelerated
_Sagittal_IR-FSPGR__br_raw_20170906164807531_128_S606160_I901027.nii
++ 3dinfo: AFNI version=AFNI_19.1.23 (Jun 24 2019) [64-bit]
Dataset File: ADNI_127_S_1427_MR_Accelerated_Sagittal_IR-FSPGR__br_raw_20170906164807531_128_S606160_I901027.nii
Identifier Code: NII_cdwlaxZkOuwSssfsDHMmew Creation Date: Thu Jul 11 16:18:07 2019
Template Space: ORIG
Dataset Type: Anat Bucket (-abuc)
Byte Order: MSB_FIRST {assumed} [this CPU native = LSB_FIRST]
Storage Mode: NIFTI
Storage Space: 25,690,112 (26 million) bytes
Geometry String: "MATRIX(-1.2,0,0,-145.401,0,-1.0547,0,-138.233,0,0,1.0547,388.256):196,256,256"
Data Axes Tilt: Plumb
Data Axes Orientation:
first (x) = Left-to-Right
second (y) = Posterior-to-Anterior
third (z) = Inferior-to-Superior [-orient LPI]
R-to-L extent: -379.401 [R] -to- -145.401 [R] -step- 1.200 mm [196 voxels]
A-to-P extent: -407.182 [A] -to- -138.233 [A] -step- 1.055 mm [256 voxels]
I-to-S extent: 388.256 [S] -to- 657.205 [S] -step- 1.055 mm [256 voxels]
Number of values stored at each pixel = 1
-- At sub-brick #0 '?' datum type is short
3dinfo run1+orig.HEAD
++ 3dinfo: AFNI version=AFNI_19.1.23 (Jun 24 2019) [64-bit]
Dataset File: run1+orig
Identifier Code: AFN_RbRdH72rQGTX16RaKrwRQA Creation Date: Thu Jul 11 16:02:38 2019
Template Space: ORIG
Dataset Type: Echo Planar (-epan)
Byte Order: LSB_FIRST [this CPU native = LSB_FIRST]
Storage Mode: BRIK
Storage Space: 78,643,200 (79 million) bytes
Geometry String: "MATRIX(-3.4375,0,0,-170.88,0,-3.4375,0,-186.568,0,0,3.4,-86.1097):64,64,48"
Data Axes Tilt: Plumb
Data Axes Orientation:
first (x) = Left-to-Right
second (y) = Posterior-to-Anterior
third (z) = Inferior-to-Superior [-orient LPI]
R-to-L extent: -387.443 [R] -to- -170.880 [R] -step- 3.438 mm [ 64 voxels]
A-to-P extent: -403.130 [A] -to- -186.568 [A] -step- 3.438 mm [ 64 voxels]
I-to-S extent: -86.110 [I] -to- 73.690 [S] -step- 3.400 mm [ 48 voxels]
Number of time steps = 200 Time step = 2.50000s Origin = 0.00000s Number time-offset slices = 48 Thickness = 0.000
-- At sub-brick #0 'ADNI_127_S_1427_[0]' datum type is short: 0 to 5220
-- At sub-brick #1 'ADNI_127_S_1427_[0]' datum type is short: 0 to 5081
-- At sub-brick #2 'ADNI_127_S_1427_[0]' datum type is short: 0 to 4997
** For info on all 200 sub-bricks, use '3dinfo -verb' **
I’ve read a previous post[/url] that had a very similar problem, but I’m having difficulties understanding the thought process. For my data, it looks like both files are not centered in the X and Y position (both all Right and Anterior), but would it not matter because they are both relatively in the same position? And in this [url=https://afni.nimh.nih.gov/afni/community/board/read.php?1,155134,155142#msg-155142]reply, I don’t understand where I would “run @Align_Centers.” Do I add that line of code before @auto_tlrc in afni_proc.py like this?
# ================================== tlrc ==================================
@Align_Centers - base MNI_avg152T1+tlrc -dset ADNI_127_S_1427_MR_Accelerated_Sagittal_IR-FSPGR__br_raw_20170906164807531_128_S606160_I901027.nii -child run1+orig.HEAD
@auto_tlrc -base MNI_avg152T1+tlrc -input anat_ns+orig -no_ss \
Thank you!