Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FST details (by SNP FST) not printed #102

Open
TaniaPGue opened this issue Apr 3, 2024 · 4 comments
Open

FST details (by SNP FST) not printed #102

TaniaPGue opened this issue Apr 3, 2024 · 4 comments

Comments

@TaniaPGue
Copy link

Hi!
I've been trying to get FST estimates per variant. I'm using the flag "fstdetailsname" as shown below, which I thought would do that, but I still only get the overall FST estimate. I tried other configurations but so far I only get that one line of output.
I would be very grateful for any help on this :) thank you!

My par file looks as follows:
genotypename: phased_panel.snpOnly.targetPopFiltered.ped
snpname: phased_panel.snpOnly.targetPopFiltered.map
indivname: AMR_EAS_EUR_poplist.ind
poplistname: AMR_EAS.EIGEN.list
fstonly: YES
fstdetailsname: FSTdetails.out
phylipoutname: FSTmatrix.phy

Output:
Fst statistics between populations: fst fstjack std error Z snpnumber
F_st AMR EAS 0.004445 0.004445 0.000254 17.467 3595170

@bumblenick
Copy link

bumblenick commented Apr 3, 2024 via email

@TaniaPGue
Copy link
Author

Thank you so much! I tried that, but it still outputs the summarized FST to fstdetails. I checked the log file, which with the fstonly: NO, prints the eigenvalues but the FST statistics are the same as with using fstonly: YES i.e., still not by SNP. Thank you again, for any further ideas.
This is the section in the log file that is about FST:
population: 0 AMR 463
population: 1 EAS 464
number of blocks for block jackknife: 32

end of Fst statistics between populations

fst *1000:
A E
A 0 6
E 6 0

std. err. * 1000000:
A E
A 0 294
E 294 0

@bumblenick
Copy link

bumblenick commented Apr 4, 2024 via email

@TaniaPGue
Copy link
Author

We both are. Thank you so much for your help! I'll be on the lookout for the new release :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants