1% BFST(1) bFst (vcflib) | bFst (VCF statistics)
2% Erik Garrison and vcflib contributors
3
4# NAME
5
6**bFst**
7
8# SYNOPSIS
9
10**bFst** --target 0,1,2,3,4,5,6,7 --background 11,12,13,16,17,19,22 --file my.vcf --deltaaf 0.1
11
12# DESCRIPTION
13
14**bFst** is a Bayesian approach to Fst. Importantly **bFst** accounts for genotype uncertainty in the model using genotype likelihoods. For a more detailed description see: `A Bayesian approach to inferring population structure from dominant markers' by Holsinger et al. Molecular Ecology Vol 11, issue 7 2002. The likelihood function has been modified to use genotype likelihoods provided by variant callers. There are five free parameters estimated in the model: each subpopulation's allele frequency and Fis (fixation index, within each subpopulation), a free parameter for the total population's allele frequency, and Fst.
15
16
17
18# OPTIONS
19
20```
21
22
23Output : 11 columns :
24     1.  Seqid
25     2.  Position
26     3.  Observed allele frequency in target.
27     4.  Estimated allele frequency in target.
28     5.  Observed allele frequency in background.
29     6.  Estimated allele frequency in background.
30     7.  Observed allele frequency combined.
31     8.  Estimated allele frequency in combined.
32     9.  ML estimate of Fst (mean)
33     10. Lower bound of the 95% credible interval
34     11. Upper bound of the 95% credible interval
35
36required: t,target     -- a zero bases comma separated list of target individuals corrisponding to VCF columns
37required: b,background -- a zero bases comma separated list of background individuals corrisponding to VCF columns
38required: f,file a     -- a proper formatted VCF file.  the FORMAT field MUST contain "PL"
39required: d,deltaaf    -- skip sites were the difference in allele frequency is less than deltaaf
40
41
42Type: statistics
43
44```
45
46
47
48
49
50# EXIT VALUES
51
52**0**
53: Success
54
55**not 0**
56: Failure
57
58# SEE ALSO
59
60
61
62[vcflib](./vcflib.md)(1)
63
64
65
66# OTHER
67
68## Source code
69
70[bFst.cpp](https://github.com/vcflib/vcflib/blob/master/src/bFst.cpp)
71
72# LICENSE
73
74Copyright 2011-2020 (C) Erik Garrison and vcflib contributors. MIT licensed.
75
76<!--
77  Created with ./scripts/bin2md.rb scripts/bin2md-template.erb
78-->
79