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

No Mmap option #114

Open
kose-y opened this issue Dec 7, 2021 · 0 comments
Open

No Mmap option #114

kose-y opened this issue Dec 7, 2021 · 0 comments

Comments

@kose-y
Copy link
Member

kose-y commented Dec 7, 2021

Mmap used in SnpArrays.jl currently allocates virtual memory as large as the bed file size. This normally would not be a serious issue, but when virtual memory is limited by external option (e.g., on Hoffman2), this seriously limits the possibility of running on large bed files. I think it is preferable to provide an option to run it without mmap, especially for GWAS-like applications. In particular, for GWAS-like applications, it will be relatively simple to create something like VariantIterator and ref_allele_dosage!() in BGEN.jl, without using mmap. A similar interface is also planned for PGEN.jl.

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

1 participant