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  December 2015

FSL December 2015

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: non-FA TBSS error

From:

Daniel Kim <[log in to unmask]>

Reply-To:

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

Date:

Thu, 17 Dec 2015 10:41:28 -0800

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (129 lines)

Hi Irina

I believe Matthew recently provided some solution to this exact problem for someone else on the list. You can try that solution for now.
But if your FA folder contains 20000+ images that ends with _FA.nii.gz, not sure if that solution would work. Still worth a try.

I'm puzzled that your folder contains that many images that ends with FA ending - it should have appended _warp postfix to majority of the files.

I'm away from my computer right now but when I get a chance I can suggest a better solution for you.

Best

Danny Kim
________________________________________
From: FSL - FMRIB's Software Library [[log in to unmask]] On Behalf Of Irina Anurova [[log in to unmask]]
Sent: Wednesday, December 16, 2015 7:03 PM
To: [log in to unmask]
Subject: Re: [FSL] non-FA TBSS error

Hi Danny,
Thank you very much for helping me. You are right, there are 164x164=26 896 *._FA_FA.nii.gz files inside the FA folder, because the -n option coregisteres each subject's image with all other images from the group (164 subjects totally) in order to identify the "ideal" representative subject. What do you think, would it help if I remove all the images from the FA folder except for those which a coregistered with the "ideal" one?

On Thu, Dec 17, 2015 at 3:14 AM, Daniel Kim <[log in to unmask]<mailto:[log in to unmask]>> wrote:
Hi Irina,

You should be able to use tbss_2_reg -n or -T results for non-FA TBSS.

Reason why I asked you to look in the FA folder is because of the error message you posted earlier: "imglob: Argument list too long"

In the tbss_non_FA script, one of the first thing that it does is get all the names of the subject images using imglob.

Under the FA folder, imglob *_FA.* should only list 164 images that you have, but I have a feeling that for whatever reason imglob is finding way too many images.

Are there more images inside FA folder that ends with _FA.nii.gz?

Danny Kim

On 2015-12-16, at 4:05 PM, Irina Anurova wrote:

Thank you very much, Danny (sorry, I've mixed up your name in the previous e-mail). I'll try tomorrow.
I found several posts almost exactly like mine on this forum, and sometimes people said that they have used the -n option in the FA TBSS. Someone even has reported that he used the tbss_non_FA script after using the -T option, and it went fine, by the same error appeared after the -T option. Do you happen to know, did anyone use the -n option and succeeded with a non-FA TBSS?

On Thu, Dec 17, 2015 at 12:32 AM, Daniel Kim <[log in to unmask]<mailto:[log in to unmask]>> wrote:
No need to do preproc step on MD images.

Can you go in your FA folder and try:

$FSLDIR/bin/imglob *_FA.*

You should just get a list of all your subject's FA image names (e.g. "subj1_FA_FA subj2_FA_FA ... subjN_FA_FA")

If you get an error, then something is interfering with imglob.

Danny Kim

On 2015-12-16, at 1:20 PM, Irina Anurova wrote:

Hi Kim,
I have 164 MD images from 164 subjects. All the MD files have exactly the same names as the files in the origdata folder (e.g., SUBJ1_FA.nii.gz).
My subjects are children of different ages, therefore I used the -n option during the FA TBSS (registration to the "most representative" subject's image). Thus the FA directory contains 164x164=26 896 transformation matrices. However, this huge number was not an obstacle for the FA TBSS.
During the FA TBSS we first have to do a preprocessing (by running tbss_1_preproc *.nii.gz). At this step the images are eroded and eventually become smaller in size and are renamed from SUBJ1_FA.nii.gz into SUBJ1_FA_FA.nii.gz. And only after that we do co-registration.
In the user's guide it is not mentioned, should we perform this step (tbss_1_preproc) for the MD images before running the tbss_non_FA script or this erosion and renaming step is included into the tbss_non_FA script?

On Wed, Dec 16, 2015 at 9:36 PM, Daniel Kim <[log in to unmask]<mailto:[log in to unmask]>> wrote:
Hi Irina

How many MD images do you have?
For some reason, imglob failed to create the proper list of input for fslmerge (it complains that the list is too long).

Danny Kim

On 2015-12-16, at 11:08 AM, Rosalia Dacosta Aguayo wrote:

And your FA images, have you checked the registrations?....and what about your MD images?....have you check them too...is you have done this and still have problems...I am sorry to tell you that I do not know how I can help you more unless you are working with two data files for every subject in the space....because the message of fslmerge it is curious to me...please could you explain with more detail what are you really doing? From your information it is not clear for me where can be the problem....

Thank you, and do not deseperate...

Rosala.

2015-12-16 20:00 GMT+01:00 Irina Anurova <[log in to unmask]<mailto:[log in to unmask]>>:
Hi Rosalia,
Yes, I am absolutely sure that my MD images are called exactly the same as my "origdata". The directory MD is created in a correct place. The disk space is not an issue either.
Regards,
Irina

On Wed, Dec 16, 2015 at 5:16 PM, Rosalia Dacosta Aguayo <[log in to unmask]<mailto:[log in to unmask]>> wrote:
Hi Irina,

Are you sure that your MD images are called exactly the same as your "origdata"?

You should get put inside mytbss directory, where you have origdata, stats,....and do: mkdir MD (this will create you a new folder called MD). Once you have the folder, copy inside all your MD images and make sure you have named them exactly as the "origdata".....then you will not have problems when calling tbss_non_FA MD (in order to create your MD template).

Another thing is that you must be careful about spaces, . or something else in the name of your origdata and make an exploration of your FA images in order to make sure they are fine.

Hope this helps,

Rosalia.

2015-12-16 15:44 GMT+01:00 Irina Anurova <[log in to unmask]<mailto:[log in to unmask]>>:
Dear FSL Experts,

When I am trying to run tbss_non_FA on MD images, I receive an error shown below.
I am using the FSL version 5.0. Furthermore, I used the "-n" option for the FA TBSS (tbss_2).
How to solve this problem?

Thank you,
Irina.

The error message:

tbss_non_FA MD
using pre-chosen registration target: A1_F_S_GT065_DTI_raw_FA_FA
upsampling alternative images into standard space
/usr/share/fsl/5.0/bin/tbss_non_FA: 1: /usr/share/fsl/5.0/bin/tbss_non_FA: /usr/share/fsl/5.0/bin/imglob: Argument list too long
merging all upsampled MD images into single 4D image

Usage: fslmerge <-x/y/z/t/a/tr> <output> <file1 file2 .......> [tr value in seconds]
     -t : concatenate images in time
     -x : concatenate images in the x direction
     -y : concatenate images in the y direction
     -z : concatenate images in the z direction
     -a : auto-choose: single slices -> volume, volumes -> 4D (time series)
     -tr : concatenate images in time and set the output image tr to the final option value

Cannot open volume all_MD for reading!
projecting all_MD onto mean FA skeleton
Image Exception : #22 :: ERROR: Could not open image all_MD
terminate called after throwing an instance of 'RBD_COMMON::BaseException'
Aborted (core dumped)

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

May 2024
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