# MRtrix3 tractography generation

**URL:** https://community.mrtrix.org/t/mrtrix3-tractography-generation/4950
**Category:** Uncategorized
**Created:** [June 3, 2021, 10:14pm UTC](https://community.mrtrix.org/t/mrtrix3-tractography-generation/4950 "2021-06-03T22:14:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![reshma](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/r/b77776/32.png) [@reshma](https://community.mrtrix.org/u/reshma)
#### Post date: [June 3, 2021, 10:14pm UTC](https://community.mrtrix.org/t/mrtrix3-tractography-generation/4950/1 "2021-06-03T22:14:11Z")

</div>

Hi,  
I am trying to generate fiber tracts for my dataset.  
The tutorial at the below location was easy to follow and I was successful.  
[https://mrtrix.readthedocs.io/en/0.3.16/tutorials/hcp\_connectome.html](https://mrtrix.readthedocs.io/en/0.3.16/tutorials/hcp_connectome.html)

However, my project dataset does not have all the “necessary files” mentioned in the above link.  
In my dataset, I have a folder named **“DKI\_tensor\_b1000”**. Inside the folder, I have 144 dicom files that seems to be the data from every slice of the brain. Excuse me if I am not providing sufficient description about the data, but does anyone know how to generate fiber tracts for the file set I have.  
Thanks  
Reshma

---

<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: [June 28, 2021, 8:04am UTC](https://community.mrtrix.org/t/mrtrix3-tractography-generation/4950/2 "2021-06-28T08:04:08Z")

</div>

Hi Reshma,

Firstly I would suggest taking a look at the [BATMAN tutorial](https://osf.io/fkyht/#!): it’s far more up to date than that page, which, as shown in the [up-to-date version of that page](https://mrtrix.readthedocs.io/en/3.0.2/quantitative_structural_connectivity/ismrm_hcp_tutorial.html) (see both the version number in the hyperlink and the outdated version warning that appears at the top of the page you linked), is for historical reference and not really intended for use.

For pretty much any such tutorial you will need to convert the raw data you have to conform to the expectations of the tutorial. In this case, you don’t want to access the individual `.dcm` files; instead, _MRtrix3_ will interpret that _directory_ as an image from which to read. So, for instance, you can use `mrconvert` with “`DKI_tensor_b1000/`” as the input, and save the image with any name / format you choose.

Cheers  
Rob
