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

creating annotations #27

Closed
aselewa opened this issue Mar 5, 2020 · 2 comments
Closed

creating annotations #27

aselewa opened this issue Mar 5, 2020 · 2 comments

Comments

@aselewa
Copy link

aselewa commented Mar 5, 2020

Hi,

Thanks for creating this awesome tool. I am following the wiki for creating annotations (https://github.com/omerwe/polyfun/wiki/2.-Using-and-creating-functional-annotations).

I think this page is missing the fact that polyfun.py also looks for files in the form of annot..l2.M. The tutorial says we only need 22 files but we also need the .M file for each chromosome. polyfun.py will result in a FileNotFoundError if the .M file is not present.

Best,
Alan

@aselewa
Copy link
Author

aselewa commented Mar 5, 2020

I solved the issue by summing the columns of the annotation files per chromosome. I know its an easy thing for the user to do, but I think compute_ld_score should do this for consistency with the original ldsc method.

Best,
Alan

@aselewa aselewa closed this as completed Mar 5, 2020
@omerwe
Copy link
Owner

omerwe commented Mar 6, 2020 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