AFNI version info (afni -ver
):
Precompiled binary linux_ubuntu_16_64: Feb 5 2024 (Version AFNI_24.0.05 'Caracalla')
Dear AFNI experts,
I'm trying to generally follow afni_proc.py example 11 to pre-process some stroke patient data for eventual functional connectivity analysis. A couple of them have gone fine, but for one subject I get this error:
-- detrend -polort 1249, new eset = ts.1.det.r01.nii.gz
++ 3dTproject: AFNI version=AFNI_24.0.05 (Feb 5 2024) [64-bit]
++ Authored by: Cox the Algebraic (Linear)
** FATAL ERROR: -polort value can't be over 20 :-(
When I look at the tcsh script that afni_proc.py generated, I see this line:
# QC: look for columns of high variance
find_variance_lines.tcsh -polort 1249 -nerode 2 \
-rdir vlines.pb00.tcat \
pb00.$subj.r*.tcat+orig.HEAD |& tee out.vlines.pb00.tcat.txt
I'm pasting my afni_proc.py command below, in hopes that someone can help resolve my confusion on this issue.
afni_proc.py \
-subj_id $subj \
-copy_anat anat_warped/anatSS.${subj}.nii \
-blocks despike tshift align tlrc volreg blur mask \
scale regress \
-anat_has_skull no \
-anat_follower anat_w_skull anat $subj/SUMA/${subj}_SurfVol.nii \
-anat_follower_ROI aaseg anat $subj/SUMA/aparc.a2009s+aseg.nii.gz \
-anat_follower_ROI aeseg epi $subj/SUMA/aparc.a2009s+aseg.nii.gz \
-anat_follower_ROI FSvent epi $subj/SUMA/fs_ap_latvent.nii.gz \
-anat_follower_ROI FSWe epi $subj/SUMA/fs_ap_wm.nii.gz \
-anat_follower_erode FSvent FSWe \
-dsets run1_CM.nii.gz run2_CM.nii.gz run3_CM.nii.gz run4_CM.nii.gz \
-tcat_remove_first_trs 2 \
-align_unifize_epi local \
-align_opts_aea -epi_strip 3dSkullStrip \
-skullstrip_opts -blur_fwhm 3 -push_to_edge \
-cost crM \
-giant_move \
-check_flip \
-tlrc_base /usr/local/afni/bin/MNI152_2009_template_SSW.nii.gz \
-tlrc_NL_warp \
-tlrc_NL_warped_dsets anat_warped/anatQQ.$subj.nii anat_warped/anatQQ.$subj.aff12.1D anat_warped/anatQQ.${subj}_WARP.nii \
-volreg_align_to MIN_OUTLIER \
-volreg_align_e2a \
-volreg_tlrc_warp \
-blur_size 4 \
-mask_epi_anat yes \
-regress_motion_per_run \
-regress_ROI_PC FSvent 3 \
-regress_ROI_PC_per_run FSvent \
-regress_make_corr_vols aeseg FSvent \
-regress_anaticor_fast \
-regress_anaticor_label FSWe \
-regress_censor_motion 0.7 \
-regress_censor_outliers 0.3 \
-regress_apply_mot_types demean deriv \
-regress_est_blur_epits \
-regress_est_blur_errts \
-scr_overwrite \
-html_review_style pythonic \
-execute