ANGSD: Analysis of next generation Sequencing Data

Latest tar.gz version is (0.938/0.939 on github), see Change_log for changes, and download it here.

Installation: Difference between revisions

From angsd
Jump to navigation Jump to search
No edit summary
No edit summary
 
(53 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Download=
There has been some confusion about the versions of ANGSD.


The latest stabile version of the source code is avaible as a tarball and be download here
* Even versions are freezes from the last odd giversion
[http://popgen.dk/software/download/angsd/angsd0.612.tar.gz]
 
* Odd versions are git versions. Once there has been enough commits we will increment and make a release.
 
=Download and Installation=
To download and use ANGSD you need to download the htslib and the angsd source folder
 
You can either download the angsd0.938.tar.gz which contains both.
[http://popgen.dk/software/download/angsd/angsd0.938.tar.gz]
 
Or you can use github for the latest version of both htslib and angsd


Earlier versions from here: http://popgen.dk/software/download/angsd/
Earlier versions from here: http://popgen.dk/software/download/angsd/
And here: https://github.com/ANGSD/angsd/releases


Latest dev version can be found on github: https://github.com/ANGSD/angsd
=Installation=
 
=Install=
Download and unpack the tarball, enter the directory and type make. Users on a mac computer, can use curl instead of wget.
Download and unpack the tarball, enter the directory and type make. Users on a mac computer, can use curl instead of wget.


===Unix===
===Unix===
The software can be compiled using make. zlib needs to be installed on your system.
The software can be compiled using make.
<pre>
wget http://popgen.dk/software/download/angsd/angsd0.940.tar.gz
tar xf angsd0.940.tar.gz
cd htslib;make;cd ..
cd angsd
make HTSSRC=../htslib
cd ..
</pre>
The executable then located in '''angsd/angsd'''.
 
=Install from github=
To install CRAM support you also need to install htslib and can be done using the following commands
 
<pre>
<pre>
wget http://popgen.dk/software/download/angsd/angsd0.612.tar.gz
git clone --recursive https://github.com/samtools/htslib.git
tar xfz angsd0.612.tar.gz
git clone https://github.com/ANGSD/angsd.git
cd angsd0.612
cd htslib;make;cd ../angsd ;make HTSSRC=../htslib
</pre>
 
=Using htslib submodule=
 
<pre>
git clone https://github.com/ANGSD/angsd.git
cd angsd
make
make
cd ..
</pre>
</pre>
The executable then located in '''angsd0.612/angsd'''.
 
;NB the program also compiles a static version called '''angsd0.612/angsd.static''' which could be usefull.
 
=Systemwide installation of htslib=
 
<pre>
make HTSSRC="systemwide"
</pre>

Latest revision as of 23:25, 8 December 2023

There has been some confusion about the versions of ANGSD.

  • Even versions are freezes from the last odd giversion
  • Odd versions are git versions. Once there has been enough commits we will increment and make a release.

Download and Installation

To download and use ANGSD you need to download the htslib and the angsd source folder

You can either download the angsd0.938.tar.gz which contains both. [1]

Or you can use github for the latest version of both htslib and angsd

Earlier versions from here: http://popgen.dk/software/download/angsd/ And here: https://github.com/ANGSD/angsd/releases

Installation

Download and unpack the tarball, enter the directory and type make. Users on a mac computer, can use curl instead of wget.

Unix

The software can be compiled using make.

wget http://popgen.dk/software/download/angsd/angsd0.940.tar.gz
tar xf angsd0.940.tar.gz
cd htslib;make;cd ..
cd angsd
make HTSSRC=../htslib
cd ..

The executable then located in angsd/angsd.

Install from github

To install CRAM support you also need to install htslib and can be done using the following commands

git clone --recursive https://github.com/samtools/htslib.git
git clone https://github.com/ANGSD/angsd.git 
cd htslib;make;cd ../angsd ;make HTSSRC=../htslib

Using htslib submodule

git clone https://github.com/ANGSD/angsd.git 
cd angsd
make


Systemwide installation of htslib

make HTSSRC="systemwide"