Hi everyone,
How can I compute hierarchical Fst with Bhatia's/Hudson's estimator using a vcf as input?
My data is structured like this: there are individuals within sampling sites, and sampling sites within groups. My vcfs contain SNP data (~1000 loci for ~250 individuals). I want to compute Fst among sampling sites within groups, AND Fst among groups.
Ideally I could do this in R. I've seen the KRIS package for this, but it can only compare two populations at a time. Multiple authors have mentioned using "custom scripts" to do this but have not published them. I am currently waiting to hear back from one.
I've also looked into using angsd but I'm struggling to understand the workflow for this as it is primarily used for genotype likelihood data. I think I could generate genotype likelihoods with my vcf, and then create an SFS and then the Fst function? But I'm really not sure- haven't used this software before.
Lastly, I think plink might work? But again, I'm struggling to figure out how to write out the command.
Any help would be appreciated! Thanks so much.
fst
r
vcf
bhatia
hudson