Dear all,
So I've tried using LDBlockShow on a QTL dataset to visualize the linkage blocks between biallelic SNPs.
I tested to observe the blocks before and after pruning to understand how the pruning took place and what it merged.
So I compared the R² and D' value obtained from bcftools +prune :
vcf_test.txt
vcf_test_annotated.txt
bcftools +prune -w 1 -a r2,LD vcf_test.vcf -O v -o vcf_test_annotated.vcf
and from LDBlockShow :
LDBlockShow -InVCF vcf_test.vcf -OutPut test_noprun_2Mb -SeleVar 2 -Region Chr01:1:2000000
ShowLDSVG -InPreFix test_noprun_2Mb -OutPut test_noprun_2Mb_Rsq -ShowNum
Looking at the results I found discrepancies in the value of R2 and D' at some (not all) positions between LDBlockShow and bcftools prune annotation. Scores are shown for one marker with the previous one after annotation in bcftools prune.
I highlighted in blue the place that seemed weird to me :


It does kind of the same at the same locations with D'.
Could you explain me what happens there ? Is that supposed to occur ? I read that the computations are the same between LDBlockShow and other tools, which seems to be the case here but I wonder why there are such differences at those places.
PS : Also LDBlockShow does not show the blocks with a black outline compared to what's in the documentation.
Kind regards,
Knight
Dear all,
So I've tried using LDBlockShow on a QTL dataset to visualize the linkage blocks between biallelic SNPs.
I tested to observe the blocks before and after pruning to understand how the pruning took place and what it merged.
So I compared the R² and D' value obtained from bcftools +prune :
vcf_test.txt
vcf_test_annotated.txt
bcftools +prune -w 1 -a r2,LD vcf_test.vcf -O v -o vcf_test_annotated.vcfand from LDBlockShow :
LDBlockShow -InVCF vcf_test.vcf -OutPut test_noprun_2Mb -SeleVar 2 -Region Chr01:1:2000000ShowLDSVG -InPreFix test_noprun_2Mb -OutPut test_noprun_2Mb_Rsq -ShowNumLooking at the results I found discrepancies in the value of R2 and D' at some (not all) positions between LDBlockShow and bcftools prune annotation. Scores are shown for one marker with the previous one after annotation in bcftools prune.
I highlighted in blue the place that seemed weird to me :
It does kind of the same at the same locations with D'.
Could you explain me what happens there ? Is that supposed to occur ? I read that the computations are the same between LDBlockShow and other tools, which seems to be the case here but I wonder why there are such differences at those places.
PS : Also LDBlockShow does not show the blocks with a black outline compared to what's in the documentation.
Kind regards,
Knight