Difference between revisions of "Mindboggle 2016"
Schwietzer (talk | contribs) |
Schwietzer (talk | contribs) (Using Mindboggle: 1. Step) |
||
Line 9: | Line 9: | ||
'''Mindboggle/1.3.4'''-foss-2017b-Python-3.6.3 | '''Mindboggle/1.3.4'''-foss-2017b-Python-3.6.3 | ||
== | == About Mindboggle == | ||
If you want to find out more about Mindboggle on the HPC Cluster, you can use the command | If you want to find out more about Mindboggle on the HPC Cluster, you can use the command | ||
Line 36: | Line 36: | ||
To list every single loaded dependency, type in the following after loading the Mindboggle module: | To list every single loaded dependency, type in the following after loading the Mindboggle module: | ||
module list | module list | ||
== Using Mindboggle == | |||
On the following lines, we will describe how you can use Mindboggle combined with ANTs and FreseSurfer. Bur we are besically just redescribing the [https://mindboggle.readthedocs.io/en/latest/ official Mindboggle tutorial], because our environment differs from the tutorial since we don't work with a Docker image. | |||
(Starting at section ''Run separate commands'', because the all-in-one-command ''mindboggle123'' generates errors on our system.) | |||
=== First step: FreeSurfer === | |||
At first, you need an brain image file, a target location, and an output ID. | |||
*Let's assume, the brain image is stored on location ~/brain_image. | |||
*As for the target location, FreeSurfer already generated the path ~/freesurfer/subjects | |||
*The ID can be chosen freely. Let's call it ''arno'' | |||
IMAGE=~/brain_image/T1.nii.gz # Setting variable for image | |||
FREESURFER_OUT=~/freesurfer/subjects # setting variable for output path | |||
ID=arno # setting variable for ID | |||
recon-all -all -i $IMAGE -s $ID -sd $FREESURFER_OUT # starting the first step | |||
Explanation: '' "FreeSurfer generates labeled cortical surfaces, and labeled cortical and noncortical volumes. Run recon-all on a T1-weighted IMAGE file (and optionally a T2-weighted image), and set the output ID name as well as the $FREESURFER_OUT output directory:" '' [¹ https://mindboggle.readthedocs.io/en/latest/] | |||
===Second step: ANTs === | |||
=== Third step: Mindboggle === | |||
== Documentation == | == Documentation == |
Revision as of 07:38, 31 July 2019
Introduction
Mindboggle’s open source brain morphometry platform takes in preprocessed T1-weighted MRI data, and outputs volume, surface, and tabular data containing label, feature, and shape information for further analysis. Mindboggle can be run on the command line as “mindboggle”. The program is written in Python 3 and Python-wrapped C++ code called within a Nipype pipeline framework.
Installed version(s)
This version is installed and currently available on environment hpc-env/6.4:
Mindboggle/1.2.4-foss-2017b-Python-3.6.3 Mindboggle/1.3.4-foss-2017b-Python-3.6.3
About Mindboggle
If you want to find out more about Mindboggle on the HPC Cluster, you can use the command
module spider Mindboggle
This will show you basic informations e.g. a short description and the currently installed version.
To load the desired version of the module, use the command, e.g.
module load hpc-env/6.4 module load Mindboggle
Always remember: this command is case sensitive!
Besides Mindboggle itself, the module also loads various dependencies, which can all be used separately.
Some of the dependencies are:
- ANTs
- MESA
- FreeSurfer
- HDF5
- ...
To list every single loaded dependency, type in the following after loading the Mindboggle module:
module list
Using Mindboggle
On the following lines, we will describe how you can use Mindboggle combined with ANTs and FreseSurfer. Bur we are besically just redescribing the official Mindboggle tutorial, because our environment differs from the tutorial since we don't work with a Docker image. (Starting at section Run separate commands, because the all-in-one-command mindboggle123 generates errors on our system.)
First step: FreeSurfer
At first, you need an brain image file, a target location, and an output ID.
- Let's assume, the brain image is stored on location ~/brain_image.
- As for the target location, FreeSurfer already generated the path ~/freesurfer/subjects
- The ID can be chosen freely. Let's call it arno
IMAGE=~/brain_image/T1.nii.gz # Setting variable for image FREESURFER_OUT=~/freesurfer/subjects # setting variable for output path ID=arno # setting variable for ID recon-all -all -i $IMAGE -s $ID -sd $FREESURFER_OUT # starting the first step
Explanation: "FreeSurfer generates labeled cortical surfaces, and labeled cortical and noncortical volumes. Run recon-all on a T1-weighted IMAGE file (and optionally a T2-weighted image), and set the output ID name as well as the $FREESURFER_OUT output directory:" [¹ https://mindboggle.readthedocs.io/en/latest/]
Second step: ANTs
Third step: Mindboggle
Documentation
The full documentation can be found here. More information about the first commands and a short tutorial can be found here.