Mindboggle 2016

From HPC users
Jump to navigationJump to search

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

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:

To list every single loaded dependency, type in the following after loading the Mindboggle module:

module list

####### WORK IN PROGRESS ######## 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 a 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:" ¹

Second step: ANTs

Explanation: "ANTs provides brain volume extraction, segmentation, and registration-based labeling. antsCorticalThickness.sh generates transforms and segmentation files used by Mindboggle, and is run on the same IMAGE file and ID as above, with $ANTS_OUT output directory. TEMPLATE points to the OASIS-30_Atropos_template folder already installed in the Docker container (“" splits the command for readability):"

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.