Repository navigation
Home
Segmentation Algorithm. DEPRECATED
Can be accessed through Docker Hub
GLISTR only exists as a Docker image, Docker or Singularity must be installed in order to run.
As input, GLISTR accepts 4 NIfTI images that are MR modalities:
- T1 image - describes the subject's native T1-weighted MRI volume
- T2 image - describes the subject's native T2-weighted MRI volume
- T1CE image - describes the subject's post-contrast (contrast-enhanced) T1-weighted MRI volume
- FLAIR image - describes the subject's T2 Fluid-attenuated inversion recovery (FLAIR) MRI volume
These images should have their names listed in a file called: features.lst
In addition, GLISTR requires a tumor seedpoint file for argument -si|--seed_info and a tissue seedpoint file for argument -pi|--point_info
- Tumor seedpoint file - This is a .txt file that specifies tumor location and radius to roughly approximate its volume. We have developed 'BrainTumorViewer' (https://www.cbica.upenn.edu/sbia/software/braintumorviewer/) specifically for creating this file. However, you can use any software you want in order to create it as long as it is saved in the very same structure. More information on the exact structure of the file can be found in the pages of GLISTR (https://www.cbica.upenn.edu/sbia/software/glistr/manual.html)
- Tissue seedpoint file - This is a .txt file that specifies coordinates (x,y,z) used to model the intensity distribution of each tissue type under segmentation. We have developed 'BrainTumorViewer' (https://www.cbica.upenn.edu/sbia/software/braintumorviewer/) specifically for creating this file. However, you can use any software you want in order to create it as long as it is saved in the very same structure. More information on the exact structure of the file can be found in the pages of GLISTR (https://www.cbica.upenn.edu/sbia/software/glistr/manual.html)."
We do not have sample data to provide, users are expected to provide their own.
Recommended tag: latest
- GLISTR version 3.1.0 with FSL version 4.1.5
Instructions for use with Docker:
docker pull cbica/glistr:latest- Create a folder containing all input files and a sub-folder for output called "output".
$ pwd /path/to/folder/glistr-files/ $ ls features.lst output/ FLAIR.nii.gz* T1.nii.gz* init_point_glistr_10a.txt T1CE.nii.gz* init_seed_glistr.txt T2.nii.gz* - Command:
docker run -v /path/to/folder:/mount cbica/glistr:latest [FLAGS/OPTIONS for GLISTR] - Use
docker run cbica/glistr:latest -hfor list of flags and usage - Precede all file/directory arguments with
/mount/except for--atlas_folder - For
--atlas_folderflag, use argument/GLISTR-3.1.0/data/atlas_jakob_with_cere_type
- For example:
docker run -v /home/user/glistr-files:/mount cbica/glistr:latest --featureslist /mount/features.lst --seed_info /mount/init_seed_glistr.txt --point_info /mount/init_point_glistr_10a.txt --atlas_folder /GLISTR-3.1.0/data/atlas_jakob_with_cere_type --num_omp_threads 3 --num_itk_threads 3 --num_hop_threads 1 --outputdir /mount/output
- Check the output files produced in the output sub-folder mentioned in Step 2
The GLISTR image is set to use the "GLISTR" executable of GLISTR-3.1.0
Other executables include:
- ConcatenateFields
- EvaluateQ
- NormalizeImage
- ResampleDeformationField
- ResampleImage
- ReverseDeformationField
- WarpImage
- WarpImageNN
To use another executable, override the command with the --entrypoint flag, here is the template for the command:
docker run -v /path/to/folder:/mount --entrypoint /GLISTR-3.1.0/bin/install/bin/[EXECUTABLE] cbica/glistr:latest [FLAGS/OPTIONS for executable]
To use with Singularity or to use on CUBIC Cluster, see CUBIC usage
Notes:
- Docker images do not interact with files outside the container, which is why the volume,
-v, flag exists. This flag binds a folder and all of its contents to the Docker container for the run. The path before the ":" points to the directory containing all input files and a sub-directory for output. The path following the ":" points to a directory created within the container such that the image can interact with. - Docker-Compose (Docker Toolkit) is known to have issues with using volumes. Not all files may be binded to the container
- Singularity can run any image from Docker Hub. Singularity requires an internet connection to do so