Hi there,
I’m currently trying to get the new 3dttest version to do clustering for me, but I get a series of errors whenever I try to run it. It gets as far as creating the residuals file for it fails. I was hoping someone might be able to point out what I’m doing wrong here.
Here is the 3dttest command, shortened for the sake of sanity. It runs fine without all the clustering flags
3dttest++
-prefix OLAN.TBIPosminNeg.nocov
-mask gm_mask.2x2x2+tlrc
-setA Positive ${list1}
-setB Negative ${list2}
-resid OLAN.TBIPosminNeg.resid
-ACF -Clustsim
Terminal output with some file paths reduced for anonimity:
++ 3dttest++: AFNI version=AFNI_17.1.01 (Apr 12 2017) [64-bit]
++ Authored by: Zhark++
++ 174424 voxels in -mask dataset
++ option -setA :: processing as LONG form (label label dset label dset …)
++ option -setB :: processing as LONG form (label label dset label dset …)
++ Number of -Clustsim threads set to 8
- Default clustsim prefix set to ‘TT.tTwnn5RxjlM’
++ running 3dClustSim → changed ‘-resid’ prefix to NIFTI form: OLAN.TBIPosminNeg.resid.nii
++ 2-sample test: ‘-AminusB’ option is assumed
++ 2-sample test: results will be Positive - Negative
++ loading -setA datasets
++ loading -setB datasets
++ Memory usage now = 150,970,360 (151 million [mega])
++ t-testing:0123456789.0123456789.0123456789.0123456789.0123456789.!
++ ---------- End of analyses – freeing workspaces ----------
++ Memory usage now = 387,156,460 (387 million [mega])
++ Creating FDR curves in output dataset
*+ WARNING: Smallest FDR q [1 Positive-Negative_Zscr] = 0.999896 ==> few true single voxel detections
++ Smallest FDR q [3 Positive_Zscr] = 8.93249e-05
++ Smallest FDR q [5 Negative_Zscr] = 0.000748694 - Added 3 FDR curves to dataset
++ Output dataset ./OLAN.TBIPosminNeg.resid.nii.gz
++ Command to compute ACF from residuals now running:
3dFWHMx -input OLAN.TBIPosminNeg.resid.nii -acf OLAN.TBIPosminNeg.resid.ACF.out -mask ./data/masks/gm_mask.2x2x2+tlrc.HEAD | tail -1 > OLAN.TBIPosminNeg.resid.ACFparam.txt
++ 3dFWHMx: AFNI version=AFNI_16.0.15 (Mar 21 2016) [64-bit]
++ Authored by: The Bob
++ Number of voxels in mask = 174424
++ start FWHM calculations - FWHM done (0.00 CPU s thus far)
++ start ACF calculations out to radius = 24.52 mm - ACF done (0.00 CPU s thus far)
++ ACF 1D file [radius ACF mixed_model gaussian_NEWmodel] written to OLAN.TBIPosminNeg.resid.ACF.out
++ 1dplot: AFNI version=AFNI_16.0.15 (Mar 21 2016) [64-bit]
++ Authored by: RWC et al.
pnmtopng: 40 colors found - and 1dplot-ed to file OLAN.TBIPosminNeg.resid.ACF.out.png
++ ACF parameters output in OLAN.TBIPosminNeg.resid.ACFparam.txt - 2-sample test: results are Positive - Negative
++ ================ Starting -Clustsim calculations ================ - === temporary files will have prefix TT.tTwnn5RxjlM ===
- === running 8 -randomsign jobs (1250 iterations per job) ===
-
#0 jobs command:
3dttest++ -DAFNI_AUTOMATIC_FDR=NO -DAFNI_DONT_LOGFILE=YES -RANDOMSIGN 1250 -nomeans -toz
-no1sam -permute -mask ./data/masks/gm_mask.2x2x2+tlrc.HEAD
-setA OLAN.TBIPosminNeg.resid.nii’[0…57]’ -setB OLAN.TBIPosminNeg.resid.nii’[58…$]’
-prefix .//TT.tTwnn5RxjlM.000.sdat
++ 3dttest++: AFNI version=AFNI_16.0.15 (Mar 21 2016) [64-bit]
++ Authored by: Zhark++
** FATAL ERROR: 3dttest++: don’t recognize option ‘-RANDOMSIGN’ (argv[1])
** Program compile date = Mar 21 2016
++ 3dttest++: AFNI version=AFNI_16.0.15 (Mar 21 2016) [64-bit]
++ Authored by: Zhark++
** FATAL ERROR: 3dttest++: don’t recognize option ‘-RANDOMSIGN’ (argv[1])
** Program compile date = Mar 21 2016
++ 3dttest++: AFNI version=AFNI_16.0.15 (Mar 21 2016) [64-bit]
++ Authored by: Zhark++
** FATAL ERROR: 3dttest++: don’t recognize option ‘-RANDOMSIGN’ (argv[1])
** Program compile date = Mar 21 2016
++ 3dttest++: AFNI version=AFNI_16.0.15 (Mar 21 2016) [64-bit]
++ Authored by: Zhark++
** FATAL ERROR: 3dttest++: don’t recognize option ‘-RANDOMSIGN’ (argv[1])
** Program compile date = Mar 21 2016
++ 3dttest++: AFNI version=AFNI_16.0.15 (Mar 21 2016) [64-bit]
++ Authored by: Zhark++
** FATAL ERROR: 3dttest++: don’t recognize option ‘-RANDOMSIGN’ (argv[1])
** Program compile date = Mar 21 2016
++ 3dttest++: AFNI version=AFNI_16.0.15 (Mar 21 2016) [64-bit]
++ Authored by: Zhark++
** FATAL ERROR: 3dttest++: don’t recognize option ‘-RANDOMSIGN’ (argv[1])
** Program compile date = Mar 21 2016
++ 3dttest++: AFNI version=AFNI_16.0.15 (Mar 21 2016) [64-bit]
++ Authored by: Zhark++
** FATAL ERROR: 3dttest++: don’t recognize option ‘-RANDOMSIGN’ (argv[1])
** Program compile date = Mar 21 2016
++ 3dttest++: AFNI version=AFNI_16.0.15 (Mar 21 2016) [64-bit]
++ Authored by: Zhark++
** FATAL ERROR: 3dttest++: don’t recognize option ‘-RANDOMSIGN’ (argv[1])
** Program compile date = Mar 21 2016 - ===== all jobs have finished (4.7 s elapsed) =====
** ERROR: Can’t read file .//TT.tTwnn5RxjlM.000.minmax.1D
** ERROR: Can’t read file .//TT.tTwnn5RxjlM.001.minmax.1D
** ERROR: Can’t read file .//TT.tTwnn5RxjlM.002.minmax.1D
** ERROR: Can’t read file .//TT.tTwnn5RxjlM.003.minmax.1D
** ERROR: Can’t read file .//TT.tTwnn5RxjlM.004.minmax.1D
** ERROR: Can’t read file .//TT.tTwnn5RxjlM.005.minmax.1D
** ERROR: Can’t read file .//TT.tTwnn5RxjlM.006.minmax.1D
** ERROR: Can’t read file .//TT.tTwnn5RxjlM.007.minmax.1D - ===== starting 3dClustSim =====
3dClustSim -DAFNI_DONT_LOGFILE=YES -prefix TT.tTwnn5RxjlM.CSim -LOTS -both -nodec -cmd TT.tTwnn5RxjlM.CSim.cmd -insdat ./data/masks/masky_thing.2x2x2+tlrc.HEAD
.//TT.tTwnn5RxjlM.000.sdat .//TT.tTwnn5RxjlM.001.sdat .//TT.tTwnn5RxjlM.002.sdat .//TT.tTwnn5RxjlM.003.sdat .//TT.tTwnn5RxjlM.004.sdat .//TT.tTwnn5RxjlM.005.sdat .//TT.tTwnn5RxjlM.006.sdat .//TT.tTwnn5RxjlM.007.sdat
++ 3dClustSim: AFNI version=AFNI_16.0.15 (Mar 21 2016) [64-bit]
++ Authored by: RW Cox and BD Ward
** FATAL ERROR: 3dClustSim – unknown option ‘-insdat’
** Program compile date = Mar 21 2016
** FATAL ERROR: ===== 3dClustSim command failed :-((( =====
** Program compile date = Apr 12 2017
Thanks for you help!