I was wondering if there is a tool/script/program that randomly generates GWAS data. The purpose of such a tool would be to use it for educational purposes. So you generate some random .ped, .map and other filetypes. Various distributions like the MAF of all the SNPs, X-Chromosome classificaiton error rates and so on could be set before generating the data. General stuff one can then filter out with plink or similar software to increase the quality of the data.
Then a student would analyze these random files in plink and I already know what the outcome should be, therefore I can see right away if he or she did it right.
Does anyone know if such a program already exists? Or is there a somewhat easy way to program this myself?
Maybe it works if I use existing gene-data from NCBI where I use the given MAF to generate n variations the alleles based on that? Just some random SNPs from dbSNP?