Hi experts,
I am trying to run QSIprep on HCP data. I have transform the unprocessed data to bids format with hcp2bids. However, when i try to run the qsiprep, it is stucked at topup part for a very long time (~10hour). Any suggestions? Thank you very much.
How much memory/cpus are you devoting to QSIPrep? Docker has its own memory limitations which you can edit in preferences. I think the default is 8gb, which you should try bumping up to 16 if you can afford to. Maybe try running on a single subject first by specifying --participant-label.
Okay good to know, thank you. Yah it looks like the CPU is clocked out when running topup. There are a lot of scans in that folder, so if denoising is done after merging TOPUP should take a long time. Maybe as a test you can just run on a single acquisition (e.g. just the 95lr)
I have had QSIPrep (not including QSIRecon) runs take ~2 days depending on the subject even with good CPU / memory usage. Have you tried letting the topup run for longer?
This has to do with how TOPUP runs. You can see it’s running in a single thread, which can take an incredibly long time with high resolution data. When it gets to eddy you will see all 8 cores being used. HCP data takes a very long time to run because of the single-threaded topup, and even on 8 cores eddy can take a long time. If you have access to a GPU it will finish eddy remarkably faster.
One thing to be aware of, if this is data from minimally preprocessed HCP releases, you don’t need to preprocess it in qsiprep again. A goal for the next release is to be able to ingress HCP minimally preprocessed data so the reconstruction workflows can run in it.
I check my json file generated by hcp2bids for sub-100206_acq-dir95lr_dwi:
{
“EffectiveEchoSpacing”: 0.00078,
“TotalReadoutTime”: 0.6,
“EchoTime”: 0.0895,
“PhaseEncodingDirection”: “i-”
}
Yes. I also think it is too big. Original data is come from HCP (participant id is 100206). The value is assigned by hcp2bids. I think it might be wrong. TotalReadoutTime = Echo spacing * (ReconMatrixPE - 1)
so, TotalReadoutTime=0.00078*(143-1)=0.11154?
There should be files in the figures/ directory and you should see a bunch of interactive figures on the html page when you open it in a browser. If you re-run the same command using the same working directory the figures should copy over to your output directory.