When I do the preprocessing of a child (3 years old), the program always makes mistakes in registering to the standard space.I found the template on the Internet, not AFNI’s.
problem: 3dNwarpApply -nwarp “./anat.un.aff.qw_WARP.nii anat.un.aff.Xat.1D” -master ./base.nii -source /media/hjr/zlw/SCNU_ASD/test/1110083/1110083.results/T1+orig -prefix ./T1.aw.nii
++ 3dNwarpApply: AFNI version=AFNI_20.2.06 (Jul 23 2020) [64-bit]
++ Authored by: Zhark the Warped
++ -master dataset is ‘./base.nii’
++ opened source dataset ‘/media/hjr/zlw/SCNU_ASD/test/1110083/1110083.results/T1+orig’
++ Processing -nwarp
Fatal Signal 11 (SIGSEGV) received
THD_nwarp_regrid
IW3D_set_geometry_nwarp_catlist
IW3D_read_nwarp_catlist
3dNwarpApply
Bottom of Debug Stack
** Command line was:
3dNwarpApply -nwarp ‘./anat.un.aff.qw_WARP.nii anat.un.aff.Xat.1D’ -master ./base.nii -source /media/hjr/zlw/SCNU_ASD/test/1110083/1110083.results/T1+orig -prefix ./T1.aw.nii
** AFNI version = AFNI_20.2.06 Compile date = Jul 23 2020
** [[Precompiled binary linux_ubuntu_16_64: Jul 23 2020]]
** Program Death **
** If you report this crash to the AFNI message board,
** please copy the error messages EXACTLY, and give
** the command line you used to run the program, and
** any other information needed to repeat the problem.
** You may later be asked to upload data to help debug.
** Crash log is appended to file /home/hjr/.afni.crashlog
AFNI filename:
initial : ./T1.aw.nii
prefix : T1.aw
view :
exten. : .nii
type : NIFTI
On Disk : 0
Row Sel :
Col Sel :
Node Sel:
RangeSel:
#**ERROR Failed in warping step
** ERROR - script failed
3dbucket: No match.
my she’ll: afni_proc.py -subj_id $subj_id
-dsets $subj_indir/rest.nii.gz
-copy_anat $subj_indir/T1.nii
-anat_has_skull no
-blocks despike tshift align tlrc volreg blur mask regress
-tcat_remove_first_trs 3
-align_opts_aea -cost lpc+ZZ
-tlrc_base /media/hjr/zlw/SCNU_ASD/template/infant2yrwithCerebellum.nii
-tlrc_NL_warp
-volreg_align_to MIN_OUTLIER
-volreg_align_e2a
-volreg_tlrc_warp
-volreg_warp_dxyz 3
-blur_size 6.0
-mask_epi_anat yes
-mask_segment_anat yes
-mask_segment_erode yes
-regress_censor_motion 0.3
-regress_censor_outliers 0.1
-regress_bandpass 0.01 0.1
-regress_ROI WMe CSFe
-regress_apply_mot_types demean deriv
-regress_est_blur_epits
-regress_est_blur_errts
Finally, I would like to say that only a few subjects will have such a situation, and the vast majority of other subjects can use this script to complete the preprocessing