snp_index input file: chr3_emaize.genoMat, merbin_infw.txt (with the first row removed) g++ -O3 bin.c -o bin g++ -O3 preproc.cpp -o preproc ./bin ./preproc