Entering edit mode
rubi
▴
110
@rubi-6462
Last seen 6.4 years ago
Hi,
I have a bam file in which ~50% of the reads map ambiguously (since the library is from small RNAs). For each feature (e.g., gene) in my GTF file I'd like to add a count of 1 if a read from that bam file maps to that feature uniquely and 1/n if a read maps to n locations (that feature being one of them).
Is there any Bioconductor code that can achieve that?
Here are my Bioc2016 slides on using these quantifiers with Bioconductor software packages:
http://mikelove.github.io/bioc2016
In particular, see slide 4 for an idea how you can do better than assigning 1/n to all of the potential alignment locations.