Repository navigation
Regionfile
aalbrechtsen edited this page Sep 7, 2026
·
1 revision
When your inputfile is bam files, then you can specify region
You can specify a specific region using the following 3 ways:
./angsd -bam bamfiles.list -r chr20:
./angsd -bam bamfiles.list -r chr20:-2000000
./angsd -bam bamfiles.list -r chr20:2000000-
./angsd -bam bamfiles.list -r chr20:1000000-2000000
- all chr20
- from beginning of chr20 to position 2000000
- from position 2000000 to the end of chr20
- from posiiton 1000000 to position 2000000 in chr20.
If you have more than one region of interest then you can supply a file containing your regions, one per line.
./angsd -bam bamfiles.list -rf region.file
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