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

how to set the window size and step size for SNP files #111

Open
hjt1129 opened this issue May 10, 2024 · 3 comments
Open

how to set the window size and step size for SNP files #111

hjt1129 opened this issue May 10, 2024 · 3 comments

Comments

@hjt1129
Copy link

hjt1129 commented May 10, 2024

hi,
we have SNP data, how to calculate xpehh value within specific window size and step size. i found the "--pi", but it seem not work when set it with following comand: selscan --xpehh --vcf vcf.file --vcf-ref vcf_ref.file --map map.file --threads 8 --pi --pi-win 30000 --out out.file

@szpiech
Copy link
Owner

szpiech commented May 10, 2024 via email

@hjt1129
Copy link
Author

hjt1129 commented May 11, 2024

hi,
Thanks for your reply. No, i just want to calculate the whole genome VCF in windows, like that calculate Fst using VCFTOOLS in windows and steps. So it seems unachievable for XPEHH as you said. One more question, i see the norm script which has the function to normlize xpehh values with windows by "--bp-win" parameter, what's the underlying roles for normalizaton? and the columums with "gt the fraction of XP-EHH scores >2" and "lt the fraction of XP-EHH scores < -2" means the frequency of XP-EHH scores >2 and frequency of XP-EHH scores < -2, respectively?

@szpiech
Copy link
Owner

szpiech commented May 11, 2024 via email

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