AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
March 17, 2014 01:15PM
Hello Afni Experts,

I am trying to preprocess my resting state data using example # 9 from afni proc py with the addition of Qwarp.

However, I am running into the following error: proc_sub202.Qwarp.Rest1.Pre: No such file or directory.
**error option -blur_size follows unknown arg # 31 (-tlrc_NL_warp)

Below is my script. Any idea of what I am missing?

Thanks so much,

Emily

#!/bin/tcsh
#
#
#

setenv subfolder /media/larson_buffalo/MRI7/KAward
setenv QwarpScripts /media/larson_buffalo/MRI7/KAward/Scripts/Conditioning

set study = KAward


foreach subject (sub202 sub203 sub204 sub205 sub206 sub207 sub208 sub209 sub210 sub212 sub213 sub214 sub216 sub217 sub218 sub219 sub220 sub221 sub222 sub223 sub224 sub225 sub226 sub227 sub228 sub229 sub230 sub231 sub232 sub233 sub234 sub235 sub236 sub237 sub238 sub239 sub240 sub241 sub242 sub243 sub244 sub245 sub248 sub249 sub250 sub251 sub252 sub253 sub254 sub255 sub256)

afni_proc.py \
-subj_id ${subject} \
-script ${QwarpScripts}/proc_${subject}.Qwarp.Rest1.Pre \
-out_dir ${subfolder}/${subject}/${subject}.Qwarp.Rest1.Pre \
-dsets ${subfolder}/${subject}/${subject}.${study}.RestPre+orig.HEAD \
-copy_anat ${subfolder}/${subject}/${subject}.${study}.spgr+orig.HEAD \
-anat_has_skull yes \
-blocks despike tshift align tlrc volreg blur mask regress \
-tlrc_base ${subfolder}/MNI152_T1_1mm_brain.nii.gz \
-tcat_remove_first_trs 3 \
-volreg_align_to first \
-volreg_align_e2a \
-volreg_tlrc_warp \
-tlrc_NL_warp \
-blur_size 4 \
-regress_censor_motion 0.3 \
-regress_censor_outliers 0.1 \
-regress_bandpass 0.01 0.1 \
-regress_apply_mot_types demean deriv \
-regress_est_blur_errts \
-no_epi_review

tcsh -xef proc_${subject}.Qwarp.Rest1.Pre|& tee output.proc_${subject}.Qwarp.Rest1.Pre \

end
Subject Author Posted

Error When Using Qwarp with resting data in afni proc py

Emily March 17, 2014 01:15PM

Re: Error When Using Qwarp with resting data in afni proc py

Peter Molfese March 17, 2014 01:36PM

Re: Error When Using Qwarp with resting data in afni proc py

Emily March 17, 2014 01:44PM