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.
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.