Skip to content

Concise Installation Guide for BEaST

Qingyang Li edited this page Aug 28, 2013 · 5 revisions

Concise Installation Guide for BEaST

Qingyang Li | [email protected]

Introduction

This concise guide is created to document the installation of BEaST on Rocky. It might be also useful to help people install BEaST.

Resources about BEaST

  • Webpage of BEaST: Link
  • Github page of BEaST: Link
  • Paper about BEaST: Link

Before installation of BEaST

1. Install MINC Tool Kit:go to this page for the toolkit and it's installation guide for your system. If your system is Unutu 10.04, you can run the code below.

wget http://packages.bic.mni.mcgill.ca/minc-toolkit/Debian/minc-toolkit-0.3.16-20121113-Ubuntu_10.04-x86_64.deb
sudo apt-get install libc6 libstdc++6 imagemagick perl freeglut3 libxcb1 libxdmcp6 libx11-6 libxext6 libxau6 libuuid1 libjpeg62 libexpat1 libtiff4
sudo dpkg -i minc-toolkit-0.3.16-20121113-Ubuntu_10.04-x86_64.deb 
source /opt/minc/minc-toolkit-config.sh 

NOTE 1: please add source /opt/minc/minc-toolkit-config.sh into your bashrc file so you don't have to do it every time before running the toolkit.
echo "source /opt/minc/minc-toolkit-config.sh" >> ~/.bashrc;
NOTE 2: The current version of MINC tool kit has a bug in one of it's scripts which is called bestlinreg_s, you need to fix the problem by changing line 30 of the bestlinreg_s script:
trans => qw/-est_translations/,
to:
trans => [qw/-est_translations/],

2. Install NIfTI librarie

sudo apt-get install libnifti-dev

3. Install libariry for Hierarchical Data Format 5 support

sudo apt-get install libhdf5-serial-dev

Download BEaST Source code and Read the README file.

cd ~/Downloads
wget http://www.bic.mni.mcgill.ca/uploads/ServicesSoftwareAdvancedImageProcessingTools/beast-1.15.tar.gz
tar -xzvf beast-1.15.tar.gz 
cd beast-1.15
more ~/Downloads/beast-1.1/README

The README file is also available online: Click here to Read.

Compile and Install BEaST

Run the code below to configure the installation.

ccmake CMakeLists.txt

At the step, you need to make sure all the path is correct in the CMakeList.txt. Type "c" to configure the installation and type "g" to generate configuration. If everything is correct, runt the code below to install BEaST to your system

make
sudo make install

Install BEaST Libraries

See README.library file for detailed installation guide.

more ~/Downloads/beast-1.1/README.library
cd ~/Downloads
wget http://packages.bic.mni.mcgill.ca/tgz/beast-library-1.1.tar.gz
tar xzf beast-library-1.1.tar.gz
sudo mv beast-library-1.1 /opt/minc/share/
Clone this wiki locally