AlexTISYoung / snipar

Imputation of parental genotypes, inference of sibling IBD segments, family based GWAS, and polygenic score analyses.
MIT License
24 stars 5 forks source link

Imputing missing parental genotype #22

Closed jtahir closed 2 years ago

jtahir commented 2 years ago

Hi there I have a question. I have genetic data of female parent, F1s, but missing the male parent. How can I proceed to impute the missing parent data? Do i need to calculate IBDs first. My data is in the following format;

CHROM POS Parent 1 Parent2 F1_1 F1_2 ........F1_199 LG1 68111 A/A A/T A/C ......... A/A .. LG29 17,858,85 A/T A/A A/T ......... A/A

There are likely abxaa makers, or vice versa, but its also likely we have abxab calls thanks

AlexTISYoung commented 2 years ago

You don't need to infer IBD if you only have parent offspring data. I recommend reading the guide and running through the tutorial: https://snipar.readthedocs.io/en/latest/guide.html https://snipar.readthedocs.io/en/latest/tutorial.html

On Mon, 5 Sept 2022 at 11:25, jtahir @.***> wrote:

Hi there I have a question. I have genetic data of female parent, F1s, but missing the male parent. How can I proceed to impute the missing parent data? Do i need to calculate IBDs first. My data is in the following format;

CHROM POS Parent 1 Parent2 F1_1 F1_2 ........F1_199 LG1 68111 aa ab aa ab .. LG29 17,858,85 ab aa aa aa

thanks

— Reply to this email directly, view it on GitHub https://github.com/AlexTISYoung/snipar/issues/22, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQQS6PUO32KOHVYFZU3CWLV4XDAZANCNFSM6AAAAAAQE3GHMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jtahir commented 2 years ago

Hi I am trying to run impute.py scrip on the following subset file but its not working. Could it be I don't have age or sex file for the siblings. https://drive.google.com/file/d/143TUSecFigU7KRZmU16Y7rx7tl8bQAlW/view?usp=sharing https://drive.google.com/file/d/143TUSecFigU7KRZmU16Y7rx7tl8bQAlW/view?usp=sharing

AlexTISYoung commented 2 years ago

You need to have your genotypes in .bed or .bgen file format.

On Mon, 5 Sept 2022 at 12:08, jtahir @.***> wrote:

Hi I am trying to run impute.py scrip on the following subset file but its not working. Could it be I don't have age or sex file for the siblings.

https://drive.google.com/file/d/143TUSecFigU7KRZmU16Y7rx7tl8bQAlW/view?usp=sharing

https://drive.google.com/file/d/143TUSecFigU7KRZmU16Y7rx7tl8bQAlW/view?usp=sharing http://url

— Reply to this email directly, view it on GitHub https://github.com/AlexTISYoung/snipar/issues/22#issuecomment-1236856580, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQQS6ILCGIJW3CBDQPYEH3V4XIBFANCNFSM6AAAAAAQE3GHMY . You are receiving this because you commented.Message ID: @.***>