featureCounts -s 2 -p -f -t exon --largestOverlap -a mygtffile.gtf -o counts.txt fwd.bam rev.bam
The manual says "If specified, reads (or fragments) will be assigned to the target that has the largest number of overlapping bases." so I was expecting that a read overlapping more than one exon would be assigned to the exon it overlaps most. My data has reads overlapping multiple exons, but while my counts are higher with --largestOverlap, a lot of the overlapping reads are not counted.
What is the intended behaviour? Do I need to set additional options to use it?
Thanks
Kira