# HCP tractography | tract statistics | MNI space

**URL:** https://community.mrtrix.org/t/hcp-tractography-tract-statistics-mni-space/1134
**Category:** Uncategorized
**Tags:** hpc, tractography
**Created:** [August 28, 2017, 1:42pm UTC](https://community.mrtrix.org/t/hcp-tractography-tract-statistics-mni-space/1134 "2017-08-28T13:42:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cbajada](https://community.mrtrix.org/user_avatar/community.mrtrix.org/cbajada/32/1390_2.png) [@cbajada](https://community.mrtrix.org/u/cbajada)
#### Post date: [August 28, 2017, 1:42pm UTC](https://community.mrtrix.org/t/hcp-tractography-tract-statistics-mni-space/1134/1 "2017-08-28T13:42:29Z")

</div>

Dear all,

I am trying to compute statistics on tracts generated from the HCP data-set. I am still planning my protocol but the plan is to track in native space (the space that the HCP diffusion data is in). I then want to compute some statistics for the tracts generated from each seed region. The problem is that since the individual brains are of different volumes, I would ideally need to do some normalization before computing any statistics.

Probably the best way would be to warp the tracts generated in native space to MNI space then compute the statistics. Is there a standard or recommended way of doing this with the HCP data?

Claude

---

<div class="post-metadata">

### Author: ![cbajada](https://community.mrtrix.org/user_avatar/community.mrtrix.org/cbajada/32/1390_2.png) [@cbajada](https://community.mrtrix.org/u/cbajada)
#### Post date: [August 29, 2017, 9:38am UTC](https://community.mrtrix.org/t/hcp-tractography-tract-statistics-mni-space/1134/2 "2017-08-29T09:38:51Z")

</div>

I am replying to my own question because I found a response that, I think, answers this question:

> [@Warping tck files using ANTS warps](http://community.mrtrix.org/t/warping-tck-files-using-ants-warps/162/2):
>
> OK, the process isn’t documented particularly well, I have to admit… I’ll try to clarify here. Not sure what you’re using Matlab for, but what you want to do is to generate a ‘no-warp’ image (for want of a better word) in the target space that you want to warp your tracks into - in your case, the template space: $ warpinit some\_image\_in\_template\_space no-warp.nii This create a 4D image (no-warp.nii) with 3 volumes. For each voxel, the 3 volumes correspond to the xyz coordinates in real space …

---

<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: [September 5, 2017, 7:37am UTC](https://community.mrtrix.org/t/hcp-tractography-tract-statistics-mni-space/1134/3 "2017-09-05T07:37:58Z")

</div>

While the linked post explains how to perform the streamline warping, it doesn’t fully answer the question. The answer depends on details that were omitted from your original post, specifically the “then compute the statistics” part. I would refer you to [this question](https://community.mrtrix.org/t/diffusion-in-mni-space/367/2?u=rsmith) from another thread, bearing in mind that the answer may be different to that reported in the prior thread if your experiment.

---

<div class="post-metadata">

### Author: ![cbajada](https://community.mrtrix.org/user_avatar/community.mrtrix.org/cbajada/32/1390_2.png) [@cbajada](https://community.mrtrix.org/u/cbajada)
#### Post date: [September 5, 2017, 8:18am UTC](https://community.mrtrix.org/t/hcp-tractography-tract-statistics-mni-space/1134/4 "2017-09-05T08:18:29Z")

</div>

Thanks @rsmith, I am not looking to generate a connectome in MNI space, however, the link is a very useful one should anyone be looking for that.
