Thanks. Can you please tell me where in the script this goes?
I am not too good with bash.
/usr/local/apps/fsl/5.0/fsl/bin/dual_regression melodic_IC.nii 1 designKIMIDBR01182016.mat designKIMIDBR01182016.con 5000 output.DR.KIMIDBR01182016.v2 `cat filesNameAdultRestGBCMAP65subjList.v1`
j=0
Nics=`$FSLDIR/bin/fslnvols $ICA_MAPS`
while [ $j -lt $Nics ] ; do
# by this one:
for j in 2 9 12 18 ; do
# and a few lines down remove or comment out this other one:
j=`echo "$j 1 + p" | dc -`
|