convert somalier format to VCF/PED
adigenova opened this issue · comments
Dear @brentp,
thanks for the awesome tool. I'm just wondering if there is a way to convert *.somalier file to VCF/PED for performing additional analysis?
Thanks in advance,
Best regards,
Alex
Hi Alex,
that is possible, but you'd have to do some coding yourself. You can see how to parse the somalier files in python here: https://github.com/brentp/somalier/blob/master/scripts/ancestry-predict.py
You could modify that to then output a simple VCF.
Cool, thanks!