Repository navigation
Introduction
aalbrechtsen edited this page Sep 7, 2026
·
1 revision
This page will contain som random examples.
Assuming you have a list of bamfiles in in file: 'list.txt' and you want the genotype likelihoods for position 12500000 on chromosome 8.
./angsd -bam list.txt -GL 1 -r chr8:12500000 -out results -doGlf 1
This is using the SAMtools model for calculating genotype likelihoods (see genotype likelihoods for other models). Without the '-doGlf' parameter the genotype likelihoods will solely be estimated but will not be dumped. Therefore we also supply the '-doGlf 1' which will dump the genotype likelihoods as binary see GL outputs.
Pages
Population genetics
Population structure
- Admixture
- Fst
- ABBABABA (D-stat)
- ABBABABA (multipop)
- Population branch statistics (pbs)
- PCA
- PCA (sampling approach)
- Linkage disequilibrium
Medical genetics
IBD/IBS
Summaries
SNPs and genotypes
- Genotypes likelihoods
- Major and Minor
- Allele frequencies
- Genotype calling
- Haploid calling
- SNP Calling
Output
Misc/util programs
Program structure
About ANGSD