@@ -587,31 +587,24 @@ External Atlases
587587While *XCP-D * comes with many built-in parcellations,
588588we understand that many users will want to use different ones.
589589
590- As long as the parcellation is organized in a BIDS-Atlas dataset and is in
590+ As long as the parcellation is organized according to BIDS v1.11.0 and is in
591591fsLR-32k space (for CIFTI processing) or
592592MNIInfant, MNI152NLin6Asym, or MNI152NLin2009cAsym space (for NIfTI processing),
593593you can use it with *XCP-D *.
594594
595- .. warning ::
596- BIDS Extension Proposal 38 (Atlas Specification) has not been integrated in BIDS yet,
597- so the organization and naming for atlas datasets may change in the future.
598-
599- We have attempted to follow the proposed structure in *XCP-D *,
600- but we cannot guarantee that this will not change.
601-
602595.. tip ::
603596 The main elements from the BIDS-Atlas dataset that *XCP-D * uses are:
604597
605- 1. There must be a dataset_description.json file with DatasetType set to "atlas ".
598+ 1. There must be a dataset_description.json file with DatasetType set to "derivative ".
606599 2. The atlas metadata files must have the same entities as the atlas image files,
607- as PyBIDS does not support the inheritance principle when querying BIDS-Atlas datasets (yet).
608- 3. There must be a TSV file for the atlas, with "index" and "label " columns.
600+ as PyBIDS does not support the inheritance principle when querying atlas datasets (yet).
601+ 3. There must be a TSV file for the atlas, with "index" and "name " columns.
609602
610603To do this, use the ``--datasets `` and ``--atlases `` parameters.
611604The ``--datasets `` parameter should point to the directory containing the BIDS-Atlas dataset,
612605and the ``--atlases `` parameter should include the names of the atlases in the dataset to use.
613606
614- For example, consider a scenario where you have two BIDS-Atlas datasets, one containing all of the
607+ For example, consider a scenario where you have two BIDS atlas datasets, one containing all of the
615608Schaefer 2018 resolutions and one containing the AAL atlas.
616609These datasets are in ``/data/atlases/schaefer `` and ``/data/atlases/aal ``, respectively.
617610The file structure for these two datasets might look like this:
@@ -621,25 +614,28 @@ The file structure for these two datasets might look like this:
621614 /data/atlases/
622615 schaefer/
623616 dataset_description.json
624- atlas-Schaefer100/
625- atlas-Schaefer100_dseg.tsv
626- atlas-Schaefer100_space-fsLR_den-32k_dseg.dlabel.nii
627- atlas-Schaefer100_space-fsLR_den-32k_dseg.json
628- atlas-Schaefer200/
629- atlas-Schaefer200_dseg.tsv
630- atlas-Schaefer200_space-fsLR_den-32k_dseg.dlabel.nii
631- atlas-Schaefer200_space-fsLR_den-32k_dseg.json
617+ atlas-Schaefer100_description.json
618+ atlas-Schaefer200_description.json
632619 ...
633- atlas-Schaefer1000/
634- atlas-Schaefer1000_dseg.tsv
635- atlas-Schaefer1000_space-fsLR_den-32k_dseg.dlabel.nii
636- atlas-Schaefer1000_space-fsLR_den-32k_dseg.json
620+ atlas-Schaefer1000_description.json
621+ tpl-fsLR/
622+ tpl-fsLR_atlas-Schaefer100_den-32k_dseg.dlabel.nii
623+ tpl-fsLR_atlas-Schaefer100_den-32k_dseg.json
624+ tpl-fsLR_atlas-Schaefer100_den-32k_dseg.tsv
625+ tpl-fsLR_atlas-Schaefer200_den-32k_dseg.dlabel.nii
626+ tpl-fsLR_atlas-Schaefer200_den-32k_dseg.json
627+ tpl-fsLR_atlas-Schaefer200_den-32k_dseg.tsv
628+ ...
629+ tpl-fsLR_atlas-Schaefer1000_den-32k_dseg.dlabel.nii
630+ tpl-fsLR_atlas-Schaefer1000_den-32k_dseg.json
631+ tpl-fsLR_atlas-Schaefer1000_den-32k_dseg.tsv
637632 aal/
638633 dataset_description.json
639- atlas-AAL/
640- atlas-AAL_dseg.tsv
641- atlas-AAL_space-fsLR_den-32k_dseg.dlabel.nii
642- atlas-AAL_space-fsLR_den-32k_dseg.json
634+ atlas-AAL_description.json
635+ tpl-fsLR/
636+ tpl-fsLR_atlas-AAL_den-32k_dseg.dlabel.nii
637+ tpl-fsLR_atlas-AAL_den-32k_dseg.json
638+ tpl-fsLR_atlas-AAL_den-32k_dseg.tsv
643639
644640 You may want to only apply the Schaefer100 atlas from the ``schaefer `` dataset and the AAL atlas
645641from the ``aal `` dataset, along with one of *XCP-D *'s built-in atlases (``4S156Parcels ``).
@@ -653,7 +649,7 @@ Here's what the *XCP-D* call might look like:
653649 /home/user/data/path/to/output_dir \
654650 participant \ # analysis_level
655651 --mode < mode> \ # required
656- --datasets schaefer=/home/user/ data/path/to/schaefer_atlas aal==/home/user/ data/path/to/aal_atlas \
652+ --datasets schaefer=/data/atlases/schaefer aal==/data/atlases/aal \
657653 --atlases Schaefer100 AAL 4S156Parcels
658654
659655 *XCP-D * will search for ``atlas-Schaefer100 ``, ``atlas-AAL ``, and ``atlas-4S156Parcels `` across the
@@ -662,7 +658,7 @@ If the atlases are found, then they will be used for parcellation.
662658
663659.. important ::
664660
665- Atlas names must be unique across BIDS-Atlas datasets.
661+ Atlas names must be unique across BIDS atlas datasets.
666662 If two atlases have the same name, *XCP-D * will raise an error.
667663
668664
0 commit comments