Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert somalier format to VCF/PED #112

Open
adigenova opened this issue Apr 21, 2023 · 2 comments
Open

convert somalier format to VCF/PED #112

adigenova opened this issue Apr 21, 2023 · 2 comments

Comments

@adigenova
Copy link

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

@brentp
Copy link
Owner

brentp commented Apr 21, 2023

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.

@adigenova
Copy link
Author

Cool, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants