Hi AFNI Gurus,
I’m hoping to get some guidance on best practices for QC at a slightly nonstandard point in my pipeline.
Pipeline overview
I ran fMRIPrep for initial preprocessing and QC, using it for what I understand to be the functional equivalents of the following afni_proc.py blocks:
tcattshiftvolregbluraligndespiketlrc
After that, I ran afni_proc.py only for the final stages, specifically using just the following blocks:
maskscaleregress
Because I only ran these later blocks in afni_proc.py, the usual QC HTML and driver scripts were not generated automatically.
I’d now like to do appropriate QC on the outputs from afni_proc.py at this stage and wanted to check whether the steps I’m planning are sufficient, or whether there are additional QC checks you’d recommend.
My current QC plan
Since I don’t have the auto-generated QC HTML, I’m planning to manually review the following:
1. General warnings / failures
output.proc.s##
Read through the main script output log and search for anyWARNINGorFAILUREflags.
2. Alignment
out.mask_ae_overlap.txt
Review EPI–anat alignment via overlap between EPI and anat brain masks.
Check the%(A \ B)value and confirm it is not excessively large.
3. Regression and correlation warnings
out.df_info.txt
Check degrees of freedom (flag unusually low df).3dREMLfit.err
Note any warnings or errors.out.cormat_warn.txt
Look for warnings about high correlations between any pair of regressors in the main regression matrix, including baseline terms.
4. Non-baseline regression matrix
- Plot
X.stim.xmat.1Dand check that it matches my design.
5. Statistical results
- In AFNI GUI, inspect bricks for:
- Each condition vs baseline
- Each contrast
- Check that:
- Nothing looks obviously wrong
- Results are broadly similar to other subjects
- There are clear activations in task-relevant sensory modalities (e.g., visual) and response-related regions (e.g., motor cortex)
Question
At this stage—after fMRIPrep preprocessing and a limited afni_proc.py run focused on mask/scale/regress—are there additional QC steps you would recommend?
Thanks very much for any guidance.
Best,
Lauren