Hi there, thank you for developing this great tool.
I am using PLINK2 to obtain the PLINK BED file as the input to construct sparse GRM.
However, I encountered the conflict of frequency filtering. The problem is that even though I've already specified `maf` threshold, it turned out that there were still variants with minor allele frequency < 0.01.
Code:
```
threadNum=32
memNum=5000 # in Mb
##
LD_window_size=50
LD_window_step=10
LD_r2=0.1
maf=0.01
mac=1 ## None
geno=0.1
hwe=1e-15
plink2 --bfile ../GWAS.plink.17K/ALL_germline.chr${id}.normed.vcf --keep ${sample_file} --indep-pairwise ${LD_window_size} ${LD_window_step} ${LD_r2} --maf ${maf} --mac ${mac} --geno ${geno} --hwe ${hwe} --threads ${threadNum} --memory ${memNum} --out ${output_path}/${output_prefix}
```
I'll really appreciate it if you could give me a hint.
Hongpu,
Best.
--
You received this message because you are subscribed to the Google Groups "plink2-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plink2-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/plink2-users/8fbdf55f-e69e-4015-b8af-a522777e5eecn%40googlegroups.com.