Entering edit mode
Does summarizeOverlaps work with stranded paired-end RNAseq data?
Will it assign fragments to the proper strand?
Best regards,
Vedran
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
As I understand it, if you set the arguments
ignore.strand = FALSE
andsingle.end = FALSE
, the two reads in a pair will be treated as coming from the same strand (presumably the strand of the first read), and you will get a hit if one or both ends overlap a feature.I have set ignore.strand=FALSE, single.end=FALSE, fragments=TRUE and in BamFileList, asMates=TRUE.
The problem is that when I create 2 mock transcripts that have same coordinates and differ only in the strand, I
get almost the same number of reads for both transcripts, even though the fragments come exclusively from one strand (which can be seen in the browser).
Can you show us an example?
When fragments=TRUE, the bam is read in with readGAlignmentsList(). You can explore this by reading in your data then calling the count mode on the reads and your annotation. See ?Union and the documentation for the 'inter.feature' arg.
Valerie