mrcap:MainPage
From NITRC Wiki
This is the homepage for the Magnetic Resonance Connectome Automated Pipeline (MRCAP). The alpha version of our code has now been released. If you would like to be notified of our next release, or for more information, please contact Will Gray (willgray@jhu.edu). A manuscript that describes the methods used in MRCAP is available on the Arxiv.
Contents |
MRCAP Overview
MRCAP combines diffusion tensor imaging (DTI or dMRI) and structural (MPRAGE or sMRI) data from a single subject to estimate a high-level connectome, which is a description of the wiring diagram of the brain. MRCAP is efficient and its modular construction allows researchers to modify algorithms to meet their specific requirements. The pipeline has been validated and over 200 connectomes have been processed and analyzed to date.
Conceptually, the pipeline is divided into three parts: a diffusion layout, structural layout, and connectivity layout. The diffusion layout estimates tensors and computes fiber tracts based on the FACT algorithm. The structural layout preprocesses the volume and performes gyral labeling based on the Desikan structural parcellation. Finally, the connectivity layout coregisters the two image volumes and estimates the connectivity between each of the regions. Additional details can be found in our manuscript, which is in press and will be added online, shortly.
MRCAP Pipeline Overview
Requirements
In order to install and use the MRCAP processing pipeline, MIPAV and JIST have to first be installed on your system. Certain versions of MIPAV and JIST are required to ensure that the pipeline operates correctly.
MIPAV and JIST are Java-based, and can be run on a wide variety of platforms (e.g., Windows, Mac, Linux).
In order to run the algorithms, it is recommended that each subject is allocated one processor core (2GHz+) and 10GB of RAM. It may be possible to run the pipeline with fewer resources, but users in this situation should contact us for more information.
Installation Instructions
This section explains how to successfully install and configure MRCAP and its associated dependencies. All software is available as a link from our download page.
Install MIPAV Version 5.3.1
MIPAV (Medical Image Processing, Analysis, and Visualization) is an imaging and processing tool that provides the foundation for JIST and MRCAP. The software is directly available from http://mipav.cit.nih.gov/. Note that archival releases are at the bottom of the Downloads page. Installation instructions are provided on the MIPAV site and are not reproduced, here.
Download JIST+CRUISE, nightly build 06/28/2011.
This software provides the modules required to run MRCAP, and the JIST plugin for MIPAV. To ensure correct pipeline performance, users must use the specified version of JIST. It is possible to install many versions of JIST side-by-side on the same system. It is not necessary to do any installation of JIST into MIPAV or additional setup, beyond unpacking the JIST-CRUISE .JAR file into a new directory. To unpack the JAR file, navigate to a clean subdirectory and simply type: unzip JIST-CRUISE
Download the MRCAP Jist layout (Version 0.8 Alpha)
Download the XML MRCAP layout file and the startMRCAP script. The startMRCAP script includes all necessary entries on the classpath and starts JIST. It will need to be modified to reflect the correct locations on your system. The file content is as follows:
<mipav_directory>/jre/bin/java -Xmx3000m -classpath "<mipav_directory>:<mipav_directory>/jre/lib/*:<mipav_directory>/jre/lib/*/*:<mipav_directory>/lib/*:<mipav_directory>/lib/*/*:<mipav_directory>/InsightToolkit/lib/InsightToolkit/InsightToolkit.jar:<JIST+CRUISE_directory>" StartJIST
<mipav_directory> points to the top-level directory where you installed mipav (e.g. /home/wgray/mipav531)
<JIST+CRUISE_directory> is the directory where you unpacked the JIST+CRUISE JAR
Note that on a Macintosh computer, Java is controlled by the OS, and will likely reside in a separate location (e.g. /usr/bin/java)
Usage Guidelines
This section describes how to run the MRCAP pipeline. Briefly, the inputs are the strengths (b-values) and directions (gradients) of the DTI scans, as well as the overall DTI (dMRI) and MPRAGE (sMRI) image volumes. The outputs are two connectivity matrices (or connectomes), based on fiber count and mean(meanFA). The atlases used by default in MRCAP parcellate the brain into 70 regions, so the connectivity matrices have roughly 2500 (70 x 70 / 2) undirected edges.
Any native MIPAV formats (e.g. Nifti, XML/RAW) are supported. It is preferred that DICOM formats are converted to a more compact format. MRI Convert (http://lcni.uoregon.edu/~jolinda/MRIConvert/) is an excellent, free tool.
Once you have launched JIST, go to file, open, and select the MRCAP_template file. The input should be organized by subject (templates provided) in a CSV or TXT file. The template layout is designed to run multiple subjects; however, a single subject can be processed using the above approach, if desired. It is possible to customize the layouts to suit your data's specific format and algorithm requirements. More information on customization will be provided as part of the Beta MRCAP release, expected in late July.
Once the input text files have been created, select them by specifying the parameters in the JIST input modules (blue). Once all four inputs have been specified, go to Project, Layout Preferences. You should specify a high-level output path for your results (the directory will be created if necessary). Heap size (at least 10GB) and simultaneous processes (at least 1) should reflect your processing hardware capabilities. Next, go to Project, Global Preferences. Select a new directory for your module library, (e.g., ../mrcap/library). Rebuild your library.
Prior to running, ensure that the configuration files in the VABRA, SPECTRE, and Atlas Registration Modules are set correctly. (Will be updated 6/30.)
Finally, go to Project, Processing Manager, and wait for your experiment(s) to load. Click on Start Scheduler to process your data. Additional instructions and screenshots will be provided, soon.
JIST provides native capabilities to process a number subjects in parallel (typically 1 per computer core is an appropriate loading, given 10 GB of available RAM per core). Example input files are provided; subject input file information should be stored in .txt or .csv files and specified in the input modules of the layout.
Simple archival and post-processing analysis scripts are also made available to the user community.
Potential Applications
Connectomes can be used for a variety of applications and classification tasks. Our team uses the output information to develop and test statistical graph-theoretical classification methods.
More Information/Where to Get Help
For more information, or to get help, please contact Will Gray (willgray@jhu.edu) or Joshua Vogelstein (joshuav@jhu.edu).









