Often especially ancient samples have poor quality, although sample number can be reasonable. I made a simple Linux shell script making an average sample from a sample group, giving possibility to increase sample quality to a reasonable level for analyses based on allele frequencies. The script reads EIGENSTRAT-format and the result is formed by picking alleles randomly from pooled samples. Unfortunately Linux shell scripts don't support indexed files and I had to make some compromises to keep run time reasonable. The result of this script will not work with analyses based on IBD's or principal components, so it is not possible to use it f.ex. as an input file of the popular Eurogenes G25 test, but this should work with all analyses on Dodecad platform. If someone is not familiar with these semantics it is very possible that the outcome is disappointing. The script is freely available here. I forgot, you need also a rs-id file and it is available here. It should be unzipped to the same directory with the script. Some results below using available academic samples and based on my own models:
Hungarian Bronze Age
Polish Bronze Age
Estonian Iron Age
edit 8.5. 15:30
The script edited so that it will accept also rs-id's in input, the original version accepted only concatenation id's (chr:location). Please notice that only hg19/GRCh37 mappings are possible. New version is available here.