FoldGenomics is a project mainly written in C and C++, it's free.
Partition the reference genome into blocks of uniq and non-uniq positions on k-mer reads
see foldGenomics.ppt for instructions