Hi @Steven,
Thanks for your prompt reply. I did follow the suggested steps and test for 1 subject as follows:
atlases/
├── atlas-CND0012001muse # 1 atlas directory for each subject
│ ├── atlas-CND0012001muse_dseg.nii.gz # original muse segmentation file in T1 native space
│ ├── atlas-CND0012001muse_dseg.tsv
│ ├── atlas-CND0012001muse_space-MNI152NLin2009cAsym_dseg.json
│ └── atlas-CND0012001muse_space-MNI152NLin2009cAsym_dseg.nii.gz # muse segmentation file in MNI space
└── dataset_description.json
Inside the dataset_description.json, I put something like this:
{
"Name": "MUSE",
"BIDSVersion": "1.1.1",
"DatasetType": "atlas"
}
Inside the atlas-CND0012001muse_dseg.tsv, I put something like this:
index name roi_resolution
4 3rd Ventricle Single
11 4th Ventricle Single
23 Right Accumbens Area Single
30 Left Accumbens Area Single
31 Right Amygdala Single
32 Left Amygdala Single
...
Inside the atlas-CND0012001muse_space-MNI152NLin2009cAsym_dseg.json, I put something like this:
{
"SpatialReference": {
"VolumeReferenceSpace": "MNI152NLin2009cAsym"
}
}
Then, the command liked this:
## Reconstruction
apptainer run \
--containall \
--writable-tmpfs \
-B $WORKPATH/:/scratch \
-B $PREPOUTPATH:/prep_out \
-B $RECONOUTPATH:/recon_out \
-B $ATLASPATH:/atlas \
-B $FSLICENSE:/fs_license:ro \
/beegfs/share/neuroimaging/Software/singularity_images/qsirecon-26.0.1.sif \
/prep_out /recon_out participant \
--fs-license-file /fs_license \
--participant-label $SUB \
--nthreads $CPUS \
--recon-spec ss3t_fod_autotrack \
--datasets ${SUB}001muse=/atlas \
--atlases ${SUB}001muse \
-w /scratch \
-v -v
But I received the following error messages:
261013-19:32:06,451 nipype.interface WARNING:
No atlas images found for CND0012001muse with query {'template': 'MNI152NLin2009cAsym', 'suffix': 'dseg', 'extension': ['.nii.gz', '.nii']}
WARNING:nipype.interface:No atlas images found for CND0012001muse with query {'template': 'MNI152NLin2009cAsym', 'suffix': 'dseg', 'extension': ['.nii.gz', '.nii']}
Process Process-2:
Traceback (most recent call last):
File "/app/.pixi/envs/qsirecon/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/app/.pixi/envs/qsirecon/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/app/.pixi/envs/qsirecon/lib/python3.10/site-packages/qsirecon/cli/workflow.py", line 132, in build_workflow
retval['workflow'] = init_qsirecon_wf()
File "/app/.pixi/envs/qsirecon/lib/python3.10/site-packages/qsirecon/workflows/base.py", line 42, in init_qsirecon_wf
single_subject_wf = init_single_subject_recon_wf(subject_id=subject_id)
File "/app/.pixi/envs/qsirecon/lib/python3.10/site-packages/qsirecon/workflows/base.py", line 198, in init_single_subject_recon_wf
atlas_configs = collect_atlases(
File "/app/.pixi/envs/qsirecon/lib/python3.10/site-packages/qsirecon/utils/atlases.py", line 136, in collect_atlases
raise ValueError(f'Errors found in atlas collection:\n\t{error_str}')
ValueError: Errors found in atlas collection:
No atlas images found for CND0012001muse with query {'template': 'MNI152NLin2009cAsym', 'suffix': 'dseg', 'extension': ['.nii.gz', '.nii']}
Which step(s) went wrong?
Thanks for your advice in advnace.
Best,
Angel