Hi, I have a quick question. I have noticed a discrepancy between the number of reads mapped to multiple loci as reported in the STAR Log.final.out file and the number of reads counted as alignment_not_unique by htseq-count.
I am guessing that perhaps STAR is counting a single read mapped to multiple locations as 1, whereas the primary and secondary alignments for the same read are being counted by HTSeq for each instance of multiple mapping. I just wanted to double check that this is probably the case. HTSeq counts multimapped reads using the NH:i:X tag.
For example in one run of STAR, I see
Number of reads mapped to multiple loci | 2234538
And in HTseq-count, I see:
alignment_not_unique 6481131
HTSeq-count and STAR both count the correct number of uniquely aligned reads, the discrepancy arises just with the multimapped reads.
Thanks!