I have noticed samtools/bcftools don't report homozygous mutations. Is it possible to make it report such cases?
ie.
chrX 273982 G 125 aAAAAAaaaaaAAaAAaaaaaaaAAAaAAaaaaAAaAaaAAaaAAAAaaAAAAAAAAaaAAaaaaAAAaaAAAAAAAAAaAAAaAAAAAAAAAAAAAAAAAAAAaaAAAAAAaAAAAaAAAaAaa FFFG=JFFFFFIJFJF<HHHHHHJDIHJJ2JJIJI:CJ?IGIHIJJIJJIJIJJJJJGJGIJJJJJJJJDJJJJJJICBJJJEJ2JJIJBJJJHJHFHHFHHGHIJHDDFFFEDDDADCCD?C8?
The command I use is:
samtools mpileup -C 50 -ugf $ref.fa $f.bam -r chrX:253982-293982 | bcftools view -bvcg - > $f.raw.bcf
bcftools view $f.raw.bcf | vcfutils.pl varFilter -D 600 > $f.flt.vcf
Samtools version: 0.1.18-dev (r982:313)
EDIT
Only setting -p 1 report homozygous mt I have been looking for (among 3251 false positives):
samtools mpileup -Bugf $ref.fa $f.bam -r chrX:253982-293982 | bcftools view -p 1.0 -vcgN - | grep "3982"
chrX 273982 . G A 0.00652 . DP=125;VDB=0.0615;AF1=0.5;CI95=1.5,0;DP4=0,0,82,43;MQ=44;FQ=-30 GT:PL:GQ 0/1:255,255,255:3
Is there any other, more efficient way of getting such cases?
EDIT2
Interestingly GATK 2.0 UnifiedGenotyper predicts homozygous SNPs nicely:
java -jar ~/src/GenomeAnalysisTK-2.1-13-g1706365/GenomeAnalysisTK.jar -T UnifiedGenotyper -R $ref.fa -I $s.rg.bam -o $s.rg.vcf -ploidy 1
chrX 273982 . G A 5393 . AC=1;AF=1.00;AN=1;DP=125;Dels=0.00;FS=0.000;HaplotypeScore=1.9663;MLEAC=1;MLEAF=1.00;MQ=44.00;MQ0=0;QD=43.14;SB=-1.820e+03 GT:AD:DP:GQ:MLPSAC:MLPSAF:PL 1:0,125:125:99:1:1.00:5393,0
In this context behaviour of samtools is difficult to explain. What is your opinion?
EDIT3
Still no idea, and get more samples with false negative homozygous SNPs ie.
CNBG_3826 1049 . T A 0.00652 . DP=284;VDB=0.0343;AF1=0.5;CI95=1.5,0;DP4=0,0,101,158;MQ=42;FQ=-30 GT:PL:GQ 0/1:255,255,255:3
I am interested in those false positivies, what are they? How do they originate? Thanks.