WCFST(1)
β¨ WCFST(1) β¨ β aka wcFst, the wcFst (VCF statistics) era π
okay bestie, sit down, hydrate, because this one is a whole moment. This is the manual page for wcFst, and yes it's filed under section 1 of the manual, so it's a user command. Let's get into it π«Ά
π NAME π
wcFst β that's it, that's the name, short and iconic π
π¦ SYNOPSIS π¦
wcFst β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
(yes those are the real dashes, do not come for me, copy it exactly as written π)
πΈ DESCRIPTION πΈ
wcFst is Weir & Cockerham's Fst, computed for two populations. That's the whole vibe. π₯
Now here's the part everyone gets weird about: negative values are VALID. Not a bug, not a glitch, not your pipeline being messy. They're sites that can be treated as zero Fst. Periodt. π―
Want the lore? Go read Evolution, Vol. 38 N. 6 Nov 1984. Specifically, wcFst uses equations 1, 2, 3, 4. iykyk π
π OPTIONS π
Output : 3 columns :
...okay so the doc says 3 columns and then lists five things, and we're just going to accept that as part of its charm π anyway:
seqidpositiontarget allele frequencybackground allele frequencywcFst
t,targetβ required β argument: a zero based comma separated list of target individuals, corrisponding to VCF columns. Like, zero-based, bestie, do not count from one, I'm begging π₯Ίb,backgroundβ required β argument: a zero based comma separated list of background individuals, corrisponding to VCF columns.f,fileβ required β argument: a properly formatted VCF. Feed it right or it will simply not eat πy,typeβ required β argument: the genotype likelihood format; options are genotype :GT,GL,PL,GP. Pick one, pick wisely πr,regionβ optional β¨ argument: a tabix compliant genomic range:seqidorseqid:start-endd,deltaafβ optional β¨ argument: skip sites where the difference in allele frequencies is less thandeltaaf, default is zero. So if you leave it alone, nothing gets skipped π
Type: statistics
π EXIT VALUES π
0β Success π slay, it worked- not
0β Failure π something went sideways
π₯ SEE ALSO π₯
π OTHER π
(the catch-all corner of the page, we love her)
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 thing, bestie π this page comes to you from the vcflib source, and it's the wcFst page, living its best life in section 1 of the manual. go forth and compute Fst 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