I have two plink files, one containing the actual SNPs and one containing the result of imputing the same SNPs using a much smaller subset.
What would be the simplest way of getting the r^2 (r squared) scores?
plink has a merge mode that calculates a diff file, but I do not know if it outputs any statistics: http://pngu.mgh.harvard.edu/~purcell/plink/dataman.shtml#merge
The R package snpStats can read plink data, but it does not seem to be able to compare two SNP sets as far as I can see: http://www.bioconductor.org/packages/2.12/bioc/html/snpStats.html
There is a program called http://genome.sph.umich.edu/wiki/CalcMatch that seems to be able to calculate these stats, but require the files to be in merlin format which seems totally obscure and like a hassle converting to it in my pipeline. But might be the best option so far. A conversion script is here: http://www.pypedia.com/index.php/bioinformatics_format_convert