JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for FSL Archives


FSL Archives

FSL Archives


FSL@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

FSL Home

FSL Home

FSL  July 2011

FSL July 2011

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: A problem with my script for doing dual_regression, I need some help.

From:

"Christian F. Beckmann" <[log in to unmask]>

Reply-To:

FSL - FMRIB's Software Library <[log in to unmask]>

Date:

Sun, 3 Jul 2011 14:03:40 -0400

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (209 lines)

Rosalia,

You seem to be strangely resistant to advice - this makes it quite difficult (read impossible) to sort out what probably is quite a trivial matter. 
As Mark already suggested, can you please send the output of 

ls -al dual_regression 

and the output of 

pwd

in the directory you're trying to run this from. Maybe there is someone local who knows a bit of linux and who you could ask to help you do this?
Also, when you did the chmod a+x dual_regression command, was there an error output?

hth
Christian

On 2 Jul 2011, at 15:28, Rosalia Dacosta Aguayo wrote:

> 
> 
> 2011/7/2 Rosalia Dacosta Aguayo <[log in to unmask]>
> Message is bash:dual_regression command not found....
> 
> It's always the same...dual_regression script is in the same directory as all the other documents: .IC, .mat, .con,....but the message is allways the same and 
> I can't start dual_regression for my 6 components. I have choice 6 components, I want to do dual_regression with every component to see my results but I have been working all the day and I haven't find the problem...incredible.
> 
> Please, some helping, some light...
> 
> Best regards,
> 
> Rosalia.
> 
> ---------- Forwarded message ----------
> From: Anderson Winkler <[log in to unmask]>
> Date: 2011/7/2
> Subject: Re: [FSL] Some help with ICA: Please, I am a little desperate
> To: [log in to unmask]
> 
> 
> Dear Rosalia,
> 
> Downloading the script from the FMRIB website and making it executable works for me. See below the outputs I see in the terminal screen.
> Are you following all the descriptions given in the official page? http://www.fmrib.ox.ac.uk/analysis/dualreg
> I'm not sure what else might be going on there...
> 
> Anderson
> 
> 
> ander@volans:~ $ wget http://www.fmrib.ox.ac.uk/analysis/dualreg/dual_regression
> --2011-07-02 14:33:48--  http://www.fmrib.ox.ac.uk/analysis/dualreg/dual_regression
> Resolving www.fmrib.ox.ac.uk... 163.1.84.10
> Connecting to www.fmrib.ox.ac.uk|163.1.84.10|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 4183 (4.1K) [text/plain]
> Saving to: `dual_regression'
> 
> 100%[===============================================================================================================================================>] 4,183       --.-K/s   in 0.07s   
> 
> 2011-07-02 14:33:48 (58.5 KB/s) - `dual_regression' saved [4183/4183]
> 
> ander@volans:~ $ chmod a+x dual_regression 
> ander@volans:~ $ ./dual_regression 
> 
> dual_regression v0.5 (beta)
> 
> ***NOTE*** ORDER OF COMMAND-LINE ARGUMENTS IS DIFFERENT FROM PREVIOUS VERSION
> 
> Usage: dual_regression <group_IC_maps> <des_norm> <design.mat> <design.con> <n_perm> <output_directory> <input1> <input2> <input3> .........
> e.g.   dual_regression groupICA.gica/groupmelodic.ica/melodic_IC 1 design.mat design.con 500 grot `cat groupICA.gica/.filelist`
> 
> <group_IC_maps_4D>            4D image containing spatial IC maps (melodic_IC) from the whole-group ICA analysis
> <des_norm>                    0 or 1 (1 is recommended). Whether to variance-normalise the timecourses used as the stage-2 regressors
> <design.mat>                  Design matrix for final cross-subject modelling with randomise
> <design.con>                  Design contrasts for final cross-subject modelling with randomise
> <n_perm>                      Number of permutations for randomise; set to 1 for just raw tstat output, set to 0 to not run randomise at all.
> <output_directory>            This directory will be created to hold all output and logfiles
> <input1> <input2> ...         List all subjects' preprocessed, standard-space 4D datasets
> 
> <design.mat> <design.con>     can be replaced with just
> -1                            for group-mean (one-group t-test) modelling.
> If you need to add other randomise option then just edit the line after "EDIT HERE" below
> 
> 
> 
> 
> 
> On 07/02/2011 02:17 PM, Rosalia Dacosta Aguayo wrote:
>> Dear Anderson,
>> 
>> When I write the command ./dual_regression the message is that dual_regression not found. But I have dual_regression script in the same directory...I don't understand nothing. I made executable the script by the command: chmod a+x dual_regression and I think nothing happens....Could you attach me some script for dual_regression, maybe my script is the problem....
>> 
>> 2011/7/2 Anderson Winkler <[log in to unmask]>
>> Dear Rosalia,
>> 
>> In addition to what Wolf said, in your syntax, where you put `cat .filelist´ it should instead be `cat .filelist` (the difference is the ` symbol when ending the command).
>> 
>> If you have difficulty finding this ` symbol in your keyboard, and if your system is fairly recent, you can safely replace this part for $(cat .filelist). The $() does the same as the ` delimiter.
>> 
>> Hope this helps!
>> 
>> All the best,
>> 
>> Anderson
>> 
>> 
>> On 07/02/2011 07:33 AM, wolf zinke wrote:
>>> Hi
>>> 
>>> Just to be sure, all files AND the dual_regression script are in the same directory?
>>> 
>>> If you use ./ before a command, it just tells your system that this command is found in the current working directory. If, however, your script is stored in another directory, you need to specify the path to the command, or add this directory to the known paths. For example if the script is saved in /home/aguayo/dualreg, you have to run /home/aguayo/dualreg/dual_regression from the directory, where you have got your data, and everything will be fine. 
>>> If you use this script more often, it would be more convenient to include the directory to your known paths, but how to do that depends on the system you are using. I specified a method valid for the BASH shell, if you add this to your ./bash_profile file found in your home directory, this path will be added whenever you log into your system. Otherwise you have to do it manually every time.
>>> 
>>> I hope I could clarify it a bit, and sorry that I havent been clear about the meaning of ./' before.
>>> 
>>> good luck,
>>> wolf
>>> 
>>> On 02/07/11 13:19, Rosalia Dacosta Aguayo wrote:
>>>> Hi,
>>>> 
>>>> Thank you for answer my mail. I have all the files in the same directory, but when I open a terminal for executing dual_regression....if I just look for dual_regression the message is that: command don't found (I think the problem is in the programme dual_regression...but I don't know how to resolve it.
>>>> 
>>>> If a open the terminal and I just put ./dual_regression, it tells me about the root and the different commands...I do this but, the message is: dual_regression not found (maybe it isn't executable) and that "denegate acces to design.mat and design.com....
>>>> 
>>>> I am lost :((
>>>> 
>>>> 
>>>> 2011/7/2 wolf zinke <[log in to unmask]>
>>>> Hi,
>>>>> Where is the problem?
>>>> Do you still get the same error message? What exactly is the output you get on the screen after issuing this command? Are the other files in the same directory? Otherwise you need to add the path to these files, otherwise the command looks at the wrong places.
>>>> 
>>>> If you type just ./dual_regression do you get the help information or an error.
>>>> 
>>>> Right now the information provided is a bit sparse, so it is difficult for me to see, where the problem is. Maybe if you are a bit patient, someone else will give a try. But ideally you give information about the error, this makes help a lot easier ;)
>>>> 
>>>> good luck,
>>>> wolf
>>>> 
>>>> 
>>>>> 
>>>>> In the same directory where I have dual_regression programme I write the following command: ./dual_regression salience.nii.gz 1 design.mat design.con 5000 analisis_salience `cat .filelist´
>>>>> 
>>>>> 2011/7/2 Rosalia Dacosta Aguayo <[log in to unmask]>
>>>>> 
>>>>> Thank you!
>>>>> 
>>>>> I am going to try it and I will tell you if this works :))
>>>>> 
>>>>> Rosalia.
>>>>> 
>>>>> 2011/7/2 wolf zinke <[log in to unmask]>
>>>>> Hi,
>>>>> 
>>>>> You need to add the path where you saved this function to your known paths, or if you want to call it from the directory, use: ./dual_regression
>>>>> 
>>>>> 
>>>>> Adding the path:
>>>>> 
>>>>> PATH=your_directory_here:${PATH}
>>>>> export PATH
>>>>> 
>>>>> I hope this helps,
>>>>> wolf
>>>>> 
>>>>> 
>>>>> 
>>>>> On 02/07/11 12:23, Rosalia Dacosta Aguayo wrote:
>>>>>> Hi Andreas,
>>>>>> 
>>>>>> I have problem with a programme called dual_regression. I must download and execute the programme: chmod a+x dual_regression. But when I do this, it's seems it doesn't work well, because when I try to do the dual_regression, the Linux doesn't find it, even calling it in the directory where it is...
>>>>>> 
>>>>>> Thank you!
>>>>>> 
>>>>>> 2011/7/2 Andreas Bartsch <[log in to unmask]>
>>>>>> Hi,
>>>>>> 
>>>>>> if you explain the problems, we might be able to help you.
>>>>>> Cheers,
>>>>>> Andreas
>>>>>> ________________________________________
>>>>>> Von: FSL - FMRIB's Software Library [[log in to unmask]] im Auftrag von Rosalia Dacosta Aguayo [[log in to unmask]]
>>>>>> Gesendet: Samstag, 2. Juli 2011 11:20
>>>>>> An: [log in to unmask]
>>>>>> Betreff: [FSL] Some help with ICA
>>>>>> 
>>>>>> Hello,
>>>>>> 
>>>>>> Anyone can help me about dual_regression with ICA and the following steps. I have some problems.
>>>>>> 
>>>>>> Thank you.
>>>>>> 
>>>>>> Rosalia.
>>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> 
>>> 
>> 
>> 
> 
> 
> 

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager