-
Notifications
You must be signed in to change notification settings - Fork 8
Installation
With version 0.4.4 building NextGenMap has been simplified. All necessary dependencies are now part of the NextGenMap source code. If you want to build an older version please see LINK.
In order to build NextGenMap only cMake (>=2.8) and g++ are required. Typically these tools should be already available on your computer. If not, please install them.
For example on Ubuntu use:
sudo apt-get install cmake
sudo apt-get install build-essential
To build NextGenMap type:
wget https://github.com/Cibiv/NextGenMap/archive/0.4.4.tar.gz -O NGM.tar.gz
tar xvfz NGM.tar.gz
cd Cibiv-NextGenMap*
mkdir -p build/release
cd build/release/
cmake ../..
makecd ../../bin/ngm*
./ngm
Please note that ngm doesn’t follow the typically make/make install approach. Instead running make creates an directory called ngm-0.×.x in the bin folder that contains all files required to run NextGenMap. To use NextGenMap add this folder to your PATH environment variable. If you want to move NextGenMap to a different location please move the whole folder!
Important
In order to set the necessary environment variables, NextGenMap uses a wrapper script (ngm) to call the actual program (ngm-core). Due to this it is currently not supported to use more than one soft link on ngm.
For example:
ln -s /home/xxx/NextGenMap/bin/ngm-0.4.4/ngm /usr/bin/ngm-0.4.4
ngm-0.4.4
will work, but
ln -s /home/xxx/NextGenMap/bin/ngm-0.4.4/ngm /usr/bin/ngm-0.4.4
ln -s /usr/bin/ngm-0.4.4 /usr/bin/ngm
ngm
won’t work!
NextGenMap 0.4.4 was tested on openSUSE 11.4/12.2 (x86_64) with GCC 4.3.4/4.7.1 and on Ubuntu 12.04/12.10 (x86_64) with GCC 4.4.3/4.6.3
Required software for building MASon:
build-essentials (gcc, …)
cmake
zlib (Ubuntu: zlib1g-dev)
AMD-APP SDK (required for mapping on the CPU or on ATI GPUs)
cudatoolkit (required for mapping on Nvidia GPUs)
wget https://github.com/Cibiv/NextGenMap/tarball/master -O NGM.tar.gz tar xvfz NGM.tar.gz cd Cibiv-NextGenMap* mkdir -p build/release cd build/release/ cmake -DCMAKE_BUILD_TYPE=Release ../.. make cd ../../bin ./NGM
For BAM support Bamtools (http://sourceforge.net/projects/bamtools/) is required.
If the bamtools or the OpenCL includes/libs are not installed in the default directories (e.g. /user/lib) please add:
-DCMAKE_PREFIX_PATH="<path to bamtools folder>[;<path to opencl>]"
to the camke command.
Example:
cmake ../../ -DCMAKE_PREFIX_PATH="/software/ngm/src/bamtools/;/home/CIBIV/philipp_/AMD-APP-SDK/" -DCMAKE_BUILD_TYPE=Release
NGM was tested on openSUSE 11.4 (x86_64) with GCC 4.3.4. and on Ubuntu 12.04 (x86_64) with GCC 4.6.3