Hi Guys,
I have a SAM file containing my alignment. What I would like to have is a table containing all positions on my chromosome with information about how many reads contain a certain base. The table below might be better to understand what I mean:
CHR | Position | Number of reads that contain an A | Number of reads that contain a T | Number of reads that contain a C | Number of reads that contain a G.
Do you know any tool that would summarise this for me? I have tried it with mpileup but it can't do it.
Many thanks in advance!
The newest versions of samtools have retired pileup so that function doesn't exist any more (which has caused me to need to update a lot of my variant calling pipelines).
Perhaps this is part of the problem for the user?