Hi,

There were already some discussion started to predict sample ethnicity from population genetic studies (1000G, gnomAD) e.g. https://www.biostars.org/p/300930/#300933 who used the PC from 1000G to create a predicitve model.

However I was wondering if there are already tools/R packages that take as input a vcf file and outputs the ethnicity of the samples ? 

Thanks
Not R, but I would suggest taking a look at [peddy][1].


  [1]: https://github.com/brentp/peddy