Thanks swbarnes.I have few more questions.I am actually looking into filtering snp's.
1.-d and D, this filters snps on read depth.We would be more interested in reads supporting the non-ref allele(last two values of DP4).I don't get the use of total read depth.
2.I filtered the reads by choosing a MAPQ of 20 in samtools mpileup step.In that case, I am expecting a RMS MQ in VCF >=20.I have seen some papers filter SNP's again by RMS MQ <25.Any idea why this is done?
I feel that these questions are relevant to my previous question.I will be happy to start a new post with these questions.Any help is appreciated.