omerwe / polyfun

PolyFun (POLYgenic FUNctionally-informed fine-mapping)
MIT License
85 stars 21 forks source link

Changed bgen processing loop #121

Closed jerome-f closed 2 years ago

jerome-f commented 2 years ago

The looping behavior in processing bgen files. Changed from bfile.rsids() to bfile.fetch(self.chr,locus_start,locus_end) reduces number of looping iteration.

omerwe commented 2 years ago

Thanks for this pull request!