diff --git a/README.md b/README.md index f2c9294..7bc8c57 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,29 @@ http://www.htslib.org/ ### libBigWig Clone the libBigWig repository from GitHub: https://github.com/dpryan79/libBigWig + git clone https://github.com/dpryan79/libBigWig.git + +Compile it and set the environment variables for BAMscale + + cd libBigWig/ + make + export LIBBIGWIG_DIR=`pwd` + export CPPFLAGS="-I $LIBBIGWIG_DIR" + export LDFLAGS="-L $LIBBIGWIG_DIR -Wl,-rpath,$LIBBIGWIG_DIR" + +## Installation + +After compiling the libBigWig library and samtools (if not already installed) clone the BAMscale from GitHub + + git clone https://github.com/ncbi/BAMscale.git + +and go to the BAMscale folder to compile the program: + + cd BAMscale/ + make + +A bin folder will be created with the BAMscale executable. + ## Usage ### Peak quantification