C++ version of SNPHarvester