Hi Ryan,
I try your suggestion, but I still have the error like:
bash-3.2$ samtools mpileup -uf BRP.fas RMR1_sub_1000000_1_mit.sort.bam RMR1_sub_1000000_2_mit.sort.bam | bcftools view -cg - > RMR1_sub_1000000.raw.bcf
Error: Could not parse --min-ac g
[mpileup] 2 samples in 2 input files
<mpileup> Set max per-file depth to 4000
If I use the old version of the samtools and bcftools, it works and no error. What's the problem?
ZQ
Maybe SNP call using bcftools post is interesting for you?