Update April, 2021
qrsh -l rh7
These instructions work for version 0.982 and were compiled on May, 2019:
1) get an interactive session and set the environment:
qrsh
module load gcc/4.9.3 # or higher
module load xz
module load zlib
3) make htslib first:
cd angsd/htslib
make CPPFLAGS='-I/u/local/apps/xz/5.2.3/include
-I/u/local/apps/zlib/1.2.8/gcc-4.4.7/include'
LDFLAGS='-L/u/local/apps/xz/5.2.3/lib
-L/u/local/apps/zlib/1.2.8/gcc-4.4.7/lib'
4) now make angsd:
HTSSRC=`pwd`
cd ../angsd
make HTSSRC=${HTSSRC}/ CPPFLAGS='-I${HTSSRC}
-I/u/local/apps/xz/5.2.3/include
-I/u/local/apps/zlib/1.2.8/gcc-4.4.7/include'
LIBS='-L/u/local/apps/xz/5.2.3/lib
-L/u/local/apps/zlib/1.2.8/gcc-4.4.7/lib -lz -lm -lbz2 -llzma -lpthread
-lcurl -lcrypto ${HTSSRC}/libhts.a'
--
RD