How to install ngsTools
To install ngsTools, you must first install several dependency libraries and software packages:
$ sudo apt update
$ sudo apt install git gsl-bin libgsl-dbg libgsl-dev libgslcblas0 gcc zlib1g-dev libbz2-dev liblzma-dev libcurl4-openssl-dev coreutils samtools perl r-base
$ sudo cpan Getopt::Long && sudo cpan Graph::Easy && sudo cpan Math::BigFloat && sudo cpan IO::Zlib
$ R -e "install.packages(c('optparse', 'tools', 'ggplot2', 'reshape2', 'plyr', 'gtools', 'LDheatmap', 'ape', 'grid', 'methods', 'phangorn', 'plot3D'))"
Now you can install ngsTools. Ensure that your terminal is directed to the folder where you want ngsTools to be installed:
$ git clone --recursive https://github.com/mfumagalli/ngsTools.git
$ cd ngsTools
$ make
You can find the official installation instructions provided by the owner of the ngsTools github repository here.
Comments