Open suxpert opened 1 month ago
Hi,
Thanks for thorough bug report. This problem can occur when there are multiple runs of the fMRI file of the same task name but just one run of T1w file. There are some issues that can arise in the output names in these situations.
For now, could you try renaming fMRI task names to be different? (i.e., sub-0151_ses-01_task-restA_run-01_bold.nii.gz and sub-0151_ses-01_task-restB_run-02_bold.nii.gz)
Also, I would suggest using the --ignore_suffix acq flag since these tokens are not present in the other modalities' file names.
Thank you, Yeun
I can confirm that if I leave only one of the resting state func files, BrainSuite
works without error. But in my case, if the tasks are splitted into multiple runs, how could I do the 2nd level analysis that combine results from multiple runs, or perform a group analysis correctly? Rename the tasks makes it difficult to match them.
Would you be running our BrainSuite BIDS App for group-level analysis? Or which statistical tests were you planning on running?
I'm not familar with BrainSuite, but I guess it can run both the subject-level and group-level analysis, right? I was trying to run some analysis on resting state fMRI data, so both subject-level and group-level are needed. In my case, the non-cannonical
point is that I have two short runs for one participant, since I have to rename one of them (according to your previous solution), how could I obtain the group-level
that considered both runs for all subject, when I finished the subject-level
analysis with each run have a different name?
Yes, you can run the group-level analysis with our BrainSuite BIDS App. We haven't yet implemented our package to handle multiple runs of the same task fMRI, because we haven't sorted out how to handle the issue of multiple T1w and task fMRI runs.
You can try running the group-level analysis by defining the subject IDs in the demographics TSV file to contain the task token (e.g., sub-${ID}_task-restA
) in the participant_id
column and setting the file_ext
field in the modelspec.json file (sample file is provided in the templates directory) as _bold.32k.GOrd.filt.mat
. This field specifies the constant file suffix of the *.mat file. Let me know if this works for you.
What version of the bids app were you using?
bids/brainsuite:v23a
Describe your problem in detail.
I was trying run BrainSuite for resting-state analysis, and it failed to run.
My dataset is very simple:
I followed the instructions from here, with only input dataset be replaced. Then BrainSuite crashed with the following message:
What command did you run?
Describe what you expected.
I would expect BrainSuite can deal with such a simple dataset with default config without any problem.