Hello,
I have RNAseq data where I want to generate bigwigs with just the 3' end position of the data, which corresponds with the first base of my read 1 in a reverse-stranded library.
My initial bamCoverage command to generate these bigwigs was:
bamCoverage -b ${sample} -o $bigwig_directory/${base}_CPM_bs10_forw2.bw -of bigwig --filterRNAstrand forward --normalizeUsing CPM --Offset -1 --binSize 10
bamCoverage -b ${sample} -o $bigwig_directory/${base}_CPM_bs10_rev2.bw -of bigwig --filterRNAstrand reverse --normalizeUsing CPM --Offset -1 --binSize 10
Two questions have come out of this:
1) I believe I am mistaken and should have actually set offset to 1 to get the first basepair of read 1, is that correct?
2) More confusingly, it appears that this command is resulting in peaks in my bigwig file corresponding to both the end of read 1 as well as the end of read 2.
For example, here I have read 1s ending in one bin, and read 2s ending in a separate, adjacent bin. I'd expect only one of the two bins to have signal when I convert to bigwig using the command above.

However, the corresponding bigwig file has signal both from 700-710 and from 710-720, whereas I'd expect only 1 of those 2 bins of 10 to have signal if my binsize=10 and my reads were only being mapped to the end of one strand? I have seen other examples of this for many genes, always the same pattern, and not only for cases where read ends are adjacent to each other.

Perhaps I am missing something obvious, but could someone please explain where the discrepancy is coming from? Devon Ryan
deeptools