# Where am I to find the files.txt, design\_matrix.txt and contrast\_matrix.txt?

**URL:** <https://community.mrtrix.org/t/where-am-i-to-find-the-files-txt-design-matrix-txt-and-contrast-matrix-txt/2924>\
**Category:** Uncategorized\
**Created:** [October 16, 2019, 2:17am UTC](https://community.mrtrix.org/t/where-am-i-to-find-the-files-txt-design-matrix-txt-and-contrast-matrix-txt/2924 "2019-10-16T02:17:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZWM](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/z/848f3c/32.png) [@ZWM](https://community.mrtrix.org/u/ZWM)\
**Post date:** [October 16, 2019, 2:17am UTC](https://community.mrtrix.org/t/where-am-i-to-find-the-files-txt-design-matrix-txt-and-contrast-matrix-txt/2924/1 "2019-10-16T02:17:07Z")

</div>

Hi, all !  
I have a problem running the step " Perform statistical analysis of FD, FC, and FDC "  
This is the command line/error output:  
~ /sharefolder/template$ fixelcfestats fd files.txt design\_matrix.txt contrast\_matrix.txt tracks\_2\_million\_sift.tck stats\_fd  
**fixelcfestats: [ERROR] required in put file “design\_matrix.txt” not found.**  
How do I get the files.txt, design\_matrix.txt and contrast\_matrix.txt ?

---

<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 20, 2019, 3:14am UTC](https://community.mrtrix.org/t/where-am-i-to-find-the-files-txt-design-matrix-txt-and-contrast-matrix-txt/2924/2 "2019-10-20T03:14:21Z")

</div>

Hi Wenming,

All three of these files must be generated by the experimenter, as they are specific to any particular experiment or model.

- File “`files.txt`” needs to be a text file containing the names of the fixel data files you wish to provide as input to the statistical inference process.

- Files “`design_matrix.txt`” and “`contrast_matrix.txt`” define your experimental model, and your hypothesis regarding which aspect(s) of the model you wish to test against the null, respectively.  
We have not written comprehensive documentation regarding the GLM, so I would direct you to the [FSL GLM wiki page](https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/GLM).

Rob

---

<div class="post-metadata">

**Author:** ![ZWM](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/z/848f3c/32.png) [@ZWM](https://community.mrtrix.org/u/ZWM)\
**Post date:** [October 21, 2019, 1:26am UTC](https://community.mrtrix.org/t/where-am-i-to-find-the-files-txt-design-matrix-txt-and-contrast-matrix-txt/2924/3 "2019-10-21T01:26:56Z")

</div>

Thanks for your suggestion.
