-
ANGSD
ANGSD
ANGSD (Analysis of Next Generation Sequencing Data) is a program for analysing NGS data. It can estimate many summary statistics and perform population-genetic analyses directly from genotype likelihoods, which makes it well suited to low-coverage sequencing data. It reads BAM/CRAM alignments and other common formats.
License
Free to use and open source under GNU GPLv3.
Available
- Roihu: 0.940, via the
bio-appsmodule.
Usage
ANGSD is part of the bio-apps collection on Roihu. Load the bio-apps module tree and then the ANGSD module:
ANGSD is run with the angsd command. For example, to calculate genotype likelihoods
for a set of BAM files listed in bam.filelist:
ANGSD can use multiple threads with the -nThreads option.
Example batch script
#!/bin/bash
#SBATCH --job-name=angsd
#SBATCH --account=<project>
#SBATCH --output=output_%j.txt
#SBATCH --error=errors_%j.txt
#SBATCH --partition=small
#SBATCH --time=08:00:00
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=4
#SBATCH --mem-per-cpu=4G
module load bio-apps/v202603
module load angsd/0.940
angsd -bam bam.filelist -GL 1 -doGlf 2 -doMajorMinor 1 -SNP_pval 1e-6 -nThreads $SLURM_CPUS_PER_TASK -out results
Replace <project> with your CSC project (for example project_2001234).
See creating a batch job script for Roihu for more information about running batch jobs.