Wednesday, December 2, 2026

Imputing ancient samples

 It’s been a while since my last post. I’ve been learning some new things: imputing and phasing ancient samples using the software GLIMPSE. The process is quite intensive; processing about 300 samples took over a week of computing time. I also looked into calculating IBD (Identity By Descent) for ancient samples using a dedicated program called ancIBD, but I couldn't get it to work—not even with the test dataset provided by the author. The program kept crashing within a Cython component that had been compiled into an object file via a C compiler. I intend to look into this further later on, but since I wanted to test the dataset prepared for GLIMPSE, I opted to use Beagle for the IBD calculations for the time being.


For the GLIMPSE test dataset, I selected the following groups:


- Ancient Finns from a new study released this autumn.

- Iron Age and Early Medieval Estonians—though these ultimately proved to be of insufficient quality for imputation.

- Viking Age samples from Gotland.

- Early Viking Age samples from Saaremaa.

- Early Medieval Meryan samples.

- Ancient Sámi samples from Ostrobothnia, Finland—these, too, were of insufficient quality for imputation.

- Gothic samples from Poland.


A summary of the results is provided below. I won't justify the specific selection of samples, as the primary goal was simply to set up a computational environment for processing ancient samples.



















Compared to Finnish group:








Early Medieval Meryans samples were considerable good, but they didn't get IBD matches with Finns, although their allele distribution might be similar to the Finns.