MICA-MNI / micapipe

micapipe from the Multimodal imaging and connectome analysis lab (http://mica-mni.github.io) at the Montreal Neurological Institute. Read The Docs documentation below
http://micapipe.readthedocs.io
GNU General Public License v3.0
86 stars 29 forks source link

Independent DWI sequences are concatenated in final output when processed together. #32

Closed ajschadler12 closed 1 year ago

ajschadler12 commented 2 years ago

In my case, would proc_dwi need to be ran on each independent DWI sequence?

rcruces commented 2 years ago

Hi, currently the pipeline doesn't support multiple DWI acquisition processing. It was built to process either a single shell or a multi-shell. As for the expected behaviour:

  1. i. We are currently working on an extension to process multiple DWI acquisitions with different parameters (including different EPI images with their corresponding reverse phase encoding).
  2. ii. Due to the heterogeneity in datasets acquisitions even if they are BIDS conformed, we decided that the final user should provide the rpe and pe images manually, instead of hard coded it based on the naming. This behavior will be keep as it is in future releases.
  3. iii. We'll include this feature in the next release where multiple acquisitions will be able to be processed.

In your case, at the present moment the option is to run each DWI sequence independently. We also encourage you to contribute with new features by forking and and pushing them to the developing branch.

thank you for using micapipe

rcruces commented 1 year ago

We are so sorry for the very late reply. We've been working on improving the pipeline since this issue was opened.

The previous version v0.1.5 already had a way to solve this issue including a new flag for different dwi acquisitions -dw_acq. Which allows the user to select only one acquisition of dwi with -dwi_main and name it for example -dwi_acq b2000. This will create a tag and a directory for only that acquisition. Multiple acquisitions are allow for the processing.

By default if -dwi_main is not declared and -dwi_acq b2000 is not set, the pipeline will take all the shells that it finds based on pre set regular expressions default = <bids>/<subject>/dwi/*_dir-AP_dwi.nii*.

This feature plus a novel QC subject- and group-based is included in our new release v0.2.0, please feel free to take a look: https://github.com/MICA-MNI/micapipe