Hi Istvan,
I tried the following command but it does not seem to work.
samtools mpileup -d 1000000 -L 1000000 -uf ref.fasta Sample.sorted.bam | bcftools view -vcg -i 'MAF[*] >= 0.5' - > Sample.SAMtools_VF50.vcf
This should give me the variants present at > 50 % frequency but all variants are reported even those which are less than 50%.
Can you please give me an example of the bcf filter command which you mentioned?