samtools / bcftools

This is the official development repository for BCFtools. See installation instructions and other documentation here http://samtools.github.io/bcftools/howtos/install.html
http://samtools.github.io/bcftools/
Other
649 stars 240 forks source link

Documentation for the output of bcftools stats dosage r-squared #2049

Open YuqinGu-bio opened 9 months ago

YuqinGu-bio commented 9 months ago

I have been using bcftools stats, but I'am confused about the "Genotype concordance by non-reference allele frequency (SNPs) dosage r-squared". When I set --af-bins "0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.1, 0.15, 0.2, 0.25, 0.5, 1" ,the output as bellow. 图片 1 but set --af-bins "0, 1", the output dosage r-squared was 0.8312, which was larger than the 0.5-1 bin, I want to know the calculation method of "Genotype concordance by non-reference allele frequency (SNPs) dosage r-squared" and the reason for above. 图片 2