# How to use tckgen to generate fibers that start from ROI A, pass through ROIs B, C, and D, and terminate at ROI E?

**URL:** https://community.mrtrix.org/t/how-to-use-tckgen-to-generate-fibers-that-start-from-roi-a-pass-through-rois-b-c-and-d-and-terminate-at-roi-e/8728
**Category:** Uncategorized
**Tags:** tractography
**Created:** [March 26, 2026, 4:50pm UTC](https://community.mrtrix.org/t/how-to-use-tckgen-to-generate-fibers-that-start-from-roi-a-pass-through-rois-b-c-and-d-and-terminate-at-roi-e/8728 "2026-03-26T16:50:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![LiuYuchen](https://community.mrtrix.org/user_avatar/community.mrtrix.org/liuyuchen/32/2896_2.png) [@LiuYuchen](https://community.mrtrix.org/u/LiuYuchen)
#### Post date: [March 26, 2026, 4:50pm UTC](https://community.mrtrix.org/t/how-to-use-tckgen-to-generate-fibers-that-start-from-roi-a-pass-through-rois-b-c-and-d-and-terminate-at-roi-e/8728/1 "2026-03-26T16:50:40Z")

</div>

Hi all,

Could you please share your experiences on how to use **tckgen** to generate fibers that start from ROI A, pass through ROIs B, C, and D, and terminate at ROI E?

---

<div class="post-metadata">

### Author: ![archithrajan1](https://community.mrtrix.org/user_avatar/community.mrtrix.org/archithrajan1/32/4245_2.png) [@archithrajan1](https://community.mrtrix.org/u/archithrajan1)
#### Post date: [March 29, 2026, 3:29am UTC](https://community.mrtrix.org/t/how-to-use-tckgen-to-generate-fibers-that-start-from-roi-a-pass-through-rois-b-c-and-d-and-terminate-at-roi-e/8728/2 "2026-03-29T03:29:16Z")

</div>

Hi Liu,

For the tckgen command.You could use A as the -seed\_image, and use -include\_ordered in succession.

Regards,

Archith

---

<div class="post-metadata">

### Author: ![adsouza](https://community.mrtrix.org/user_avatar/community.mrtrix.org/adsouza/32/4571_2.png) [@adsouza](https://community.mrtrix.org/u/adsouza)
#### Post date: [March 31, 2026, 5:30am UTC](https://community.mrtrix.org/t/how-to-use-tckgen-to-generate-fibers-that-start-from-roi-a-pass-through-rois-b-c-and-d-and-terminate-at-roi-e/8728/3 "2026-03-31T05:30:50Z")

</div>

Hi Liu,

In addition to Archith’s reply, it might be worth investigating the use of ROI E as a `-mask`, which would truncate streamlines exiting the mask region. I suppose appropriate usage will ultimately depend on the research question 🙂

Cheers,  
Arkiev
