PFST(1)
β¨ PFST(1) β like, the pFst page, bestie π
okay so this is the manual page for pFst, from the pFst (VCF statistics) crew π§ sit down, grab a strawberry, we're doing allele frequencies today π
πΈ NAME πΈ
pFst β no cap, that's the whole name π
π¦ SYNOPSIS π¦
pFst βtarget 0,1,2,3,4,5,6,7 βbackground 11,12,13,16,17,19,22 βfile
my.vcf βdeltaaf 0.1 βtype PL
like. that's it. that's the vibe check β
π DESCRIPTION π
pFst is a probabilistic approach for detecting differences in allele frequencies between two populations. literally what it says on the tin, periodt π
β¨ OPTIONS β¨
pFst is a likelihood ratio test (LRT) quantifying allele frequency differences between populations. okay so here's the tea, bestie:
- by default the LRT uses the binomial distribution π
- if Genotype likelihoods are provided it uses a modified binomial that weights each allele count by its certainty (so it's like, the binomial but it knows how sure it is, iconic) π
- if
typeis set to'PO'the LRT uses a beta distribution to fit the allele frequency spectrum of the target and background. PO requires theADandDPgenotype fields and requires at least two pools for the target and background π«Ά - the p-value calculated in
pFstis based on the chi-squared distribution with one degree of freedom π
Output : 3 columns : (yes, exactly three, no extras, we're minimal here)
seqidpositionpFstprobability
now the flags, and there are a lot of them, so lock in π₯
-t,--targetβ required. argument: a zero based comma separated list of target individuals corresponding to VCF columns π―-b,--backgroundβ required. argument: a zero based comma separated list of background individuals corresponding to VCF columns π―-f,--fileβ required. argument: a properly formatted VCF. (emphasis on properly, bestie, we will know) π-y,--typeβ required. argument: genotype likelihood format ; genotypes:GP,GLorPL; pooled:POπ§¬-d,--deltaafβ optional. argument: skip sites where the difference in allele frequencies is less thandeltaaf, default is zero π«-r,--regionβ optional. argument: a tabix compliant genomic range :seqidorseqid:start-endπΊοΈ-c,--countsβ optional. switch : use genotype counts rather than genotype likelihoods to estimate parameters, default false π
Type: statistics π
π EXIT VALUES π
0β Success π₯³not 0β Failure π
not me checking exit codes like they're a text from my crush.0means they replied.not 0means. yeah. π
π SEE ALSO π
vcflib(1) β go read that one too, it's giving connected universe π¦
π OTHER π
π LICENSE π
Copyright 2011-2024 (C) Erik Garrison and vcflib contributors. MIT licensed. Copyright 2020-2024 (C) Pjotr Prins.
π AUTHORS π
Erik Garrison and vcflib contributors.
and that's the whole page, bestie!! this one shipped as pFst (vcflib) β that's the source/version tag living down in the footer, and the page itself is dated PFST(1) up top like a lil timestamp on the whole thing π«Ά ily, go genotype something responsibly β¨π
π
π¦ where this page comes from
- debian trixie: libvcflib-tools 1.0.12+dfsg-1 Β· MIT
- ubuntu questing: libvcflib-tools 1.0.12+dfsg-1
- ubuntu resolute: libvcflib-tools 1.0.12+dfsg-2 Β· MIT
- ubuntu stonking: libvcflib-tools 1.0.12+dfsg-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms