PDA

View Full Version : Genetic GPS



codex
04-09-2026, 01:28 AM
While k36 mapping was popular and we now have a new and 'improved' k15 mapper from exploreyourDNA (which is an utter joke) somehow this scientific tool from the University of California, Los Angeles has fallen through the cracks and not anyone has done it here except for me :

http://genetics.cs.ucla.edu/spa/

You can use the linux command line on linux itself or you can use windows or use macosx. You can also use linux on windows using the WSL subsystem. There seems to be this misconception that only geeks can use the linux command line but it is not true

It works with 23andme files but one can convert AncestrDNA files to 23andme format on the linux command line like this :

awk 'BEGIN {FS="\t"; OFS="\t"} !/^#/ && $4 != "0" && $4 != "-" {print $1, $2, $3, $4$5}' ancestry.txt > cleaned_23andme.txt

So you go here and download SPA for your system : windows, mac or linux and you download either the world spatial model or the Europe one depending on your background :

http://genetics.cs.ucla.edu/spa/download.html

You then unpack the zip file and the tar.gz file.

Next you read the manual :

http://genetics.cs.ucla.edu/spa/spa_manual.pdf

^you can scroll down to the for 23andMe user section :


For 23andMe User

Since version 1.10, SPA software supports prediction of ancestral origin for 23andMe users.
Given the genotype file generated from 23andMe, one can run the following command to get
the prediction

spa --mfile 23andMeFile.txt --model-input europe.model --location-output 23andMe.loc

The result of the above program run will be two files: 23andMe.loc and 23andMe.loc.html.
One can double click the HTML file 23andMe.loc.html, which will redirect to google map to
show the predicted ancestral origin. Note that the prediction is usually within 500 kilometers
around the truth.

Note on linux and probably macosx you have to type :

./spa --mfile 23andMeFile.txt --model-input europe.model --location-output 23andMe.loc

instead of just "spa etc.."

For admixed individuals it can give two different ancestral origins for their parents instead of a single one for you like this :

spa -n 2 --mfile 23andMeFile.txt --model-input europe.model --location-output 23andMe.loc

or

./spa -n 2 --mfile 23andMeFile.txt --model-input europe.model --location-output 23andMe.loc

Once you run that command you just open up the resulting 23andMe.loc.html in a web browser. I recommend Chrome or Chromium on linux.

Both my parents are Celto-Germanic so I don't consider myself admixed. These are my results :


https://i.postimg.cc/pLn3NftX/meplot.png

^ My ancestral origins plot near Chiddingfold England.

Instead of messing around with mentally retarded Polack 'science' you should give real science here a chance and just do it !

If you are surprised by your results then your paper trail is likely wrong rather than the science. This is accurate to within 500 kilometers and Cornwall and Devonshire are probably within 500 kilometers of my results and XrenophobicPrussian said I can pass in Cornwall and Devonshire.

celticdragongod
04-09-2026, 01:56 AM
While k36 mapping was popular and we now have a new and 'improved' k15 mapper from exploreyourDNA (which is an utter joke) somehow this scientific tool from the University of California, Los Angeles has fallen through the cracks and not anyone has done it here except for me :

http://genetics.cs.ucla.edu/spa/

You can use the linux command line on linux itself or you can use windows or use macosx. You can also use linux on windows using the WSL subsystem. There seems to be this misconception that only geeks can use the linux command line but it is not true

It works with 23andme files but one can convert AncestrDNA files to 23andme format on the linux command line like this :

awk 'BEGIN {FS="\t"; OFS="\t"} !/^#/ && $4 != "0" && $4 != "-" {print $1, $2, $3, $4$5}' ancestry.txt > cleaned_23andme.txt

So you go here and download SPA for your system : windows, mac or linux and you download either the world spatial model or the Europe one depending on your background :

http://genetics.cs.ucla.edu/spa/download.html

You then unpack the zip file and the tar.gz file.

Next you read the manual :

http://genetics.cs.ucla.edu/spa/spa_manual.pdf

^you can scroll down to the for 23andMe user section :


For 23andMe User

Since version 1.10, SPA software supports prediction of ancestral origin for 23andMe users.
Given the genotype file generated from 23andMe, one can run the following command to get
the prediction

spa --mfile 23andMeFile.txt --model-input europe.model --location-output 23andMe.loc

The result of the above program run will be two files: 23andMe.loc and 23andMe.loc.html.
One can double click the HTML file 23andMe.loc.html, which will redirect to google map to
show the predicted ancestral origin. Note that the prediction is usually within 500 kilometers
around the truth.

Note on linux and probably macosx you have to type :

./spa --mfile 23andMeFile.txt --model-input europe.model --location-output 23andMe.loc

instead of just "spa etc.."

For admixed individuals it can give two different ancestral origins for their parents instead of a single one for you like this :

spa -n 2 --mfile 23andMeFile.txt --model-input europe.model --location-output 23andMe.loc

or

./spa -n 2 --mfile 23andMeFile.txt --model-input europe.model --location-output 23andMe.loc

Once you run that command you just open up the resulting 23andMe.loc.html in a web browser. I recommend Chrome or Chromium on linux.

Both my parents are Celto-Germanic so I don't consider myself admixed. These are my results :


https://i.postimg.cc/pLn3NftX/meplot.png

^ My ancestral origins plot near Chiddingfold England.

Instead of messing around with mentally retarded Polack 'science' you should give real science here a chance and just do it !

If you are surprised by your results then your paper trail is likely wrong rather than the science. This is accurate to within 500 kilometers and Cornwall and Devonshire are probably within 500 kilometers of my results and XrenophobicPrussian said I can pass in Cornwall and Devonshire.

Does your English ancestry trace to Anglo-Saxon times or pre-Anglo-Saxon times? The Anglo-Saxons weren't the first people in Britain after all.

codex
04-09-2026, 02:26 AM
Does your English ancestry trace to Anglo-Saxon times or pre-Anglo-Saxon times? The Anglo-Saxons weren't the first people in Britain after all.

Even Cornwall has some significant anglo-saxon admixture and clusters genetically closer to southeast England rather than anywhere in Scotland and Ireland. 'Celtic' is just a culture and nothing else. This tool does not provide the answer to your question so we have to use common sense.

Anyway, I loathe to use G25 but that is a tool that can at least attempt to answer your question. The G25 ancients sheet give me this :

codex_scaled Distance: 0.9398% / 0.00939833 | R4P
33.8 Netherlands_LIA
28.8 Germany_Liebenau_Saxon_EMedieval
19.4 France_MBA
18.0 Ireland_EBA.SG

The Netherlands_LIA is the clearest and most pure north sea Germanic signal there is and the Frisians were indistinguishable from the Angle-Saxons.

The France_MBA is a celtic-like signal and so is the Ireland_MBA is also celtic-like signal but in reality both might be Bell Beaker.