Print

Print


Hi

What do you get if you type

echo X`cat ../../subjects_for_ica.txt`X

Have you tried this without the quotes around the first argument (WHATEVER...), which you shouldn't generally use.

Finally - in the output log directory, look at all files and see if any have error messages in them?

Cheers.



> On 8 Jan 2015, at 11:51, Eduard Vilaplana Martinez <[log in to unmask]> 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
> 


---------------------------------------------------------------------------
Stephen M. Smith, Professor of Biomedical Engineering
Associate Director,  Oxford University FMRIB Centre

FMRIB, JR Hospital, Headington, Oxford  OX3 9DU, UK
+44 (0) 1865 222726  (fax 222717)
[log in to unmask]    http://www.fmrib.ox.ac.uk/~steve <http://www.fmrib.ox.ac.uk/~steve>
---------------------------------------------------------------------------

Stop the cultural destruction of Tibet <http://smithinks.net/>