Creating the fs_default.txt file for a new parcellation scheme

tractography
connectomics

#1

Hi everyone,

I was wondering whether anyone can lead me to a tutorial on how to create the fs_default.txt for an arbitrary atlas instead of using the Desikan atles. I want to parcellate my data into a higher number of regions and I a not sure how to create the LUT using the new atlas I want to use.

Really appreciate all of your help!

Regards,
Pubu


#2

Hi Pubu,

I haven’t written a “tutorial” per se on creation of lookup tables. I have at least written an additional tutorial page on use of the labelconvert command, which hopefully demonstrates the purpose of such lookup tables and how their data are utilised internally within the code. In terms of formatting, even without an understanding of C++ the code here gives a reasonable insight into the range of possible formats that the lookup table can take (basically it supports all of the raw-text formats I have encountered in the wild thus far); but chances are if you’re looking to obtain a more fine parcellation within FreeSurfer, you won’t need to worry about the format of the table itself: you just need to modify the contents of the existing examples to suit that finer parcellation.

If you still have outstanding questions not solved by those two links, please let me know. An entirely generic tutorial would probably be difficult to write given the range of possible mechanisms by which a parcellation could be derived, but maybe there’s some points missing in that documentation page (or maybe it just needs renaming).

Rob


#3

Hi Rob,

Thank you for your response. I had gone through those links. But I couldn’t find what I am looking for in either of those pages.
I got the fs_default.txt file for 84 parcellations from the Human Connectome Project. So I think I kind of have an idea about the format of the file and also the usage of it. Now I would like to try a different parcellation scheme with more than 84 regions (208 to be specific). I have the parcellation mask for this new parcellation I’d like to use. But I am looking for a way to get the fs_default.txt file for that parcellation.

Regards,
Pubu


#4

Pubu,

As best I can understand, you have a label image for a non-standard parcellation, which you wish to use in connectome construction; but you require a lookup table file that will convert that parcellation image into integer values that increment from 1 upwards. There’s no command that will generate this file for you; you need to have in your possession an existing lookup table on which the parcellation image in its current state is based, and manually create the target lookup table text file, which defines the order and numbering that you want the nodes to be mapped to when the parcellation image is fed through the labelconvert command.

Without a more specific description of either a practical issue or a limitation in understanding, I’m not sure that I can provide any more guidance over and above the labelconvert tutorial page regarding how this lookup table text file needs to be derived.

Rob


#5

Hi Rob,

“As best I can understand, you have a label image for a non-standard parcellation, which you wish to use in connectome construction; but you require a lookup table file that will convert that parcellation image into integer values that increment from 1 upwards.”

Yes, you are correct! Then I might have to go back to the source and get that lookup table together with the label image. Thank you very much for clarifying things for me. I am sorry for asking a dumb question, I am still new to MRTRIX and trying to play around with it to learn.

Thank you again!

Pubu