Documentation: https://github.com/ANGSD/angsd/wiki
- Using a local folder containing htslib
#download htslib
git clone --recurse-submodules https://github.com/samtools/htslib.git;
#download angsd
git clone https://github.com/angsd/angsd.git;
#install htslib
cd htslib
make
#install angsd
cd ../angsd
make HTSSRC=../htslib
- Systemwide installation of htslib
git clone https://github.com/angsd/angsd.git;
cd angsd; make HTSSRC=systemwide
- Let make fetch htslib (simplest)
git clone https://github.com/angsd/angsd.git;
cd angsd; make
make clones the newest htslib develop into angsd/htslib and updates it on later runs (offline it keeps the copy it has). Release tarballs ship with htslib included, so make builds them without network access.
- Releases are annotated tags on master, e.g.
0.942, and each one gets a GitHub release with a source tarball (made by.github/workflows/release.yml). angsdreports its version fromgit describe:0.942on a release,0.942-3-gabc1234three commits after it, with-dirtyif the source has uncommitted changes. Source tarballs carry the version in theVERSIONfile.- To release:
git tag -a 0.943 -m "angsd 0.943" && git push origin 0.943.
- I've switched over to using htslib for parsing single reads (to allow for CRAM reading, while avoid having to write my own CRAM parser). I'm still using my own readpools. Users should therefore also download and install htslib.