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 format a --filterSites file? #66

Open
TeresaPegan opened this issue Dec 2, 2022 · 1 comment
Open

How to format a --filterSites file? #66

TeresaPegan opened this issue Dec 2, 2022 · 1 comment

Comments

@TeresaPegan
Copy link

Hi! I would like to use the --filterSites argument with PCANGSD but I can't find anywhere that describes how to formate the file passed to this argument.

Based on the code and a little bit of troubleshooting, I think it looks like it's supposed to be similar to the ind sites file where sites are included or excluded on the basis of a file of 0s and 1s. So, if I have a beagle file with 10 SNPs in it and I only want to use the latter half, is this what the --filterSites file should look like?

0
0
0
0
0
1
1
1
1
1

Thanks,
-Teresa

@Rosemeis
Copy link
Owner

Rosemeis commented Dec 5, 2022

Hi Teresa,

Yes, you are right! And sorry for the documentation not being up to date.

Best,
Jonas

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