Entering edit mode
11 months ago
shersky
•
0
I want to filter "1000 genome vcf file" to keep only common SNPs. Can someone explain the difference between
1) Filtering by allele frequency AF greater than 0.05 (which I found yields more variants)
bcftools view -i 'AF>0.05' variants.vcf -o common_variants.vcf
2) Filtering by MAF greater than 0.05
bcftools view -i 'MAF>0.05' variants.vcf -o common_variants.vcf
Which one is correct?