Question: Vcftools Fst Calculation For Single Snps
3
gravatar for klimklam
6.9 years ago by
klimklam30
klimklam30 wrote:

Hi there, I would like to obtain the Weir & Cockerham Fst for single SNPs from my vcf files for wished populations. I thought to use vcftools as it seemd to be straight forward, however it only gives me the 'mean Fst' and 'weighted Fst' for all SNPs in my file. I used the following command: vcftools --vcf my.vcf --weir-fst-pop pop1.txt --weir-fst-pop pop2.txt

Is there any way to make vcftools to give me a list with all single Fst values???

Thx, Felix

vcftools fst • 5.2k views
ADD COMMENTlink written 6.9 years ago by klimklam30
1
gravatar for Adam
6.9 years ago by
Adam990
United States
Adam990 wrote:

These are contained in an output file with the suffix '.weir.fst'.

ADD COMMENTlink written 6.9 years ago by Adam990
0
gravatar for klimklam
6.9 years ago by
klimklam30
klimklam30 wrote:

Problem solved with the help of Adam Auton via the vcftools-mailing list.

Apparently if --out is not specified (as in my case) there is automatically a out.weir.fst created in the current directory. By specifying --out you can set a certain path/name to the out file.

Best

ADD COMMENTlink written 6.9 years ago by klimklam30
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1525 users visited in the last hour