Hi,
I've spent the last two days reading material on samstools, but I can't seem to figure out a way to get the calls (% of each base) at each base position. When I use mpileup I am able to get the position, reference base, and the number of times a read covers that position, but not %base calls at each position. The only way I can figure to do this would be to write a perl script for the sam file, which has all the read sequences and their positions and use this information to figure the percentage on my own. Before I get started doing this, I wanted to be sure I wasn't missing a method/option in samstools that would make my live easier.
Thanks!
samtools
read
coverage