Hi, I have recently learned about fMRIprep’s new --level flag and I am currently testing it on a toy dataset. What I would like to do is the following:
Run fMRIprep in the minimal mode.
Run fMRIprep again in the full mode, so that it reuses the derivatives precomputed in the minimal step and generates all target outputs.
I was able to successfully run the first step, but I’m struggling to find the right command call for the second step.
For the second step, I was also trying to use the --derivatives flag, but so far without success.
What command should I use for the second step, provided that I would like all the target outputs to be saved as if fMRIprep was run normally (without specifying --level flag).
I’m pinging @effigies, in the hope that he’ll be able to help.
Command used (and if a helper script was used, a link to the helper script or the command generated):
Okay, this looks like an inconsistency between fMRIPrep and the fmriprep-docker wrapper. In the wrapper, I implemented -d derivative-name=derivative-location, while in the main app I only implemented -d derivative-location.
You should be able to use -d minimal=./ds000102/derivatives/fmriprep-minimal.
I have one follow-up question though. From the existing documentation I have learned that the idea behind introducing the --level and --derivatives flags was to separate the typical fMRIprep pipeline into two stages:
the “fit stage”, in which only the most essential derivatives are generated
the “transform stage”, in which the remanining derivatives can be generated determininstically at a minimal computational cost.
I have run fMRIprep twice with -d flag to reuse the same (precomputed) derivatives. However, it seems that some of the derivatives generated in those two separate runs are different (to be precise, they are not bit identical). Is this something to be expected?
The goal is for there not to be differences, as the minimal derivatives should not require any new calculations, just deterministic application. We may not have achieved that yet. Please feel free to post issues with which derivatives are differing.