Foreign ethnic group calculator
I welcome suggestions for adding other ethnic groups from outside Europe, especially those that would help reduce the gap with continental and northern Europeans. Southern Europeans already have relatively good distances.
Code:
Ashkenazi_Jew:Ashkenazi_Russia:Ashk_RU_RU_3,0.103579,0.132019,0.003017,-0.043928,0.011079,-0.01255,-0.00705,-0.004846,0.011249,0.011116,-0.004547,-0.003447,0.004608,-0.008395,-0.003393,0.002784,-0.000391,-0.0019,-0.000377,-0.001751,-0.003494,0.000989,0.003081,0.004097,-0.000718
Ashkenazi_Jew:Ashkenazi_Belarussia:Ashk_BY_BY_4,0.097888,0.138112,-0.005657,-0.030685,0.012925,-0.013108,-0.00517,-0.002077,0.000818,0.014943,0.001949,0.00045,0.000892,0.001101,-0.000679,0.003182,0.001825,0.00038,0.005405,0.003252,-0.002246,-0.000866,0.003574,0.005302,0.001437
Ashkenazi_Jew:Ashkenazi_Poland:Ashk_PL_PL_25,0.103579,0.135065,-0.003394,-0.039083,0.015695,-0.00753,0.00047,-0.000231,0.005318,0.008747,0.004872,-0.002548,0.00446,0.005505,-0.0076,0.001193,0.009257,0.004941,-0.001508,0.002376,0.001123,0.001607,-0.001109,0.007471,0.003592
Romani:Roma_Balkans:GS000014352,0.087644,0.054839,-0.07203,0.026809,-0.026466,0.013666,-0.00094,0.004154,0.016771,0.017312,-0.002761,0.00015,0.002825,0.006193,-0.009093,-0.004243,0.003651,0.005068,0.000754,-0.002501,-0.001996,-0.002226,-0.001849,-0.001325,-0.003832
Romani:Roma_Balkans:GS000014325,0.088782,0.05687,-0.073161,0.020349,-0.018157,0.014781,-0.003525,0.001385,0.018407,0.019317,0.001299,-0.001499,-0.000595,0.008395,-0.0095,-0.011403,0.013038,0.0019,-0.00088,0.007879,-0.000749,0.004081,-0.000493,-0.002892,0.001557
Romani:Roma_Bilbao:16_04,0.081953,0.060932,-0.064488,0.028424,-0.010771,0.024263,0.006345,-0.000231,0.013294,0.014943,-0.00406,0.001649,0.001487,0.006331,-0.004479,-0.014717,-0.004172,0.010895,0.001383,0.000375,-0.005116,0.004328,0.006655,-0.004579,-0.001197
Saami:GS000035025,0.103579,-0.04773,0.121433,0.083657,-0.018773,0.007251,0.005405,0.011307,0.00225,-0.033896,0.028093,-0.008243,0.021853,-0.017065,-0.008143,-0.008353,-0.015646,0.00114,-0.002137,-5e-04,0.019341,-0.003462,-0.006655,-0.001325,0.001557
Saami:saami11,0.110408,-0.052808,0.113136,0.078166,-0.015387,0.008088,0.008695,0.014076,0.005727,-0.030433,0.031991,-0.003147,0.020069,-0.026974,-0.003122,0.001989,0.004042,-0.00038,-0.008547,-0.002501,0.017968,0.001978,0,0.004458,0.00467
Saami:saami2,0.108132,-0.052808,0.11653,0.078489,-0.022466,0.005578,0.005875,0.008307,0.006545,-0.03262,0.020948,-0.006294,0.017542,-0.020506,-0.001357,-0.008618,-0.014212,-0.00076,-0.003142,0.008879,0.015722,0.006554,-0.000246,-0.002048,0.00012
Sardinian:HGDP01066,0.119514,0.168578,0.026021,-0.050065,0.066166,-0.020638,-0.002115,0.007384,0.049086,0.085286,-0.008119,0.018883,-0.028097,-0.015001,-0.013708,-0.010872,0.009518,0.005068,0.00729,-0.02151,-0.004991,-0.004081,-0.010353,-0.0194,0.000958
Sardinian:HGDP01075,0.124067,0.17264,0.031301,-0.05491,0.05878,-0.025379,-0.005875,0.004154,0.043564,0.077086,-0.005846,0.013488,-0.020664,-0.007844,-0.016965,-0.012198,0.010561,-0.002787,0.002891,-0.016008,-0.009358,-0.00507,-0.009737,-0.015785,0.005628
Sardinian:HGDP00674,0.124067,0.168578,0.036204,-0.046189,0.063704,-0.024263,-0.003055,-0.001154,0.042132,0.083282,0.002598,0.017085,-0.034043,-0.011836,-0.01045,-0.016441,-0.0103,-0.000633,0.004651,-0.018759,-0.003119,0.008037,-0.010969,-0.024823,0.003353
Berber:CanaryIslands_Guanche.SG:gun002_noUDG.SG,-0.056912,0.120848,-0.007165,-0.07429,0.020619,-0.039045,-0.038777,0.018922,0.070152,0.056311,0.012991,-0.002997,0.027205,-0.024084,0.020087,-0.011933,-0.008866,-0.021284,-0.040349,0.019509,-0.00836,-0.042289,0.034016,0.008917,0.008023
Berber:CanaryIslands_Guanche.SG:gun011_noUDG.SG,-0.044391,0.138112,-0.011691,-0.063954,0.02739,-0.034304,-0.034547,0.011769,0.069538,0.025513,0.010718,-0.009142,0.024826,-0.010872,0.026601,-0.020286,-0.009518,-0.013936,-0.055181,0.005878,-0.019091,-0.046741,0.026745,-0.006266,0.007065
Berber:CanaryIslands_Guanche.SG:gun012_noUDG.SG,-0.061464,0.133034,-0.000754,-0.074936,0.027697,-0.038487,-0.033136,0.002538,0.074856,0.028247,0.013316,-0.007943,0.01115,-0.021607,0.026737,-0.014054,0.015907,-0.015456,-0.055936,0.012381,-0.009982,-0.037096,0.024526,-0.006145,0.013771
Tatar:Tatar_Siberian:STA-309,0.078538,-0.170609,0.058077,0.02584,-0.044316,-0.005578,-0.004935,0.003923,-0.007772,-0.014397,-0.000487,-0.008093,0.006838,-0.030002,-0.005293,-0.003182,0.006128,-0.008742,0.002765,0.004502,-0.008235,0.001731,-0.002588,-0.001807,-0.00479
Tatar:Tatar_Siberian:STA-300,0.083091,-0.149283,0.05506,0.004522,-0.040931,-0.014781,0.00705,0.007384,-0.0045,-0.011116,-0.004384,-0.001049,0.005203,-0.026424,0,-0.003845,-0.009257,-0.003801,-0.00176,-0.00025,-0.009109,-0.007419,-0.008997,-0.000843,0.00455
Tatar:Tatar_Siberian:STA-304,0.08992,-0.113739,0.075047,0.01615,-0.03693,-0.004741,0.00611,0.012461,0.004704,-0.021868,0.003897,-0.002398,0.013825,-0.014175,-0.001221,-0.003713,-0.004172,-0.003294,0.000754,0.004377,-0.004617,0.001978,-0.001479,-0.002771,-0.004431
Phoenician:Lebanon_EjJaouze_Phoenician.SG:R12233.SG,0.080814,0.158423,-0.059585,-0.084626,-0.013233,-0.027331,-0.005875,-0.013615,-0.000614,0.001458,0.007145,-0.003597,0.015163,0.005367,-0.004614,-0.001989,-0.017471,0.005068,0.00176,0.001501,0.000873,0.004328,-0.008381,0.006145,-0.004191
Phoenician:Lebanon_Chhim_Phoenician.SG:R3473.SG,0.062603,0.146236,-0.056568,-0.081719,-0.005539,-0.032351,-0.002115,-0.004846,0.006545,0.002916,0.00406,0.005095,0.007879,0.004542,-0.000814,0.001591,-0.007302,0.002407,0.000126,-0.005127,-0.007612,0.011623,-0.002711,0.000843,-0.008143
Phoenician:Phoenician.Lebanon_Chhim_Phoenician.SG:R3477.SG,0.095611,0.145221,-0.039598,-0.085595,-0.005847,-0.037929,-0.008695,-0.006,-0.001023,0.010205,0.003085,-0.01079,0.010258,-0.001789,-0.005972,0.001061,-0.011343,-0.001267,-0.006788,-0.002126,-0.003619,0.00136,-0.003328,-0.003976,0.008861
Target: Defcon2_scaled
Distance: 4.2500% / 0.04250040
52.4 Sardinian
20.0 Ashkenazi_Jew
13.8 Saami
8.0 Romani
5.8 Berber
https://i.imgur.com/I9QAQLv.png