This repository contains code to help assist in compiling CNVnator
and creating rudimentary debian packages. Currently this downloads, compiles, and packages ROOT
(version 6.06.02), YEPPP
(version 1.0.0), samtools
(version 1.3), and CNVNator
(version 0.3.2) .
These instructions are based upon using a "default" untainted Ubuntu cloud images for OpenStack, and with a user and group both named ubuntu
.
For already pre-compiled debian packages please see cnvnator-packages.
# setup the distribution
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install git
git clone https://github.com/indraniel/cnvnator-packager
cd cnvnator-packager
# download, and compile the sources
make
# package up the relevant libraries, headers, files and executables
make debian
# check package existence
ls -al /opt/cnvnator-0.3.2/*.deb
# extract the CNVnator debian package to your host machine
scp /opt/cnvnator-0.3.2/*.deb your-username@your-hostmachine:/path/to/download/directory
- The overall build directory can be changed by updating the
BASE_DIR
parameter in theMakefile
. - You'll need access to a
gcc
version 4.8 or higher to properly compileROOT
.