Hello,
I am running the command:
igvtools count -w 1 --bases --query chr1:1326-1338 --minMapQuality 30 input.bam output.wig ref.fa
I get the correct number of A,C,G,T,N base counts as seen in IGV. However, I also need the number of insertions and deletions. They are shown in the GUI version, but I am unsure after looking at the documentation for igvtools count how to have it return these two values. I'm sure it's something simple I'm missing.
Any help you can provide would be appreciated.
Thanks!
I've tried pysamstats and it gives the incorrect (according to IGV) number of insertions and deletions. Oddly though it gives the same insertions and deletions that my perl script, which I wrote after I tried pileup2indel and pysamstats and before I ran across igvtools, calculates.
I tried to talk to the creator of pysamstats, but unfortunately I couldn't share my data with him or come up with something similar enough that he could help.
I've also looked at mpileup, but it will not do everything I want it to do, or at least that is my understanding after talking with someone much more knowledgeable in my lab.
Thanks for the reply though!