-
Notifications
You must be signed in to change notification settings - Fork 12
Installation
Arun Durvasula edited this page Nov 4, 2015
·
2 revisions
In order to install angsd-wrapper fully, you need to follow a few steps:
First, you need to make the ANGSD executable and the associated programs:
$ git clone https://github.com/arundurvasula/angsd-wrapper.git$ cd angsd-wrapper/angsd$ make$ cd ../ngsPopGen$ make$ cd ../ngsF$ make
Note: some people receive the following error when compiling:
g++ -O3 -D_USE_KNETFILE -o angsd.static *.o -lz -lpthread --static
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [angsd.static] Error 1
This is an error related to zlib and can be corrected by contacting your system administrator. See here for example: http://stackoverflow.com/questions/3373995/usr-bin-ld-cannot-find-lz or here: http://askubuntu.com/questions/377000/compilation-error-usr-bin-ld-cannot-find-lz
Then you need to install the requisite R packages for using the R graphing application:
$ R> install.packages("shiny")> install.packages("ape")> install.packages("Hmisc")> install.packages("lattice")> source("http://bioconductor.org/biocLite.R")> biocLite("genomeIntervals")> install.packages("data.table")