Because I am using data that was already preprocessed, I only need to do reconstruction. However, I realized that when I ran it, the error code, FreeSurfer data is required to make HSVS 5tt image. popped up.
Because I did not use FreeSurfer for preprocessing, I do not know what files freesurfer gives and hence do not know which files have to be inside of the freesurfer directory in order to make the reconstruction work… Does anyone know what kind of data I need and how I can get it?
Yes, there is very specific folder and file naming conventions. It would not be worth the effort trying to make it manually based on files you may or may not have.
Yes, you can add --do-reconall to your qsiprep command.
Our group usually runs freesurfer as part of fmriprep and then uses its output for the 5tt hsvs workflow in qsiprep. Almost any normal run of recon-all will produce everything you need for 5tt hsvs
Hi,
I‘d like to ask if it’s possible to use T1w images preprocessed by qsiprep directly with recon-all? Does the original qsiprep pipeline (with the --do-reconall parameter) operate this way? I’m a bit uncertain whether some of the overlapping preprocessing steps, like bias field correction, between recon-all and qsiprep might have a significant negative impact on the final 5tt file generated. Thank you very much in advance for your guidance.
No I would not recommend using the preprocessed qsiprep t1 in recon-all, because steps like bias correction would be repeated. Is there a reason you don’t want to use the raw T1?
Thank you for your response. The reason I was considering using the preprocessed QSIPrep T1 in recon-all is that my subsequent reconstruction work is not being performed with QSIRECON. Therefore, I need a 5TT image that is aligned with the DWI. If I were to use the raw T1, I would need to perform an additional registration step to align it with the DWI.
It seems that using the QSIPrep output T1 for recon-all is not recommended. In that case, I’ll proceed with manual registration instead. Alternatively, would it be feasible to specify the -nonuintensitycor option when calling recon-all to address this issue?
Hi @Steven! Thank you for your replies!
At what stage would you incorporate/use this transformation? I have a similar problem:
I performed QSIPrep on raw T1w and dwMRI
Someone performed FS reconstruction on raw T1w
I wanna get structural connectomes, but: I get all atlases sorted using FreeSurfer’s output, and I do tractography using QSIPrep output. As a result, my atlases are not aligned with QSIPrep-ed T1w/DWI.
I did CSD outside of QSIRecon because I used a ‘custom-made’ pipeline. Now I am unsure at what stage I need to align FreeSurfer’s and QSIPrep’s outputs.
Would it be possible to change one of the recon-specs to do whatever custom pipeline you did? Then you can run everything in qsirecon, and is what I would suggest first to keep everything as reproducible and clean as possible.
If that is not a possibility, understand that the FreeSurfer inputs are just used to make the 5TT HSVS image for anatomically constrained tractography. It just needs to be done at some point before tractography. You should definitely not be moving the DWI to FreeSurfer space (don’t want to deal with interpolation of DWI and rotating the gradient table).
Thank you so much! I am now trying to incorporate all steps in QSIRrecon, but face some issues here too because the pipeline is a bit too complicated. The trick is that I also use FS outputs to align/produce parcellations as well, so I also use lh/rh.pial/white/etc from /surf, so it seems that the issue goes beyond 5tt only. I think it would be better to sacrifice the pipeline reproduction but try to do all in qsirecon.