Hi,I'm using GATK and samtools to call SNPs.
For GATK:
java -Xmx6g -jar GenomeAnalysisTK.jar -R example.fa -T UnifiedGenotper -I sampleSort.bam -o GATK.vcf -mbq 30 -glm BOTH
For samtools:
samtools mpileup -Q 13 -ugf example.fa sampleSort.bam | bcftools view -bvcg > sample.raw.bcf
bcftools view sample.raw.bcf | vcfutils.pl varFilter -d 10 -w 5 -D 100 > samtools.vcf
But I find there is less common SNP between GATK.vcf and samtools.vcf, about 50% or less. I don't know why ? Even though I have used a lot default value or other parameter , but the result between GATK and samtools is still out of my expectation.
How should I improve the concordance between GATK and Samtools ? Would you like to share your command with me or what should I pay attention to?
Thanks for your answer.
Thank you for your reply. I hava tried with the same base quality control and the both results are filtered by samtools's varFilter by same parameter before .The result seems better in low minimum base quality control(both 13 ),but worse in a high minimum base quality control (both 30 ).I think there are false positive in the result . I have tried standardized the cutoffs ,but result still out fo my expection.