Closed lrousselet closed 6 years ago
Thanks Louis! Good catch! I slightly modified your fix because df_annotations had to be modified in several places...
Best,
Omer
On Fri, Oct 26, 2018 at 4:16 AM Louis Rousselet notifications@github.com wrote:
When some SNPs are filtered after loading the *.bed file the error "Incorrect number of SNPs in annot" occurs. It's due to the annot file which is not filtered to reflect the new SNP list. This commit corrects that by filtering the annot file used in ldScoreVarBlocks
You can view, comment on, or merge this pull request online at:
https://github.com/omerwe/S-PCGC/pull/1 Commit Summary
- corrects the bug occurring when SNPs are filtered
File Changes
- M pcgc_r2.py https://github.com/omerwe/S-PCGC/pull/1/files#diff-0 (4)
Patch Links:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/omerwe/S-PCGC/pull/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AJog88RhYrC5tyATea1oEYTNmABmdfJ1ks5uosTCgaJpZM4X7vt2 .
When some SNPs are filtered after loading the *.bed file the error "Incorrect number of SNPs in annot" occurs. It's due to the annot file which is not filtered to reflect the new SNP list. This commit corrects that by filtering the annot file used in ldScoreVarBlocks