genetics-statistics / GEMMA

Genome-wide Efficient Mixed Model Association
https://github.com/genetics-statistics/GEMMA
GNU General Public License v3.0
316 stars 122 forks source link

LMM GXE bimbam read problem #241

Open tplinderoth opened 3 years ago

tplinderoth commented 3 years ago

There appears to be a typo in the lmm.cpp file for gemma 0.98.4 (and some older versions, but not sure how far back it goes). In the line defining infilen in LMM::AnalyzeBimbamGXE, auto infilen = file_gene.c_str(), I think this should be auto infilen = file_geno.c_str(), i.e. file_gene should be file_geno. Otherwise, there is a problem reading the bimbam input.