This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Removing SNPs with the count allele in 5 (insertion), 6 (deletion) or 7(allele from a reference panel)

Hi,

I have imputed data and renamed the integers allele to the letters by using the plink falg of "allele 1234".

However, I have noticed that there are 5 (insertion), 6 (deletion) or 7(allele from a reference panel) not changing to the letters.

1

Can anyone know how to delete this SNPs in plink or any other software?

Thank you.

plink snp imputation unix gwas

1 answer

 awk '($4 ~/^[ATGC]$/ && $5 ~/^[ATGC]$/)'

Thank you for your help!

Log in to answer this question.