The problem is that line https://github.com/UIUCSinhaLab/GEMSTAT/blob/master/src/seq2expr.cpp#L331 ( Update: now https://github.com/UIUCSinhaLab/GEMSTAT/blob/master/src/seq2expr.cpp#L340 ) needs to change the "false" to "true". Needs to be fixed on both main branches.