A (relatively) simple R script to convert a large genepop file into a Bayescan infile; based on several functions from the diveRsity R package.