Re-use previous outputs in QSIRecon

I want to run a few different mrtrix tractography algorithms based on the same FOD, but using different ACT models (for instance FAST vs HSVS). For the same ACT model, I know my recon-spec can just include multiple tractography action nodes in sequence. But since the ACT model is specified up top, I can’t figure out how to change that for just one of the tractography nodes.

I can run it as a separate workflow in a new call to qsirecon, of course, but then I have to re-run the FOD estimation, mtnorm, etc. Is there a way to re-use the FOD from a previous run? Or some way to tell a new tractography node in the workflow to use a different ACT?

That is a feature we want to support eventually, but it’s not something QSIRecon can do yet.

Although, I think if the two recon specs are named the same (at the top of the YAML, not the filename), use the same working directory, and the nodes you want to keep are named the same, then they may be reused. That could help with the FOD generation for example.

1 Like

Ah thanks I’ll have to try that. Is it just the name field that matters for that? Does the qsirecon_suffix matter as well?

The qsirecon suffix field says what folder it goes into within the output dir.

Excellent that works!

I noticed that the 5TT volume is not actually copied to the output dir, as far as I can see. Is there an option in the config to do that?

edit: I see output/sub-XXXX/anat/sub-XXXX_space-ACPC_seg-hsvs_probseg.nii.gz (not in the qsirecon directory output/derivatives/qsirecon-MRtrix3_*). I don’t see any output for the FAST segmentation though

1 Like