mcveanlab / mccortex

De novo genome assembly and multisample variant calling
https://github.com/mcveanlab/mccortex/wiki
MIT License
113 stars 25 forks source link

mmap failing for large populations #17

Closed noporpoise closed 9 years ago

noporpoise commented 9 years ago

mmap() failing for very large files:

[src/graph/graph_reader.c:690] Error graph_files_merge(): Cannot memory map file: graph.ctx [Cannot allocate memory]

Should try using fseek / fread / fwrite in blocks of ~10,000 kmers.