Hi all,
I use the mpileup command to create the pileup file with this command :
samtools mpileup -v -u -f file.fasta mybam.bam -l my bed.bed > myvcf.vcf
The problem is that When I visualize a region using IGV, the allele frequency percentage reported by IGV does not agree with that reported by the mpileup command (the QS values) in any given position. Has anyone else faced this problem? Is there a solution?
Thank you,
Thanks Shiyang for your reply. For samtools, I used --min-BQ 0 to disable filtering of low-quality bases. But no changes, it shows the same values as outputs. Please if you have any idea about other parameters or filters to consider for samtools? Your help is really appreciated.
So sorry that I haven't much experience on it. But I think this link may help you Depth Of Coverage Reported By Igv And Samtools Do Not Agree