Hello,
What operating system are you using?
Can you edit the first line of $FSLDIR/bin/dual_regression
from:
#!/bin/sh
to
#!/bin/bash
and let me know if it fixes your problem?
Kind Regards
Matthew
On 8 Jan 2015, at 11:51, Eduard Vilaplana Martinez wrote:
> Dear FSL experts,
>
> I'm trying to perform a typical resting state ICA analysis, in which I want to extract some resting state networks.
>
> I've done all the pre-processing steps (slice-time and motion correction, bet, normalization, smoothing and filtering, and I have extracted a 4D volume corresponding to the set of IC (48 components). Now I'm proceeding to the dual regression, something which is quite new for me, and I have a problem.
>
> When using the default dual_regression program in FSL (5.0.8 version) the program always crashes. This is the command I'm using:
> dual_regression '/WHATEVER/melodic_IC.nii.gz' 1 -1 500 OUTPUT_DIR `cat ../../subjects_for_ica.txt`
>
> The program creates all individual masks, but then it crashes when exectuing the following instruction:
> ID_drB=`$FSLDIR/bin/fsl_sub -j $ID_drA -T 5 -N drB -l $LOGDIR ${LOGDIR}/drB`
>
> The error that the program returns is "fsl_sub: 410: exit: Illegal number: -1"
>
> I've been looking how fsl_sub works and it looks like there is something missing in this instruction (the "-t"). Instead, shouldn't this instruction be something like this?
> ID_drB=`$FSLDIR/bin/fsl_sub -j $ID_drA -T 5 -N drB -l $LOGDIR -t ${LOGDIR}/drB`
>
> Thanks in advance,
>
> Eduard Vilaplana
>
> Telecom Engineer
> Memory Unit, Neurology Department
> Hospital de la Santa Creu i Sant Pau
> C/ Sant Antoni Maria Claret 167, 08027, Barcelona
>
|