Impute missing GT based on AF ?
0
0
Entering edit mode
8.6 years ago
stevenlang123 ▴ 210

Hello, I have a multi-sample VCF file and I would like to replace missing genotypes with whatever allele that has an AF > 0.5. For example: 2 2 2 2 2 2 -1 2 2 -1 1 2 2 would go to 2 2 2 2 2 2 2 2 2 2 1 2 2.

Any suggestions on how to do this?

Thanks in advance

-Steve

R SNP next-gen-sequencing • 1.3k views
ADD COMMENT

Login before adding your answer.

Traffic: 3017 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6