Question: Calculate minor allele frequencies with effect allele frequencies in GWAS

1

rk •

**10**wrote:Hi,

I just wanted to check that I am thinking about the right way. My final aim is to convert z-scores to betas for my GWAS. I need the minor allele frequencies for my SNPs for the equation to convert z-scores to betas but I only have effect allele frequencies in my GWAS.

Wouldn't the minor allele frequency just be (Assuming biallelic SNPS):

```
1 - effectallelefreq if A1freq>0.5 and maf=eaf if eaf<0.5
```

Thank you!

Logic looks OK to me.

9.7k