This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Impute missing GT based on AF ?

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

0 answers

No answers yet.

Log in to answer this question.