I have a BAM file which looks like this in IGV:

Note the splicing
plotting the same with pileup.js looks like this:

What is interesting is if i click on a location, this is the readout:

Which means i suspect that when pileup.js encounters an "N" in the cigar string, it simply adds a count to the last item in the bin.
I can't readily see where to correct that, but ifyou could point me in the right direction, i'd be happy to take a stab at correcting
thoughts?
I have a BAM file which looks like this in IGV:
Note the splicing
plotting the same with pileup.js looks like this:
What is interesting is if i click on a location, this is the readout:
Which means i suspect that when pileup.js encounters an "N" in the cigar string, it simply adds a count to the last item in the bin.
I can't readily see where to correct that, but ifyou could point me in the right direction, i'd be happy to take a stab at correcting
thoughts?