# Labelconvert problems with surface-based parcellations after FreeSurfer update (\>=7.1.0)

**URL:** https://community.mrtrix.org/t/labelconvert-problems-with-surface-based-parcellations-after-freesurfer-update-7-1-0/4103
**Category:** Uncategorized
**Created:** [September 19, 2020, 8:12pm UTC](https://community.mrtrix.org/t/labelconvert-problems-with-surface-based-parcellations-after-freesurfer-update-7-1-0/4103 "2020-09-19T20:12:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![martahedl](https://community.mrtrix.org/user_avatar/community.mrtrix.org/martahedl/32/3799_2.png) [@martahedl](https://community.mrtrix.org/u/martahedl)
#### Post date: [September 19, 2020, 8:12pm UTC](https://community.mrtrix.org/t/labelconvert-problems-with-surface-based-parcellations-after-freesurfer-update-7-1-0/4103/1 "2020-09-19T20:12:30Z")

</div>

Hi!

I noticed that after updating my FreeSurfer to version 7.1.0, labelconvert yields problems when applied with surface-based parcellations. For example, the following command

`labelconvert aparc+aseg.mgz $FREESURFER_HOME/FreeSurferColorLUT.txt $HOME/mrtrix3/share/mrtrix3/labelconvert/fs_default.txt dk_parcels.mif`

produces a warning, saying that nodes 36 and 43 are missing from the parcellation. These nodes correspond to the left and right thalami. It seems the reason for this warning is that FreeSurfer has changed some naming conventions in the lookup table in the new release. One of the changes is that previously, the thalamus was referred to as “Thalamus-Proper”. This is no longer the case. However, the fs\_default.txt lookup table that comes with _MRtrix3_ still has that “old” naming convention. This issue can be easily fixed when modifying the thalamus labels in the fs\_default.txt lookup table from “Left-Thalamus-Proper” (ID 36)/”Right-Thalamus-Proper” (ID 43) to “Left-Thalamus” and “Right-Thalamus”. After that, labelconvert worked fine for me. Maybe this helps others as well, encountering a similar problem!

Cheers,  
Marlene

---

<div class="post-metadata">

### Author: ![grahamwjohnson](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/g/d07c76/32.png) [@grahamwjohnson](https://community.mrtrix.org/u/grahamwjohnson)
#### Post date: [September 19, 2020, 8:37pm UTC](https://community.mrtrix.org/t/labelconvert-problems-with-surface-based-parcellations-after-freesurfer-update-7-1-0/4103/2 "2020-09-19T20:37:15Z")

</div>

Thanks for the heads up. I have also had problems with labelconvert lately because when I re-installed Freesurfer the FreeSurferColorLUT.txt file was missing left and right insula, so I had to add them manually to make the DK atlas work.

---

<div class="post-metadata">

### Author: ![martahedl](https://community.mrtrix.org/user_avatar/community.mrtrix.org/martahedl/32/3799_2.png) [@martahedl](https://community.mrtrix.org/u/martahedl)
#### Post date: [September 20, 2020, 6:14am UTC](https://community.mrtrix.org/t/labelconvert-problems-with-surface-based-parcellations-after-freesurfer-update-7-1-0/4103/3 "2020-09-20T06:14:49Z")

</div>

Hi Graham. Hm, weird, in my version of the FreeSurferColorLUT.txt the left and right insulae are not missing. Do you have FreeSurfer 7.0 or \>7.1.0 installed?

---

<div class="post-metadata">

### Author: ![grahamwjohnson](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/g/d07c76/32.png) [@grahamwjohnson](https://community.mrtrix.org/u/grahamwjohnson)
#### Post date: [September 21, 2020, 5:38pm UTC](https://community.mrtrix.org/t/labelconvert-problems-with-surface-based-parcellations-after-freesurfer-update-7-1-0/4103/4 "2020-09-21T17:38:49Z")

</div>

Hi Marlene,

After taking a second look at this, I figured out that when the left and right insula (index 1035 and 2035) were missing from FreeSurferColorLUT.txt, I had actually just pulled the file from this link: [https://github.com/INCF/XCEDE/blob/master/examples/volumetric/FreeSurferColorLUT.txt](https://github.com/INCF/XCEDE/blob/master/examples/volumetric/FreeSurferColorLUT.txt)

I think I was just being lazy when making a new pipeline and needed the file for an MRTrix3 ‘labelconvert’ step, but didn’t want to re-install all of FreeSurfer.

I only figured out that the file was bad after my parcellations kept missing the left and right insula.

So I guess the lesson is to be careful where you get the FreeSurferColorLUT.txt file - seem to be slightly different versions floating around.

Graham

---

<div class="post-metadata">

### Author: ![rsmith](https://community.mrtrix.org/user_avatar/community.mrtrix.org/rsmith/32/2672_2.png) [@rsmith](https://community.mrtrix.org/u/rsmith)
#### Post date: [October 1, 2020, 1:02am UTC](https://community.mrtrix.org/t/labelconvert-problems-with-surface-based-parcellations-after-freesurfer-update-7-1-0/4103/5 "2020-10-01T01:02:41Z")

</div>

Hi Marlene,

The issue was [reported previously](https://community.mrtrix.org/t/thalamus-proper-removed-from-freesurfercolorlut-txt/3721) and was [resolved](https://github.com/MRtrix3/mrtrix3/pull/2076) in version `3.0.1` and reported in the [changelog](https://community.mrtrix.org/t/mrtrix-3-0-1-release/3854/2). So hopefully just doing a macro version update should resolve the issue without necessitating manual editing of files locally.

> So I guess the lesson is to be careful where you get the FreeSurferColorLUT.txt file - seem to be slightly different versions floating around.

Yes, I’ve observed the same myself also. But it was recently pointed out to me that [the FreeSurfer code is now on GitHub](https://github.com/freesurfer/freesurfer/), which means that e.g. you could [download](https://raw.githubusercontent.com/freesurfer/freesurfer/v7.1.1/distribution/FreeSurferColorLUT.txt) the LUT for any version tag of interest directly.

Rob
